Home
last modified time | relevance | path

Searched refs:sdp_str (Results 1 – 6 of 6) sorted by relevance

/webrtc/examples/examples/signal/src/
H A Dlib.rs26 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler() localVariable
35 let _ = tx.send(sdp_str).await; in remote_handler()
/webrtc/sdp/src/description/
H A Ddescription_test.rs532 for (name, sdp_str, expected) in tests { in test_round_trip()
533 let mut reader = Cursor::new(sdp_str.as_bytes()); in test_round_trip()
540 assert_eq!(actual.as_str(), sdp_str, "{name}\n{sdp_str}"); in test_round_trip()
/webrtc/examples/examples/ice-restart/
H A Dice-restart.rs142 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in do_signaling() localVariable
146 let offer = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in do_signaling()
/webrtc/examples/examples/offer-answer/
H A Doffer.rs106 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler() localVariable
111 let sdp = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in remote_handler()
H A Danswer.rs107 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler() localVariable
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.rs94 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in do_signaling() localVariable
98 let offer = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in do_signaling()