Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Functions

Functions

  • descriptor_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

  • descriptor_from_dvb_subtitling(lang: string, type: number, composition: number, ancillary: number): GstMpegts.Descriptor
  • 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

  • Finds the first descriptor of type tag in the array.

    Note: To look for descriptors that can be present more than once in an array of descriptors, iterate the #GArray manually.

    Parameters

    • descriptors: GstMpegts.Descriptor[]

      an array of #GstMpegtsDescriptor

    • tag: number

      the tag to look for

    Returns GstMpegts.Descriptor

  • Finds the first descriptor of type tag with tag_extension in the array.

    Note: To look for descriptors that can be present more than once in an array of descriptors, iterate the #GArray manually.

    Parameters

    • descriptors: GstMpegts.Descriptor[]

      an array of #GstMpegtsDescriptor

    • tag: number

      the tag to look for

    • tag_extension: number

    Returns GstMpegts.Descriptor

  • initialize(): void
  • Parses the descriptors present in buffer and returns them as an array.

    Note: The data provided in buffer will not be copied.

    Parameters

    • buffer: number

      descriptors to parse

    • buf_len: number

      Size of buffer

    Returns GstMpegts.Descriptor[]

  • scte_cancel_new(event_id: number): SCTESIT
  • Allocates and initializes a new INSERT command #GstMpegtsSCTESIT setup to cancel the specified event_id.

    Parameters

    • event_id: number

      The event ID to cancel.

    Returns SCTESIT

  • scte_splice_in_new(event_id: number, splice_time: number): SCTESIT
  • Allocates and initializes a new "Splice In" INSERT command #GstMpegtsSCTESIT for the given event_id and splice_time.

    If the splice_time is #G_MAXUINT64 then the event will be immediate as opposed to for the target splice_time.

    Parameters

    • event_id: number

      The event ID.

    • splice_time: number

      The running time for the splice event

    Returns SCTESIT

  • scte_splice_out_new(event_id: number, splice_time: number, duration: number): SCTESIT
  • Allocates and initializes a new "Splice Out" INSERT command #GstMpegtsSCTESIT for the given event_id, splice_time and duration.

    If the splice_time is #G_MAXUINT64 then the event will be immediate as opposed to for the target splice_time.

    If the duration is 0 it won't be specified in the event.

    Parameters

    • event_id: number

      The event ID.

    • splice_time: number

      The running time for the splice event

    • duration: number

      The optional duration.

    Returns SCTESIT

  • Creates a #GstMpegtsSection from pmt that is bound to pid

    Parameters

    • pmt: PMT

      a #GstMpegtsPMT to create a #GstMpegtsSection from

    • pid: number

      The PID that the #GstMpegtsPMT belongs to

    Returns Section

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