Gjsify LogoGjsify Logo

These are the base descriptor types and methods.

For more details, refer to the ITU H.222.0 or ISO/IEC 13818-1 specifications and other specifications mentioned in the documentation.

record

Hierarchy

  • Descriptor

Index

Constructors

Properties

data: number

the full descriptor data (including tag, extension, length). The first two bytes are the tag and length.

field
length: number

the length of the descriptor content (excluding tag/length field)

field
tag: number

the type of descriptor

field
tag_extension: number

the extended type (if descriptor_tag is 0x7f)

field
name: string

Methods

  • free(): void
  • parse_ca(): [boolean, number, number, Uint8Array]
  • parse_dvb_bouquet_name(): [boolean, string]
  • parse_dvb_ca_identifier(): [boolean, number[]]
  • parse_dvb_data_broadcast_id(): [boolean, number, Uint8Array]
  • parse_dvb_frequency_list(): [boolean, boolean, number[]]
  • parse_dvb_network_name(): [boolean, string]
  • parse_dvb_private_data_specifier(): [boolean, number, Uint8Array]
  • parse_dvb_short_event(): [boolean, string, string, string]
  • parse_dvb_stream_identifier(): [boolean, number]
  • parse_dvb_stuffing(): [boolean, number]
  • parse_dvb_subtitling_idx(idx: number): [boolean, string, number, number, number]
  • Extracts the DVB subtitling informatio from specific table id in descriptor.

    Note: Use #gst_tag_get_language_code if you want to get the the ISO 639-1 language code from the returned ISO 639-2 one.

    Parameters

    • idx: number

      Table id of the entry to parse

    Returns [boolean, string, number, number, number]

  • parse_dvb_subtitling_nb(): number
  • parse_dvb_teletext_idx(idx: number): [boolean, string, DVBTeletextType, number, number]
  • parse_dvb_teletext_nb(): number
  • parse_iso_639_language_idx(idx: number): [boolean, string, Iso639AudioType]
  • Extracts the iso 639-2 language information from specific table id in descriptor.

    Note: Use #gst_tag_get_language_code if you want to get the the ISO 639-1 language code from the returned ISO 639-2 one.

    Parameters

    • idx: number

      Table id of the language to parse

    Returns [boolean, string, Iso639AudioType]

  • parse_iso_639_language_nb(): number
  • parse_registration(): [boolean, number, Uint8Array]
  • from_custom_with_extension(tag: number, tag_extension: number, data: Uint8Array): GstMpegts.Descriptor
  • Creates a #GstMpegtsDescriptor with custom tag, tag_extension and data

    Parameters

    • tag: number

      descriptor tag

    • tag_extension: number

      descriptor tag extension

    • data: Uint8Array

      descriptor data (after tag and length field)

    Returns GstMpegts.Descriptor

  • Creates a #GstMpegtsDescriptor to be a %GST_MTS_DESC_DVB_NETWORK_NAME, with the network name name. The data field of the #GstMpegtsDescriptor will be allocated, and transferred to the caller.

    Parameters

    • name: string

      the network name to set

    Returns GstMpegts.Descriptor

  • Fills a #GstMpegtsDescriptor to be a %GST_MTS_DESC_DVB_SERVICE. The data field of the #GstMpegtsDescriptor will be allocated, and transferred to the caller.

    Parameters

    • service_type: DVBServiceType

      Service type defined as a #GstMpegtsDVBServiceType

    • service_name: string

      Name of the service

    • service_provider: string

      Name of the service provider

    Returns GstMpegts.Descriptor

  • from_dvb_subtitling(lang: string, type: number, composition: number, ancillary: number): GstMpegts.Descriptor
  • from_registration(format_identifier: string, additional_info: Uint8Array): GstMpegts.Descriptor
  • Creates a %GST_MTS_DESC_REGISTRATION #GstMpegtsDescriptor

    Parameters

    • format_identifier: string

      a 4 character format identifier string

    • additional_info: Uint8Array

      pointer to optional additional info

    Returns GstMpegts.Descriptor

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method