| /webrtc/webrtc/src/rtp_transceiver/ |
| H A D | rtp_codec.rs | 10 pub enum RTPCodecType { enum 21 impl From<&str> for RTPCodecType { implementation 24 "audio" => RTPCodecType::Audio, in from() 25 "video" => RTPCodecType::Video, in from() 26 _ => RTPCodecType::Unspecified, in from() 31 impl From<u8> for RTPCodecType { implementation 34 1 => RTPCodecType::Audio, in from() 35 2 => RTPCodecType::Video, in from() 36 _ => RTPCodecType::Unspecified, in from() 41 impl fmt::Display for RTPCodecType { implementation [all …]
|
| H A D | rtp_transceiver_test.rs | 14 m.push_codecs(m.video_codecs.clone(), RTPCodecType::Video) in test_rtp_transceiver_set_codec_preferences() 16 m.push_codecs(m.audio_codecs.clone(), RTPCodecType::Audio) in test_rtp_transceiver_set_codec_preferences() 25 RTPCodecType::Video, in test_rtp_transceiver_set_codec_preferences() 39 RTPCodecType::Video, in test_rtp_transceiver_set_codec_preferences() 169 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_set_codec_preferences_payload_type() 173 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_set_codec_preferences_payload_type() 220 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_direction_change() 224 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_direction_change() 273 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_set_direction_causing_negotiation() 277 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_rtp_transceiver_set_direction_causing_negotiation() [all …]
|
| H A D | mod.rs | 187 pub(crate) kind: RTPCodecType, 199 kind: RTPCodecType, in new() argument 308 pub fn kind(&self) -> RTPCodecType { in kind() argument 493 remote_kind: RTPCodecType, in satisfy_type_and_direction() argument
|
| /webrtc/webrtc/src/api/interceptor_registry/ |
| H A D | mod.rs | 46 RTPCodecType::Video, in configure_nack() 53 RTPCodecType::Video, in configure_nack() 71 RTPCodecType::Video, in configure_twcc() 77 RTPCodecType::Video, in configure_twcc() 86 RTPCodecType::Audio, in configure_twcc() 92 RTPCodecType::Audio, in configure_twcc() 113 RTPCodecType::Video, in configure_twcc_sender_only() 121 RTPCodecType::Audio, in configure_twcc_sender_only() 140 RTPCodecType::Video, in configure_twcc_receiver_only() 146 RTPCodecType::Video, in configure_twcc_receiver_only() [all …]
|
| /webrtc/webrtc/src/api/media_engine/ |
| H A D | mod.rs | 12 RTPCodecType, 318 typ: RTPCodecType, in register_codec() argument 328 RTPCodecType::Audio => { in register_codec() 332 RTPCodecType::Video => { in register_codec() 349 typ: RTPCodecType, in register_header_extension() argument 393 RTPCodecType::Video => { in register_feedback() 480 typ: RTPCodecType, in match_remote_codec() argument 535 typ: RTPCodecType, in update_header_extension() argument 603 RTPCodecType::Audio in update_from_remote_description() 608 RTPCodecType::Video in update_from_remote_description() [all …]
|
| H A D | media_engine_test.rs | 248 RTPCodecType::Video, in test_media_engine_remote_description() 287 RTPCodecType::Video, in test_media_engine_remote_description() 319 RTPCodecType::Video, in test_media_engine_remote_description() 352 RTPCodecType::Video, in test_media_engine_remote_description() 389 RTPCodecType::Video, in test_media_engine_remote_description() 404 RTPCodecType::Video, in test_media_engine_remote_description() 419 RTPCodecType::Video, in test_media_engine_remote_description() 615 RTPCodecType::Audio, in test_media_engine_double_register() 630 RTPCodecType::Audio, in test_media_engine_double_register() 670 RTPCodecType::Audio, in test_update_header_extenstion_to_cloned_media_engine() [all …]
|
| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | sdp_test.rs | 575 RTPCodecType::Video, in test_media_description_fingerprints() 580 RTPCodecType::Audio, in test_media_description_fingerprints() 681 RTPCodecType::Video, in test_populate_sdp() 695 RTPCodecType::Video, in test_populate_sdp() 765 RTPCodecType::Video, in test_populate_sdp() 779 RTPCodecType::Video, in test_populate_sdp() 865 RTPCodecType::Video, in test_populate_sdp_reject() 872 RTPCodecType::Video, in test_populate_sdp_reject() 886 RTPCodecType::Video, in test_populate_sdp_reject() 894 RTPCodecType::Audio, in test_populate_sdp_reject() [all …]
|
| H A D | mod.rs | 12 RTCRtpCodecCapability, RTCRtpCodecParameters, RTPCodecType, 41 pub(crate) kind: RTPCodecType, 93 let codec_type = RTPCodecType::from(media.media_name.media.as_str()); in track_details_from_sdp() 94 if codec_type == RTPCodecType::Unspecified { in track_details_from_sdp()
|
| /webrtc/webrtc/src/track/track_local/ |
| H A D | track_local_static_test.rs | 65 RTPCodecType::Video, in test_track_local_static_no_codec_intersection() 74 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_track_local_static_no_codec_intersection() 131 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_track_local_static_closed() 210 RTPCodecType::Video, in test_track_local_static_payload_type() 226 RTPCodecType::Video, in test_track_local_static_payload_type() 249 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_track_local_static_payload_type() 375 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_track_local_static_binding_non_blocking()
|
| H A D | track_local_static_rtp.rs | 199 fn kind(&self) -> RTPCodecType { in kind() argument 201 RTPCodecType::Audio in kind() 203 RTPCodecType::Video in kind() 205 RTPCodecType::Unspecified in kind()
|
| H A D | mod.rs | 94 fn kind(&self) -> RTPCodecType; in kind() argument
|
| H A D | track_local_static_sample.rs | 230 fn kind(&self) -> RTPCodecType { in kind() argument
|
| /webrtc/examples/examples/reflect/ |
| H A D | reflect.rs | 17 RTCRtpCodecCapability, RTCRtpCodecParameters, RTPCodecType, 99 RTPCodecType::Audio, in main() 117 RTPCodecType::Video, in main() 204 if track.kind() == RTPCodecType::Video { in main() 228 let kind = if track.kind() == RTPCodecType::Audio { in main()
|
| /webrtc/examples/examples/rtp-forwarder/ |
| H A D | rtp-forwarder.rs | 19 RTCRtpCodecCapability, RTCRtpCodecParameters, RTPCodecType, 93 RTPCodecType::Video, in main() 108 RTPCodecType::Audio, in main() 140 .add_transceiver_from_kind(RTPCodecType::Audio, None) in main() 143 .add_transceiver_from_kind(RTPCodecType::Video, None) in main()
|
| /webrtc/examples/examples/save-to-disk-h264/ |
| H A D | save-to-disk-h264.rs | 20 RTCRtpCodecCapability, RTCRtpCodecParameters, RTPCodecType, 147 RTPCodecType::Video, in main() 162 RTPCodecType::Audio, in main() 194 .add_transceiver_from_kind(RTPCodecType::Audio, None) in main() 197 .add_transceiver_from_kind(RTPCodecType::Video, None) in main()
|
| /webrtc/examples/examples/save-to-disk-vpx/ |
| H A D | save-to-disk-vpx.rs | 21 RTCRtpCodecCapability, RTCRtpCodecParameters, RTPCodecType, 172 RTPCodecType::Video, in main() 187 RTPCodecType::Audio, in main() 219 .add_transceiver_from_kind(RTPCodecType::Audio, None) in main() 222 .add_transceiver_from_kind(RTPCodecType::Video, None) in main()
|
| /webrtc/webrtc/src/api/setting_engine/ |
| H A D | setting_engine_test.rs | 5 use crate::rtp_transceiver::rtp_codec::RTPCodecType; 164 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_setting_engine_set_disable_media_engine_copy() 238 .add_transceiver_from_kind(RTPCodecType::Video, None) in test_setting_engine_set_disable_media_engine_copy()
|
| /webrtc/webrtc/src/track/track_remote/ |
| H A D | mod.rs | 3 use crate::rtp_transceiver::rtp_codec::{RTCRtpCodecParameters, RTCRtpParameters, RTPCodecType}; 82 kind: RTPCodecType, in new() argument 154 pub fn kind(&self) -> RTPCodecType { in kind() argument 158 pub fn set_kind(&self, kind: RTPCodecType) { in set_kind() argument
|
| /webrtc/webrtc/src/api/ |
| H A D | mod.rs | 22 use crate::rtp_transceiver::rtp_codec::RTPCodecType; 141 kind: RTPCodecType, in new_rtp_receiver() argument
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | peer_connection_internal.rs | 432 kind: RTPCodecType, in add_transceiver_from_kind() argument 751 if kind == RTPCodecType::Unspecified in generate_matched_sdp() 870 kind: RTPCodecType::Video, in handle_undeclared_ssrc() 875 if only_media_section.media_name.media == RTPCodecType::Audio.to_string() { in handle_undeclared_ssrc() 876 incoming.kind = RTPCodecType::Audio; in handle_undeclared_ssrc() 1217 RTPCodecType::Unspecified => continue, in collect_inbound_stats() 1218 RTPCodecType::Audio => "audio", in collect_inbound_stats() 1219 RTPCodecType::Video => "video", in collect_inbound_stats() 1348 RTPCodecType::Unspecified => continue, in collect_outbound_stats() 1349 RTPCodecType::Audio => "audio", in collect_outbound_stats() [all …]
|
| H A D | mod.rs | 55 use crate::rtp_transceiver::rtp_codec::{RTCRtpHeaderExtensionCapability, RTPCodecType}; 1232 let kind = RTPCodecType::from(media.media_name.media.as_str()); in set_local_description() 1234 if kind == RTPCodecType::Unspecified in set_local_description() 1342 let kind = RTPCodecType::from(media.media_name.media.as_str()); in set_remote_description() 1344 if kind == RTPCodecType::Unspecified in set_remote_description() 1434 let kind = RTPCodecType::from(media.media_name.media.as_str()); in set_remote_description() 1436 if kind == RTPCodecType::Unspecified in set_remote_description() 1754 kind: RTPCodecType, in add_transceiver_from_kind() argument
|
| /webrtc/webrtc/src/rtp_transceiver/rtp_receiver/ |
| H A D | mod.rs | 10 RTCRtpParameters, RTPCodecType, 147 pub(crate) kind: RTPCodecType, 330 kind: RTPCodecType, in get_codecs() argument 390 kind: RTPCodecType, 407 kind: RTPCodecType, in new() argument 435 pub fn kind(&self) -> RTPCodecType { in kind() argument
|
| /webrtc/examples/examples/simulcast/ |
| H A D | simulcast.rs | 17 RTCRtpCodecCapability, RTCRtpHeaderExtensionCapability, RTPCodecType, 85 RTPCodecType::Video, in main()
|
| /webrtc/examples/examples/broadcast/ |
| H A D | broadcast.rs | 15 use webrtc::rtp_transceiver::rtp_codec::RTPCodecType; 118 .add_transceiver_from_kind(RTPCodecType::Video, None) in main()
|
| /webrtc/webrtc/src/rtp_transceiver/rtp_sender/ |
| H A D | mod.rs | 7 use crate::rtp_transceiver::rtp_codec::{RTCRtpCodecParameters, RTPCodecType}; 248 RTPCodecType::default() in get_parameters() 392 RTPCodecType::default() in send()
|