pub trait RTSPSessionMediaExt:
IsA<RTSPSessionMedia>
+ Sealed
+ 'static {
// Provided methods
fn base_time(&self) -> Option<ClockTime> { ... }
fn media(&self) -> Option<RTSPMedia> { ... }
fn rtpinfo(&self) -> Option<GString> { ... }
fn transport(&self, idx: u32) -> Option<RTSPStreamTransport> { ... }
fn transports(&self) -> Vec<RTSPStreamTransport> { ... }
fn matches(&self, path: &str) -> Option<i32> { ... }
fn set_state(&self, state: State) -> Result<(), BoolError> { ... }
}
Expand description
Provided Methods§
sourcefn transport(&self, idx: u32) -> Option<RTSPStreamTransport>
fn transport(&self, idx: u32) -> Option<RTSPStreamTransport>
Get a previously created RTSPStreamTransport
for the stream at idx
.
§idx
the stream index
§Returns
a RTSPStreamTransport
that is
valid until the session of self
is unreffed.
sourcefn transports(&self) -> Vec<RTSPStreamTransport>
fn transports(&self) -> Vec<RTSPStreamTransport>
Get a list of all available RTSPStreamTransport
in this session.
§Returns
a
list of RTSPStreamTransport
, g_ptr_array_unref () after usage.
Object Safety§
This trait is not object safe.