Enums¶
GstRtspServer.RTSPAddressPoolResultGstRtspServer.RTSPFilterResultGstRtspServer.RTSPMediaStatusGstRtspServer.RTSPPublishClockModeGstRtspServer.RTSPSuspendModeGstRtspServer.RTSPThreadType
Details¶
-
class
GstRtspServer.RTSPAddressPoolResult(value)¶ Bases:
GLib.EnumResult codes from RTSP address pool functions.
-
EINVAL= -1¶ invalid arguments were provided to a function
-
ERESERVED= -2¶ the addres has already been reserved
-
ERANGE= -3¶ the address is not in the pool
-
ELAST= -4¶ last error
-
OK= 0¶ no error
-
-
class
GstRtspServer.RTSPFilterResult(value)¶ Bases:
GLib.EnumPossible return values for
GstRtspServer.RTSPSessionPool.filter().-
REMOVE= 0¶ Remove session
-
KEEP= 1¶ Keep session in the pool
-
REF= 2¶ Ref session in the result list
-
-
class
GstRtspServer.RTSPMediaStatus(value)¶ Bases:
GLib.EnumThe state of the media pipeline.
-
UNPREPARED= 0¶ media pipeline not prerolled
-
UNPREPARING= 1¶ media pipeline is busy doing a clean shutdown.
-
PREPARING= 2¶ media pipeline is prerolling
-
PREPARED= 3¶ media pipeline is prerolled
-
SUSPENDED= 4¶ media is suspended
-
ERROR= 5¶ media pipeline is in error
-
-
class
GstRtspServer.RTSPPublishClockMode(value)¶ Bases:
GObject.GEnumWhether the clock and possibly RTP/clock offset should be published according to RFC7273.
-
NONE= 0¶ Publish nothing
-
CLOCK= 1¶ Publish the clock but not the offset
-
CLOCK_AND_OFFSET= 2¶ Publish the clock and offset
-
-
class
GstRtspServer.RTSPSuspendMode(value)¶ Bases:
GObject.GEnumThe suspend mode of the media pipeline. A media pipeline is suspended right after creating the SDP and when the client performs a PAUSED
GstRtsp.request.-
NONE= 0¶ Media is not suspended
-
PAUSE= 1¶ Media is PAUSED in suspend
-