C# Класс TvLibrary.Implementations.DVB.Structures.PidInfo

Structure holding all information about a single pid
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ES_info_length int
isAC3Audio bool
isAudio bool
isDVBSubtitle bool
isEAC3Audio bool
isTeletext bool
isVideo bool
language string
pid int
reserved_1 int
reserved_2 int
stream_type int
teletextLANG string

Открытые методы

Метод Описание
Ac3Pid ( int ac3Pid, string audioLanguage ) : void

Ctor for an ac3 pid

AddDescriptorData ( byte data ) : void

Set the content of the descriptor for this PID

AudioPid ( int audioPid, string audioLanguage ) : void

Ctor for an audio pid

GetDescriptorData ( ) : byte[]

Returns the descriptor data

HasDescriptorData ( ) : bool

Checks if the descriptor data has been set

SubtitlePid ( int subtitlePid ) : void

ctor for a subtitle pid

TeletextPid ( int teletextPid ) : void

ctor for a teletext pid

ToString ( ) : string

Returns the fully qualified type name of this instance.

VideoPid ( int videoPid, int streamType ) : void

Ctor for an video pid

Описание методов

Ac3Pid() публичный Метод

Ctor for an ac3 pid
public Ac3Pid ( int ac3Pid, string audioLanguage ) : void
ac3Pid int The ac3 pid.
audioLanguage string The audio language.
Результат void

AddDescriptorData() публичный Метод

Set the content of the descriptor for this PID
public AddDescriptorData ( byte data ) : void
data byte
Результат void

AudioPid() публичный Метод

Ctor for an audio pid
public AudioPid ( int audioPid, string audioLanguage ) : void
audioPid int The audio pid.
audioLanguage string The audio language.
Результат void

GetDescriptorData() публичный Метод

Returns the descriptor data
public GetDescriptorData ( ) : byte[]
Результат byte[]

HasDescriptorData() публичный Метод

Checks if the descriptor data has been set
public HasDescriptorData ( ) : bool
Результат bool

SubtitlePid() публичный Метод

ctor for a subtitle pid
public SubtitlePid ( int subtitlePid ) : void
subtitlePid int The subtitle pid.
Результат void

TeletextPid() публичный Метод

ctor for a teletext pid
public TeletextPid ( int teletextPid ) : void
teletextPid int The teletext pid.
Результат void

ToString() публичный Метод

Returns the fully qualified type name of this instance.
public ToString ( ) : string
Результат string

VideoPid() публичный Метод

Ctor for an video pid
public VideoPid ( int videoPid, int streamType ) : void
videoPid int The video pid.
streamType int the stream Type.
Результат void

Описание свойств

ES_info_length публичное свойство

es info length
public int ES_info_length
Результат int

isAC3Audio публичное свойство

true if pid contains ac3 audio
public bool isAC3Audio
Результат bool

isAudio публичное свойство

true if pid contains mpeg1/2 or aac audio
public bool isAudio
Результат bool

isDVBSubtitle публичное свойство

true if pid contains dvb subtitles
public bool isDVBSubtitle
Результат bool

isEAC3Audio публичное свойство

true if pid contains e_ac3 audio
public bool isEAC3Audio
Результат bool

isTeletext публичное свойство

true if pid contains teletext
public bool isTeletext
Результат bool

isVideo публичное свойство

true if pid contains video
public bool isVideo
Результат bool

language публичное свойство

audio language
public string language
Результат string

pid публичное свойство

pid
public int pid
Результат int

reserved_1 публичное свойство

reserved
public int reserved_1
Результат int

reserved_2 публичное свойство

reserved
public int reserved_2
Результат int

stream_type публичное свойство

stream type
public int stream_type
Результат int

teletextLANG публичное свойство

teletext language
public string teletextLANG
Результат string