pub trait RTSPMediaFactoryExtManual: Sealed + IsA<RTSPMediaFactory> + 'static {
// Provided method
fn add_role_from_structure(&self, structure: &StructureRef) { ... }
}
Provided Methods§
sourcefn add_role_from_structure(&self, structure: &StructureRef)
fn add_role_from_structure(&self, structure: &StructureRef)
A convenience wrapper around gst_rtsp_permissions_add_role_from_structure()
.
If self
had no permissions, new permissions will be created and the
role will be added to it.
Object Safety§
This trait is not object safe.