Gjsify LogoGjsify Logo

Provides helper functions to deal with RTSP transport strings.

record

Hierarchy

  • RTSPTransport

Index

Constructors

Properties

append: boolean

is append mode was selected

field
clientPort: RTSPRange

the client port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the client.

field
destination: string

the destination ip/hostname

field
interleaved: RTSPRange

the interleave range

field
layers: number

the number of layers

field
lowerTransport: RTSPLowerTrans

the lower transport

field
modePlay: boolean

if play mode was selected

field
modeRecord: boolean

if record mode was selected

field
port: RTSPRange

the port pair for multicast sessions

field
profile: RTSPProfile

the tansport profile

field
serverPort: RTSPRange

the server port pair for receiving data. For TCP based transports, applications can use this field to store the sender and receiver ports of the server.

field
source: string

the source ip/hostname

field
ssrc: number

the ssrc that the sender/receiver will use

field

the transport mode

field
ttl: number

the time to live for multicast UDP

field
name: string

Methods

  • asText(): string
  • Convert transport into a string that can be used to signal the transport in an RTSP SETUP response.

    Returns string

  • Get the media type of transport. This media type is typically used to generate #GstCaps events.

    Returns [RTSPResult, string]

  • Get the #GstElement that can handle the buffers transported over trans.

    It is possible that there are several managers available, use option to selected one.

    manager will contain an element name or %NULL when no manager is needed/available for trans.

    Parameters

    • trans: RTSPTransMode

      a #GstRTSPTransMode

    • option: number

      option index.

    Returns [RTSPResult, string]

  • Get the mime type of the transport mode trans. This mime type is typically used to generate #GstCaps events.

    Parameters

    • trans: RTSPTransMode

      a #GstRTSPTransMode

    • mime: string

      location to hold the result

    Returns RTSPResult

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