GstRtspServer.RTSPMediaFactoryClass

Fields

Name

Type

Access

Description

configure

object

r

configure the media created with construct. The default implementation will configure the ‘shared’ property of the media.

construct

object

r

the vmethod that will be called when the factory has to create the GstRtspServer.RTSPMedia for url. The default implementation of this function calls create_element to retrieve an element and then looks for pay\%d to create the streams.

create_element

object

r

Construct and return a Gst.Element that is a Gst.Bin containing the elements to use for streaming the media. The bin should contain payloaders pay\%d for each stream. The default implementation of this function returns the bin created from the launch parameter.

create_pipeline

object

r

create a new pipeline or re-use an existing one and add the GstRtspServer.RTSPMedia's element created by construct to the pipeline.

gen_key

object

r

convert url to a key for caching shared GstRtspServer.RTSPMedia objects. The default implementation of this function will use the complete URL including the query parameters to return a key.

media_configure

object

r

signal emitted when a media should be configured

media_constructed

object

r

signal emitted when a media was constructed

parent_class

GObject.ObjectClass

r

Methods

None

Details

class GstRtspServer.RTSPMediaFactoryClass

The GstRtspServer.RTSPMediaFactory class structure.