GstRtspServer.RTSPOnvifMediaFactory

g GObject.Object GObject.Object GstRtspServer.RTSPMediaFactory GstRtspServer.RTSPMediaFactory GObject.Object->GstRtspServer.RTSPMediaFactory GstRtspServer.RTSPOnvifMediaFactory GstRtspServer.RTSPOnvifMediaFactory GstRtspServer.RTSPMediaFactory->GstRtspServer.RTSPOnvifMediaFactory

Subclasses:

None

Methods

Inherited:

GstRtspServer.RTSPMediaFactory (48), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

requires_backchannel (factory, ctx)

get_backchannel_bandwidth ()

get_backchannel_launch ()

has_backchannel_support ()

has_replay_support ()

set_backchannel_bandwidth (bandwidth)

set_backchannel_launch (launch)

set_replay_support (has_replay_support)

Virtual Methods

Inherited:

GstRtspServer.RTSPMediaFactory (6), GObject.Object (7)

do_has_backchannel_support ()

Properties

Inherited:

GstRtspServer.RTSPMediaFactory (15)

Signals

Inherited:

GstRtspServer.RTSPMediaFactory (2), GObject.Object (1)

Fields

Inherited:

GstRtspServer.RTSPMediaFactory (2), GObject.Object (1)

Name

Type

Access

Description

parent

GstRtspServer.RTSPMediaFactory

r

Class Details

class GstRtspServer.RTSPOnvifMediaFactory(**kwargs)
Bases:

GstRtspServer.RTSPMediaFactory

Abstract:

No

Structure:

GstRtspServer.RTSPOnvifMediaFactoryClass

New in version 1.14.

classmethod new()[source]
Returns:

A new GstRtspServer.RTSPOnvifMediaFactory

Return type:

GstRtspServer.RTSPMediaFactory

Create a new GstRtspServer.RTSPOnvifMediaFactory

New in version 1.14.

classmethod requires_backchannel(factory, ctx)[source]
Parameters:
Returns:

True if the client GstRtsp.request requires backchannel.

Return type:

bool

Checks whether the client GstRtsp.request requires backchannel.

New in version 1.14.

get_backchannel_bandwidth()[source]
Returns:

the configured/supported backchannel bandwidth.

Return type:

int

Get the configured/supported bandwidth of the ONVIF backchannel pipeline in bits per second.

New in version 1.14.

get_backchannel_launch()[source]
Returns:

the configured backchannel launch description. GLib.free() after usage.

Return type:

str or None

Get the Gst.parse_launch() pipeline description that will be used in the default prepare vmethod for generating the ONVIF backchannel pipeline.

New in version 1.14.

has_backchannel_support()[source]
Returns:

True if an ONVIF backchannel is supported by the media factory.

Return type:

bool

Returns True if an ONVIF backchannel is supported by the media factory.

New in version 1.14.

has_replay_support()[source]
Returns:

True if ONVIF replay is supported by the media factory.

Return type:

bool

New in version 1.18.

set_backchannel_bandwidth(bandwidth)[source]
Parameters:

bandwidth (int) – the bandwidth in bits per second

Set the configured/supported bandwidth of the ONVIF backchannel pipeline in bits per second.

New in version 1.14.

set_backchannel_launch(launch)[source]
Parameters:

launch (str or None) – the launch description

The Gst.parse_launch() line to use for constructing the ONVIF backchannel pipeline in the default prepare vmethod if requested by the client.

The pipeline description should return a Gst.Bin as the toplevel element which can be accomplished by enclosing the description with brackets ‘(’ ‘)’.

The description should return a pipeline with a single depayloader named depay_backchannel. A caps query on the depayloader’s sinkpad should return all possible, complete RTP caps that are going to be supported. At least the payload type, clock-rate and encoding-name need to be specified.

Note: The pipeline part passed here must end in sinks that are not waiting until pre-rolling before reaching the PAUSED state, i.e. setting async=false on GstBase.BaseSink. Otherwise the whole media will not be able to prepare.

New in version 1.14.

set_replay_support(has_replay_support)[source]
Parameters:

has_replay_support (bool) –

Set to True if ONVIF replay is supported by the media factory.

New in version 1.18.

do_has_backchannel_support() virtual
Returns:

True if an ONVIF backchannel is supported by the media factory.

Return type:

bool

Returns True if an ONVIF backchannel is supported by the media factory.

New in version 1.14.