GstRtspServer.RTSPOnvifMediaFactory¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GstRtspServer.RTSPOnvifMediaFactory(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.14.
- classmethod new()[source]¶
- Returns:
- Return type:
Create a new
GstRtspServer.RTSPOnvifMediaFactory
New in version 1.14.
- classmethod requires_backchannel(factory, ctx)[source]¶
- Parameters:
factory (
GstRtspServer.RTSPMediaFactory
) – aGstRtspServer.RTSPMediaFactory
ctx (
GstRtspServer.RTSPContext
) –
- Returns:
True
if the clientGstRtsp.request
requires backchannel.- Return type:
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:
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:
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.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.
- set_backchannel_launch(launch)[source]¶
-
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.