Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

CODEC_FORMAT: string

A format that can be used in printf like format strings to format a FsCodec

CODEC_ID_ANY: number

If the id of a #FsCodec is #FS_CODEC_ID_ANY, then it will be replaced with a dynamic payload type at runtime

CODEC_ID_DISABLE: number

If the id of a #FsCodec is #FS_CODEC_ID_DISABLE, then this codec will not be used

RTP_HEADER_EXTENSION_FORMAT: string

A format that can be used in printf like format strings to format a FsRtpHeaderExtension

Functions

  • Reads the content of a #GKeyFile of the following format into a #GList of #FsCodec structures.

    Example: |[ [audio/codec1] clock-rate=8000

    [audio/codec1:1] clock-rate=16000

    [audio/codec2] one_param=QCIF another_param=WOW

    [video/codec3] wierd_param=42 feedback:nack/pli=1 feedback:tfrc=


    @param filename Name of the #GKeyFile to read the codecs parameters from

    Parameters

    • filename: string

    Returns Farstream.Codec[]

  • Reads the content of a #GKeyFile of the following format into a #GList of #FsRtpHeaderExtension structures.

    The groups have a format "rtp-hdrext:audio:XXX" or "rtp-hdrext:video:XXX" where XXX is a unique string (per media type).

    The valid keys are: id: a int between in the 1-255 and 4096-4351 ranges uri: a URI describing the RTP Header Extension direction (optional): To only send or receive a RTP Header Extension, possible values are "send", "receive", "none" or "both". Defaults to "both"

    Example: |[ [rtp-hdrext:audio:a] id=1 uri=urn:ietf:params:rtp-hdrext:toffset

    [rtp-hdrext:audio:abc] id=3 uri=urn:ietf:params:rtp-hdrext:ntp-64 direction=receive


    @param filename Name of the #GKeyFile to read the RTP Header Extensions from
    @param mediaType The media type for which to get header extensions

    Parameters

    Returns RtpHeaderExtension[]

  • These default codec preferences should work with the elements that are available in the main GStreamer element repositories. They should be suitable for standards based protocols like SIP or XMPP.

    Parameters

    • element: Gst.Element

      Element for which to fetch default codec preferences

    Returns Farstream.Codec[]

  • These default rtp header extension preferences should work with the elements that are available in the main GStreamer element repositories. They should be suitable for standards based protocols like SIP or XMPP.

    Parameters

    • element: Gst.Element

      Element for which to fetch default RTP Header Extension preferences

    • mediaType: Farstream.MediaType

      The #FsMediaType for which to get default RTP Header Extension preferences

    Returns Farstream.Codec[]

  • utilsSetBitrate(element: Gst.Element, bitrate: number): void
  • This allows setting the bitrate on all elements that have a "bitrate" property without having to know the type or of the unit used by that element.

    This will be obsolete in 0.11 (when all elements use bit/sec for the "bitrate" property.

    Parameters

    • element: Gst.Element

      The #GstElement

    • bitrate: number

      The bitrate in bits/sec

    Returns void

  • This is for the bindings benefit. Works around the limitations of GObject introspection.

    Parameters

    • value: any

      a #GValue of type #FS_TYPE_CANDIDATE_LIST

    • candidates: Farstream.Candidate[]

      A #GList of #FsCandidate

    Returns void

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