Struct gstreamer_sdp::SDPMessage [−]
pub struct SDPMessage(_);
Methods
impl SDPMessage
[src]
impl SDPMessage
pub fn new() -> SDPMessage
[src]
pub fn new() -> SDPMessage
pub fn add_attribute<'a, P: Into<Option<&'a str>>>(
&mut self,
key: &str,
value: P
) -> Result<(), ()>
[src]
pub fn add_attribute<'a, P: Into<Option<&'a str>>>(
&mut self,
key: &str,
value: P
) -> Result<(), ()>
pub fn add_email(&mut self, email: &str) -> Result<(), ()>
[src]
pub fn add_email(&mut self, email: &str) -> Result<(), ()>
pub fn add_media(&mut self, media: SDPMedia) -> Result<(), ()>
[src]
pub fn add_media(&mut self, media: SDPMedia) -> Result<(), ()>
pub fn add_phone(&mut self, phone: &str) -> Result<(), ()>
[src]
pub fn add_phone(&mut self, phone: &str) -> Result<(), ()>
pub fn add_time(
&mut self,
start: &str,
stop: &str,
repeat: &[&str]
) -> Result<(), ()>
[src]
pub fn add_time(
&mut self,
start: &str,
stop: &str,
repeat: &[&str]
) -> Result<(), ()>
pub fn add_zone(&mut self, adj_time: &str, typed_time: &str) -> Result<(), ()>
[src]
pub fn add_zone(&mut self, adj_time: &str, typed_time: &str) -> Result<(), ()>
pub fn as_text(&self) -> Option<String>
[src]
pub fn as_text(&self) -> Option<String>
pub fn attributes_len(&self) -> u32
[src]
pub fn attributes_len(&self) -> u32
pub fn attributes_to_caps(&self, caps: &mut CapsRef) -> Result<(), ()>
[src]
pub fn attributes_to_caps(&self, caps: &mut CapsRef) -> Result<(), ()>
pub fn bandwidths_len(&self) -> u32
[src]
pub fn bandwidths_len(&self) -> u32
pub fn dump(&self) -> Result<(), ()>
[src]
pub fn dump(&self) -> Result<(), ()>
pub fn emails_len(&self) -> u32
[src]
pub fn emails_len(&self) -> u32
pub fn get_attribute(&self, idx: u32) -> Option<&SDPAttribute>
[src]
pub fn get_attribute(&self, idx: u32) -> Option<&SDPAttribute>
pub fn get_attribute_val(&self, key: &str) -> Option<&str>
[src]
pub fn get_attribute_val(&self, key: &str) -> Option<&str>
pub fn get_attribute_val_n(&self, key: &str, nth: u32) -> Option<&str>
[src]
pub fn get_attribute_val_n(&self, key: &str, nth: u32) -> Option<&str>
pub fn get_bandwidth(&self, idx: u32) -> Option<&SDPBandwidth>
[src]
pub fn get_bandwidth(&self, idx: u32) -> Option<&SDPBandwidth>
pub fn get_connection(&self) -> Option<&SDPConnection>
[src]
pub fn get_connection(&self) -> Option<&SDPConnection>
pub fn get_email(&self, idx: u32) -> Option<&str>
[src]
pub fn get_email(&self, idx: u32) -> Option<&str>
pub fn get_information(&self) -> Option<&str>
[src]
pub fn get_information(&self) -> Option<&str>
pub fn get_key(&self) -> Option<&SDPKey>
[src]
pub fn get_key(&self) -> Option<&SDPKey>
pub fn get_media(&self, idx: u32) -> Option<&SDPMedia>
[src]
pub fn get_media(&self, idx: u32) -> Option<&SDPMedia>
pub fn get_origin(&self) -> Option<&SDPOrigin>
[src]
pub fn get_origin(&self) -> Option<&SDPOrigin>
pub fn get_phone(&self, idx: u32) -> Option<&str>
[src]
pub fn get_phone(&self, idx: u32) -> Option<&str>
pub fn get_session_name(&self) -> Option<&str>
[src]
pub fn get_session_name(&self) -> Option<&str>
pub fn get_time(&self, idx: u32) -> Option<&SDPTime>
[src]
pub fn get_time(&self, idx: u32) -> Option<&SDPTime>
pub fn get_uri(&self) -> Option<&str>
[src]
pub fn get_uri(&self) -> Option<&str>
pub fn get_version(&self) -> Option<&str>
[src]
pub fn get_version(&self) -> Option<&str>
pub fn get_zone(&self, idx: u32) -> Option<&SDPZone>
[src]
pub fn get_zone(&self, idx: u32) -> Option<&SDPZone>
pub fn insert_attribute(
&mut self,
idx: i32,
attr: SDPAttribute
) -> Result<(), ()>
[src]
pub fn insert_attribute(
&mut self,
idx: i32,
attr: SDPAttribute
) -> Result<(), ()>
pub fn insert_bandwidth(&mut self, idx: i32, bw: SDPBandwidth) -> Result<(), ()>
[src]
pub fn insert_bandwidth(&mut self, idx: i32, bw: SDPBandwidth) -> Result<(), ()>
pub fn insert_email(&mut self, idx: i32, email: &str) -> Result<(), ()>
[src]
pub fn insert_email(&mut self, idx: i32, email: &str) -> Result<(), ()>
pub fn insert_phone(&mut self, idx: i32, phone: &str) -> Result<(), ()>
[src]
pub fn insert_phone(&mut self, idx: i32, phone: &str) -> Result<(), ()>
pub fn insert_time(&mut self, idx: i32, time: SDPTime) -> Result<(), ()>
[src]
pub fn insert_time(&mut self, idx: i32, time: SDPTime) -> Result<(), ()>
pub fn insert_zone(&mut self, idx: i32, zone: SDPZone) -> Result<(), ()>
[src]
pub fn insert_zone(&mut self, idx: i32, zone: SDPZone) -> Result<(), ()>
pub fn medias_len(&self) -> u32
[src]
pub fn medias_len(&self) -> u32
pub fn parse_keymgmt(&self) -> Result<MIKEYMessage, ()>
[src]
pub fn parse_keymgmt(&self) -> Result<MIKEYMessage, ()>
pub fn phones_len(&self) -> u32
[src]
pub fn phones_len(&self) -> u32
pub fn remove_attribute(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_attribute(&mut self, idx: u32) -> Result<(), ()>
pub fn remove_bandwidth(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_bandwidth(&mut self, idx: u32) -> Result<(), ()>
pub fn remove_email(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_email(&mut self, idx: u32) -> Result<(), ()>
pub fn remove_phone(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_phone(&mut self, idx: u32) -> Result<(), ()>
pub fn remove_time(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_time(&mut self, idx: u32) -> Result<(), ()>
pub fn remove_zone(&mut self, idx: u32) -> Result<(), ()>
[src]
pub fn remove_zone(&mut self, idx: u32) -> Result<(), ()>
pub fn replace_attribute(
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), ()>
[src]
pub fn replace_attribute(
&mut self,
idx: u32,
attr: SDPAttribute
) -> Result<(), ()>
pub fn replace_bandwidth(
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), ()>
[src]
pub fn replace_bandwidth(
&mut self,
idx: u32,
bw: SDPBandwidth
) -> Result<(), ()>
pub fn replace_email(&mut self, idx: u32, email: &str) -> Result<(), ()>
[src]
pub fn replace_email(&mut self, idx: u32, email: &str) -> Result<(), ()>
pub fn replace_phone(&mut self, idx: u32, phone: &str) -> Result<(), ()>
[src]
pub fn replace_phone(&mut self, idx: u32, phone: &str) -> Result<(), ()>
pub fn replace_time(&mut self, idx: u32, time: SDPTime) -> Result<(), ()>
[src]
pub fn replace_time(&mut self, idx: u32, time: SDPTime) -> Result<(), ()>
pub fn replace_zone(&mut self, idx: u32, zone: SDPZone) -> Result<(), ()>
[src]
pub fn replace_zone(&mut self, idx: u32, zone: SDPZone) -> Result<(), ()>
pub fn set_connection(
&mut self,
nettype: &str,
addrtype: &str,
address: &str,
ttl: u32,
addr_number: u32
) -> Result<(), ()>
[src]
pub fn set_connection(
&mut self,
nettype: &str,
addrtype: &str,
address: &str,
ttl: u32,
addr_number: u32
) -> Result<(), ()>
pub fn set_information(&mut self, information: &str) -> Result<(), ()>
[src]
pub fn set_information(&mut self, information: &str) -> Result<(), ()>
pub fn set_key(&mut self, type_: &str, data: &str) -> Result<(), ()>
[src]
pub fn set_key(&mut self, type_: &str, data: &str) -> Result<(), ()>
pub fn set_origin(
&mut self,
username: &str,
sess_id: &str,
sess_version: &str,
nettype: &str,
addrtype: &str,
addr: &str
) -> Result<(), ()>
[src]
pub fn set_origin(
&mut self,
username: &str,
sess_id: &str,
sess_version: &str,
nettype: &str,
addrtype: &str,
addr: &str
) -> Result<(), ()>
pub fn set_session_name(&mut self, session_name: &str) -> Result<(), ()>
[src]
pub fn set_session_name(&mut self, session_name: &str) -> Result<(), ()>
pub fn set_uri(&mut self, uri: &str) -> Result<(), ()>
[src]
pub fn set_uri(&mut self, uri: &str) -> Result<(), ()>
pub fn set_version(&mut self, version: &str) -> Result<(), ()>
[src]
pub fn set_version(&mut self, version: &str) -> Result<(), ()>
pub fn times_len(&self) -> u32
[src]
pub fn times_len(&self) -> u32
pub fn zones_len(&self) -> u32
[src]
pub fn zones_len(&self) -> u32
pub fn as_uri(&self, scheme: &str) -> Option<String>
[src]
pub fn as_uri(&self, scheme: &str) -> Option<String>
pub fn parse_buffer(data: &[u8]) -> Result<Self, ()>
[src]
pub fn parse_buffer(data: &[u8]) -> Result<Self, ()>
pub fn parse_uri(uri: &str) -> Result<Self, ()>
[src]
pub fn parse_uri(uri: &str) -> Result<Self, ()>
Trait Implementations
impl Clone for SDPMessage
impl Clone for SDPMessage
fn clone(&self) -> SDPMessage
fn clone(&self) -> SDPMessage
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl StaticType for SDPMessage
impl StaticType for SDPMessage
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl Default for SDPMessage
[src]
impl Default for SDPMessage
impl Send for SDPMessage
[src]
impl Send for SDPMessage
Auto Trait Implementations
impl !Sync for SDPMessage
impl !Sync for SDPMessage