Home
last modified time | relevance | path

Searched refs:RTCSessionDescription (Results 1 – 25 of 25) sorted by relevance

/webrtc/webrtc/src/peer_connection/sdp/
H A Dsession_description.rs11 pub struct RTCSessionDescription { struct
22 impl RTCSessionDescription { implementation
26 let mut desc = RTCSessionDescription { in answer()
41 let mut desc = RTCSessionDescription { in offer()
57 let mut desc = RTCSessionDescription { in pranswer()
88 RTCSessionDescription { in test_session_description_json()
96 RTCSessionDescription { in test_session_description_json()
104 RTCSessionDescription { in test_session_description_json()
112 RTCSessionDescription { in test_session_description_json()
120 RTCSessionDescription { in test_session_description_json()
[all …]
H A Dmod.rs356 session_description: Option<&session_description::RTCSessionDescription>, in populate_local_candidates() argument
359 ) -> Option<session_description::RTCSessionDescription> { in populate_local_candidates() argument
386 Some(session_description::RTCSessionDescription { in populate_local_candidates()
847 desc: &'a session_description::RTCSessionDescription, in get_by_mid() argument
863 desc: &session_description::RTCSessionDescription, in have_data_channel() argument
/webrtc/examples/examples/broadcast/
H A Dbroadcast.rs13 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
79 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
219 let recv_only_offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/webrtc/src/peer_connection/
H A Dmod.rs50 use crate::peer_connection::sdp::session_description::RTCSessionDescription;
166 current_local_description: Arc<Mutex<Option<RTCSessionDescription>>>,
167 current_remote_description: Arc<Mutex<Option<RTCSessionDescription>>>,
724 ) -> Result<RTCSessionDescription> { in create_offer() argument
832 offer = RTCSessionDescription { in create_offer()
908 ) -> Result<RTCSessionDescription> { in create_answer() argument
948 let answer = RTCSessionDescription { in create_answer()
964 sd: &RTCSessionDescription, in set_description() argument
1292 pub async fn local_description(&self) -> Option<RTCSessionDescription> { in local_description() argument
1601 pub async fn remote_description(&self) -> Option<RTCSessionDescription> { in remote_description() argument
[all …]
H A Dpeer_connection_internal.rs58 pub(super) current_local_description: Arc<Mutex<Option<RTCSessionDescription>>>,
59 pub(super) current_remote_description: Arc<Mutex<Option<RTCSessionDescription>>>,
60 pub(super) pending_local_description: Arc<Mutex<Option<RTCSessionDescription>>>,
61 pub(super) pending_remote_description: Arc<Mutex<Option<RTCSessionDescription>>>,
152 remote_desc: Arc<RTCSessionDescription>, in start_rtp() argument
580 pub(super) async fn remote_description(&self) -> Option<RTCSessionDescription> { in remote_description() argument
1163 pub(super) async fn has_local_description_changed(&self, desc: &RTCSessionDescription) -> bool { in has_local_description_changed()
/webrtc/examples/examples/data-channels/
H A Ddata-channels.rs16 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
160 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/data-channels-create/
H A Ddata-channels-create.rs15 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
175 let answer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/rtp-to-webrtc/
H A Drtp-to-webrtc.rs14 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
158 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/data-channels-detach-create/
H A Ddata-channels-detach-create.rs16 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
184 let answer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/data-channels-detach/
H A Ddata-channels-detach.rs17 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
169 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/simulcast/
H A Dsimulcast.rs14 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
148 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/data-channels-close/
H A Ddata-channels-close.rs18 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
198 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/insertable-streams/
H A Dinsertable-streams.rs20 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
228 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/reflect/
H A Dreflect.rs14 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
191 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/rtp-forwarder/
H A Drtp-forwarder.rs16 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
281 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/ice-restart/
H A Dice-restart.rs19 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
146 let offer = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in do_signaling()
/webrtc/examples/examples/swap-tracks/
H A Dswap-tracks.rs14 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
127 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/save-to-disk-h264/
H A Dsave-to-disk-h264.rs17 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
276 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/play-from-disk-h264/
H A Dplay-from-disk-h264.rs21 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
320 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/play-from-disk-vpx/
H A Dplay-from-disk-vpx.rs21 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
331 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/save-to-disk-vpx/
H A Dsave-to-disk-vpx.rs18 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
306 let offer = serde_json::from_str::<RTCSessionDescription>(&desc_data)?; in main()
/webrtc/examples/examples/offer-answer/
H A Doffer.rs21 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
111 let sdp = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in remote_handler()
H A Danswer.rs22 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
112 let sdp = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in remote_handler()
/webrtc/examples/examples/play-from-disk-renegotiation/
H A Dplay-from-disk-renegotiation.rs24 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription;
98 let offer = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in do_signaling()
/webrtc/webrtc/
H A DCHANGELOG.md187 * [#167 Add offer/answer/pranswer constructors for RTCSessionDescription](https://github.com/webrtc…