GstRtspServer.RTSPMediaFactoryURI

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new ()

get_uri ()

set_uri (uri)

Virtual Methods

Inherited:

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

Properties

Inherited:

GstRtspServer.RTSPMediaFactory (17)

Name

Type

Flags

Short Description

uri

str

r/w

The URI of the resource to stream

use-gstpay

bool

r/w

Use the gstpay payloader to avoid decoding

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.RTSPMediaFactoryURI(**kwargs)
Bases:

GstRtspServer.RTSPMediaFactory

Abstract:

No

Structure:

GstRtspServer.RTSPMediaFactoryURIClass

A media factory that creates a pipeline to play any uri.

classmethod new()[source]
Returns:

a new GstRtspServer.RTSPMediaFactoryURI object.

Return type:

GstRtspServer.RTSPMediaFactoryURI

Create a new GstRtspServer.RTSPMediaFactoryURI instance.

get_uri()[source]
Returns:

the configured URI. GLib.free() after usage.

Return type:

str

Get the URI that will provide media for this factory.

set_uri(uri)[source]
Parameters:

uri (str) – the uri the stream

Set the URI of the resource that will be streamed by this factory.

Property Details

GstRtspServer.RTSPMediaFactoryURI.props.uri
Name:

uri

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The URI of the resource to stream

GstRtspServer.RTSPMediaFactoryURI.props.use_gstpay
Name:

use-gstpay

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Use the gstpay payloader to avoid decoding