RTSPMedia
Class
constructor
parent
Class
name
convert
Range
handle
Message
handle
Sdp
new
State
new
Stream
prepare
prepared
query
Position
query
Stop
removed
Stream
setup
Rtpbin
setup
Sdp
suspend
target
State
unprepare
unprepared
unsuspend
NODE-GTK API Reference
GstRtspServer-1.0
GstRtspServer
RTSPMediaClass
Class RTSPMediaClass
The RTSP media class
record
Hierarchy
RTSPMediaClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
convert
Range
handle
Message
handle
Sdp
new
State
new
Stream
prepare
prepared
query
Position
query
Stop
removed
Stream
setup
Rtpbin
setup
Sdp
suspend
target
State
unprepare
unprepared
unsuspend
Constructors
constructor
new RTSPMedia
Class
(
)
:
RTSPMediaClass
Returns
RTSPMediaClass
Properties
parent
Class
parent
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
convert
Range
convert
Range
(
media
:
RTSPMedia
, range
:
RTSPTimeRange
, unit
:
RTSPRangeUnit
)
:
boolean
Parameters
media:
RTSPMedia
range:
RTSPTimeRange
unit:
RTSPRangeUnit
Returns
boolean
handle
Message
handle
Message
(
media
:
RTSPMedia
, message
:
Gst
.
Message
)
:
boolean
Parameters
media:
RTSPMedia
message:
Gst
.
Message
Returns
boolean
handle
Sdp
handle
Sdp
(
media
:
RTSPMedia
, sdp
:
SDPMessage
)
:
boolean
Parameters
media:
RTSPMedia
sdp:
SDPMessage
Returns
boolean
new
State
new
State
(
media
:
RTSPMedia
, state
:
Gst
.
State
)
:
void
Parameters
media:
RTSPMedia
state:
Gst
.
State
Returns
void
new
Stream
new
Stream
(
media
:
RTSPMedia
, stream
:
RTSPStream
)
:
void
Parameters
media:
RTSPMedia
stream:
RTSPStream
Returns
void
prepare
prepare
(
media
:
RTSPMedia
, thread
:
RTSPThread
)
:
boolean
Parameters
media:
RTSPMedia
thread:
RTSPThread
Returns
boolean
prepared
prepared
(
media
:
RTSPMedia
)
:
void
Parameters
media:
RTSPMedia
Returns
void
query
Position
query
Position
(
media
:
RTSPMedia
, position
:
number
)
:
boolean
Parameters
media:
RTSPMedia
position:
number
Returns
boolean
query
Stop
query
Stop
(
media
:
RTSPMedia
, stop
:
number
)
:
boolean
Parameters
media:
RTSPMedia
stop:
number
Returns
boolean
removed
Stream
removed
Stream
(
media
:
RTSPMedia
, stream
:
RTSPStream
)
:
void
Parameters
media:
RTSPMedia
stream:
RTSPStream
Returns
void
setup
Rtpbin
setup
Rtpbin
(
media
:
RTSPMedia
, rtpbin
:
Gst
.
Element
)
:
boolean
Parameters
media:
RTSPMedia
rtpbin:
Gst
.
Element
Returns
boolean
setup
Sdp
setup
Sdp
(
media
:
RTSPMedia
, sdp
:
SDPMessage
, info
:
SDPInfo
)
:
boolean
Parameters
media:
RTSPMedia
sdp:
SDPMessage
info:
SDPInfo
Returns
boolean
suspend
suspend
(
media
:
RTSPMedia
)
:
boolean
Parameters
media:
RTSPMedia
Returns
boolean
target
State
target
State
(
media
:
RTSPMedia
, state
:
Gst
.
State
)
:
void
Parameters
media:
RTSPMedia
state:
Gst
.
State
Returns
void
unprepare
unprepare
(
media
:
RTSPMedia
)
:
boolean
Parameters
media:
RTSPMedia
Returns
boolean
unprepared
unprepared
(
media
:
RTSPMedia
)
:
void
Parameters
media:
RTSPMedia
Returns
void
unsuspend
unsuspend
(
media
:
RTSPMedia
)
:
boolean
Parameters
media:
RTSPMedia
Returns
boolean
RTSPMedia
Class
constructor
parent
Class
name
convert
Range
handle
Message
handle
Sdp
new
State
new
Stream
prepare
prepared
query
Position
query
Stop
removed
Stream
setup
Rtpbin
setup
Sdp
suspend
target
State
unprepare
unprepared
unsuspend
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RSdHNwU2VydmVyXzFfMC5Hc3RSdHNwU2VydmVyLlJUU1BNZWRpYUNsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29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