| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | session_description.rs | 5 use sdp::description::session::SessionDescription; 15 pub sdp: String, field 27 sdp, in answer() 42 sdp, in offer() 58 sdp, in pranswer() 90 sdp: "sdp".to_owned(), in test_session_description_json() 98 sdp: "sdp".to_owned(), in test_session_description_json() 106 sdp: "sdp".to_owned(), in test_session_description_json() 114 sdp: "sdp".to_owned(), in test_session_description_json() 138 assert!(sd.sdp == desc.sdp && sd.sdp_type == desc.sdp_type); in test_session_description_json() [all …]
|
| H A D | mod.rs | 25 use sdp::description::common::{Address, ConnectionInformation}; 26 use sdp::description::media::{MediaDescription, MediaName, RangedPort}; 27 use sdp::description::session::*; 28 use sdp::extmap::ExtMap; 29 use sdp::util::ConnectionRole; 388 sdp: parsed.marshal(), in populate_local_candidates() 470 media_name: sdp::description::media::MediaName { in add_transceiver_sdp() 508 media = media.with_extmap(sdp::extmap::ExtMap { in add_transceiver_sdp()
|
| /webrtc/sdp/ |
| H A D | README.md | 6 <a href="https://github.com/webrtc-rs/sdp/actions"> 7 <img src="https://github.com/webrtc-rs/sdp/workflows/cargo/badge.svg"> 9 <a href="https://codecov.io/gh/webrtc-rs/sdp"> 10 <img src="https://codecov.io/gh/webrtc-rs/sdp/branch/main/graph/badge.svg"> 12 <a href="https://deps.rs/repo/github/webrtc-rs/sdp"> 13 <img src="https://deps.rs/repo/github/webrtc-rs/sdp/status.svg"> 15 <a href="https://crates.io/crates/sdp"> 16 <img src="https://img.shields.io/crates/v/sdp.svg"> 18 <a href="https://docs.rs/sdp"> 19 <img src="https://docs.rs/sdp/badge.svg"> [all …]
|
| H A D | Cargo.toml | 2 name = "sdp" 8 documentation = "https://docs.rs/sdp" 10 repository = "https://github.com/webrtc-rs/sdp"
|
| H A D | CHANGELOG.md | 1 # sdp changelog 13 * [#10 update deps + loosen some requirements](https://github.com/webrtc-rs/sdp/pull/10) by [@melek… 17 …mes, but not always, available in the [GitHub Releases](https://github.com/webrtc-rs/sdp/releases).
|
| /webrtc/sdp/src/description/ |
| H A D | description_test.rs | 39 let sdp = SessionDescription::unmarshal(&mut reader)?; in test_unmarshal_marshal() localVariable 40 let output = sdp.marshal(); in test_unmarshal_marshal() 535 if let Ok(sdp) = sdp { in test_round_trip() 536 let actual = sdp.marshal(); in test_round_trip() 553 let sdp = SessionDescription::unmarshal(&mut reader)?; in test_unmarshal_repeat_times() localVariable 554 let actual = sdp.marshal(); in test_unmarshal_repeat_times() 574 let sdp = SessionDescription::unmarshal(&mut reader)?; in test_unmarshal_time_zones() localVariable 575 let actual = sdp.marshal(); in test_unmarshal_time_zones() 584 let sdp = SessionDescription::unmarshal(&mut reader); in test_unmarshal_non_nil_address() localVariable 585 if let Ok(sdp) = sdp { in test_unmarshal_non_nil_address() [all …]
|
| /webrtc/sdp/benches/ |
| H A D | bench.rs | 2 use sdp::SessionDescription; 33 let sdp = SessionDescription::unmarshal(&mut reader).unwrap(); in benchmark_sdp() localVariable 38 let _ = sdp.marshal(); in benchmark_sdp()
|
| /webrtc/webrtc/src/api/interceptor_registry/ |
| H A D | mod.rs | 75 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc() 90 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc() 111 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc_sender_only() 119 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc_sender_only() 144 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc_receiver_only() 159 uri: sdp::extmap::TRANSPORT_CC_URI.to_owned(), in configure_twcc_receiver_only()
|
| /webrtc/webrtc/src/peer_connection/policy/ |
| H A D | sdp_semantics.rs | 63 use sdp::description::media::MediaDescription; 64 use sdp::description::session::{SessionDescription, ATTR_KEY_SSRC}; 86 fn get_md_names(sdp: &SessionDescription) -> Vec<String> { in get_md_names() 87 sdp.media_descriptions in get_md_names()
|
| /webrtc/sdp/fuzz/ |
| H A D | Cargo.toml | 3 name = "sdp-fuzz" 15 [dependencies.sdp]
|
| /webrtc/sdp/src/util/ |
| H A D | util_test.rs | 84 let sdp = get_test_session_description(); in test_get_payload_type_for_vp8() localVariable 85 let actual = sdp.get_payload_type_for_codec(&codec)?; in test_get_payload_type_for_vp8() 144 let sdp = get_test_session_description(); in test_get_codec_for_payload_type() localVariable 145 let actual = sdp.get_codec_for_payload_type(*payload_type)?; in test_get_codec_for_payload_type()
|
| /webrtc/examples/examples/rtp-forwarder/ |
| H A D | README.md | 40 Open `rtp-forwarder.sdp` with VLC and enjoy your live video! 44 Run `ffprobe -i rtp-forwarder.sdp -protocol_whitelist file,udp,rtp` to get more details about your … 46 Run `ffplay -i rtp-forwarder.sdp -protocol_whitelist file,udp,rtp` to play your streams 52 `ffmpeg -protocol_whitelist file,udp,rtp -i rtp-forwarder.sdp -c:v libx264 -preset veryfast -b:v 30…
|
| /webrtc/webrtc/src/rtp_transceiver/ |
| H A D | rtp_transceiver_test.rs | 202 answer.sdp.contains("a=rtpmap:51 VP8/90000"), in test_rtp_transceiver_set_codec_preferences_payload_type() 204 answer.sdp in test_rtp_transceiver_set_codec_preferences_payload_type() 208 assert!(!answer.sdp.contains("test_codec")); in test_rtp_transceiver_set_codec_preferences_payload_type() 233 assert!(answer.sdp.contains("a=sendrecv"),); in test_rtp_transceiver_direction_change() 242 assert!(offer.sdp.contains("a=inactive"),); in test_rtp_transceiver_direction_change() 248 assert!(answer.sdp.contains("a=inactive"),); in test_rtp_transceiver_direction_change() 333 assert!(answer.sdp.contains("a=sendrecv"),); in test_rtp_transceiver_stopping() 345 assert!(offer.sdp.contains("a=inactive"),); in test_rtp_transceiver_stopping()
|
| /webrtc/webrtc/src/dtls_transport/ |
| H A D | dtls_transport_test.rs | 93 …offer.sdp = re.replace_all(offer.sdp.as_str(), "sha-256 AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:… in test_invalid_fingerprint_causes_failed() 101 …answer.sdp = re.replace_all(answer.sdp.as_str(), "sha-256 AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:AA:A… in test_invalid_fingerprint_causes_failed()
|
| H A D | dtls_role.rs | 1 use sdp::description::session::SessionDescription; 2 use sdp::util::ConnectionRole;
|
| /webrtc/sdp/fuzz/fuzz_targets/ |
| H A D | parse_session.rs | 6 let _session = sdp::SessionDescription::unmarshal(&mut cursor);
|
| /webrtc/webrtc/src/api/media_engine/ |
| H A D | media_engine_test.rs | 21 assert!(re.is_match(offer.sdp.as_str())); in test_opus_case() 41 assert!(re.is_match(offer.sdp.as_str())); in test_video_case() 43 assert!(re.is_match(offer.sdp.as_str())); in test_video_case() 45 assert!(re.is_match(offer.sdp.as_str())); in test_video_case() 204 uri: sdp::extmap::ABS_SEND_TIME_URI.to_owned(), in test_media_engine_remote_description() 213 uri: sdp::extmap::SDES_MID_URI.to_owned(), in test_media_engine_remote_description() 739 uri: sdp::extmap::ABS_SEND_TIME_URI.to_owned(), in test_extension_id_collision() 748 uri: sdp::extmap::SDES_MID_URI.to_owned(), in test_extension_id_collision() 757 uri: sdp::extmap::AUDIO_LEVEL_URI.to_owned(), in test_extension_id_collision()
|
| /webrtc/ |
| H A D | Cargo.toml | 14 "sdp",
|
| /webrtc/webrtc/src/ |
| H A D | lib.rs | 14 pub use sdp;
|
| H A D | error.rs | 9 use crate::peer_connection::sdp::sdp_type::RTCSdpType; 400 Sdp(#[from] sdp::Error),
|
| /webrtc/webrtc/ |
| H A D | Cargo.toml | 26 sdp = { version = "0.5.2", path = "../sdp" }
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | mod.rs | 11 pub mod sdp; module 51 use crate::peer_connection::sdp::*; 72 use ::sdp::description::session::*; 73 use ::sdp::util::ConnectionRole; 830 let sdp = d.marshal(); in create_offer() localVariable 834 sdp, in create_offer() 851 *last_offer = offer.sdp.clone(); in create_offer() 946 let sdp = d.marshal(); in create_answer() localVariable 950 sdp, in create_answer() 956 *last_answer = answer.sdp.clone(); in create_answer() [all …]
|
| /webrtc/examples/examples/broadcast/ |
| H A D | README.md | 29 * Run `curl localhost:8080/sdp -d "$BROWSER_OFFER"`. `$BROWSER_OFFER` is the value you copied in th… 38 * Run `curl localhost:8080/sdp -d "$BROWSER_OFFER"`. `$BROWSER_OFFER` is the value you copied in th…
|
| /webrtc/examples/examples/offer-answer/ |
| H A D | offer.rs | 21 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription; 111 let sdp = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in remote_handler() localVariable 116 if let Err(err) = pc.set_remote_description(sdp).await { in remote_handler()
|
| H A D | answer.rs | 22 use webrtc::peer_connection::sdp::session_description::RTCSessionDescription; 112 let sdp = match serde_json::from_str::<RTCSessionDescription>(&sdp_str) { in remote_handler() localVariable 117 if let Err(err) = pc.set_remote_description(sdp).await { in remote_handler()
|