GstRtspServer.RTSPOnvifMedia

g GObject.Object GObject.Object GstRtspServer.RTSPMedia GstRtspServer.RTSPMedia GObject.Object->GstRtspServer.RTSPMedia GstRtspServer.RTSPOnvifMedia GstRtspServer.RTSPOnvifMedia GstRtspServer.RTSPMedia->GstRtspServer.RTSPOnvifMedia

Subclasses:

None

Methods

Inherited:

GstRtspServer.RTSPMedia (79), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

collect_backchannel ()

get_backchannel_bandwidth ()

set_backchannel_bandwidth (bandwidth)

Virtual Methods

Inherited:

GstRtspServer.RTSPMedia (17), GObject.Object (7)

Properties

Inherited:

GstRtspServer.RTSPMedia (18)

Signals

Inherited:

GstRtspServer.RTSPMedia (7), GObject.Object (1)

Fields

Inherited:

GstRtspServer.RTSPMedia (7), GObject.Object (1)

Name

Type

Access

Description

parent

GstRtspServer.RTSPMedia

r

Class Details

class GstRtspServer.RTSPOnvifMedia(**kwargs)
Bases:

GstRtspServer.RTSPMedia

Abstract:

No

Structure:

GstRtspServer.RTSPOnvifMediaClass

New in version 1.14.

collect_backchannel()[source]
Returns:

True if a backchannel stream could be found and created

Return type:

bool

Find the ONVIF backchannel depayloader element. It should be named ‘depay_backchannel’, be placed in a bin called ‘onvif-backchannel’ and return all supported RTP caps on a caps query. Complete RTP caps with at least the payload type, clock-rate and encoding-name are required.

A new GstRtspServer.RTSPStream is created for the backchannel if found.

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.

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.