using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using skyscraper5.Mpeg2;
using skyscraper5.Skyscraper.Plugins;

namespace skyscraper5.Mhp.Descriptors
{
    /// <summary>
    /// Didn't find the spec for this one, found an implementation in "sedec-2.0-java"
    /// </summary>
    [TsDescriptor(0x72,"AIT")]
    [SkyscraperPlugin]
	class ConnectionRequirementDescriptor : TsDescriptor
    {
        public ConnectionRequirementDescriptor(byte[] buffer)
        {
            IpConnectionRequired = (buffer[0] & 0x01) != 0;
            Valid = true;
        }

        public bool IpConnectionRequired { get; private set; }
    }
}
