| /webrtc/data/src/message/ |
| H A D | message_channel_open.rs | 150 pub label: Vec<u8>, field 156 let label_len = self.label.len(); in marshal_size() 178 buf.put_u16(self.label.len() as u16); in marshal_to() 180 buf.put_slice(self.label.as_slice()); in marshal_to() 215 let mut label = vec![0; label_len]; in unmarshal() localVariable 218 buf.copy_to_slice(&mut label[..]); in unmarshal() 225 label, in unmarshal() 326 assert_eq!(channel_open.label, b"label"); in test_channel_open_unmarshal_success() 411 label: b"label".to_vec(), in test_channel_open_marshal_size() 427 label: b"label".to_vec(), in test_channel_open_marshal()
|
| H A D | message_test.rs | 26 label: b"label".to_vec(), in test_message_unmarshal_open_success() 74 label: b"label".to_vec(), in test_message_marshal()
|
| /webrtc/webrtc/src/data_channel/ |
| H A D | data_channel_test.rs | 202 if d.label() != EXPECTED_LABEL { in test_data_channel_send_before_signaling() 258 if d.label() != EXPECTED_LABEL { in test_data_channel_send_after_connected() 387 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_max_packet_life_time_exchange() 438 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_max_retransmits_exchange() 483 if d.label() != EXPECTED_LABEL { in test_data_channel_parameters_protocol_exchange() 790 assert_eq!(dc.label, dc.label(), "should match"); in test_data_channel_parameters_go() 1005 let label: &str = "test-channel"; in test_eof_detach() localVariable 1022 if dc.label() != label { in test_eof_detach() 1114 let label: &str = "test-channel"; in test_eof_no_detach() localVariable 1128 if dc.label() != label { in test_eof_no_detach() [all …]
|
| H A D | data_channel_parameters.rs | 6 pub label: String, field
|
| H A D | mod.rs | 58 pub(crate) label: String, field 105 label: params.label, in new() 164 label: self.label.clone(), in open() 442 pub fn label(&self) -> &str { in label() method 443 self.label.as_str() in label()
|
| /webrtc/examples/examples/ortc/ |
| H A D | ortc.rs | 104 let d_label = d.label().to_owned(); in main() 198 label: "Foo".to_owned(), in main() 222 let d_label = d.label().to_owned(); in main() 260 …andom messages will now be sent to any connected DataChannels every 5 seconds", d.label(), d.id()); in handle_on_open()
|
| /webrtc/srtp/src/ |
| H A D | key_derivation.rs | 20 label: u8, in aes_cm_key_derivation() 42 prf_in[7] ^= label; in aes_cm_key_derivation()
|
| /webrtc/examples/examples/data-channels-create/ |
| H A D | data-channels-create.rs | 121 …dom messages will now be sent to any connected DataChannels every 5 seconds", d1.label(), d1.id()); in main() 142 let d_label = data_channel.label().to_owned(); in main()
|
| /webrtc/util/src/ |
| H A D | lib.rs | 28 label: &str, in export_keying_material()
|
| /webrtc/dtls/src/ |
| H A D | state.rs | 260 label: &str, in export_keying_material() 270 } else if INVALID_KEYING_LABELS.contains(&label) { in export_keying_material() 285 let mut seed = label.as_bytes().to_vec(); in export_keying_material()
|
| /webrtc/data/src/data_channel/ |
| H A D | mod.rs | 35 pub label: String, field 109 label: config.label.bytes().collect(), in client() 138 config.label = String::from_utf8(dco.label)?; in server()
|
| H A D | data_channel_test.rs | 184 label: "data".to_string(), in pr_ordered_unordered_test() 271 label: "data".to_string(), in test_data_channel_channel_type_reliable_ordered() 334 label: "data".to_string(), in test_data_channel_channel_type_reliable_unordered() 436 label: "data".to_owned(), in test_data_channel_buffered_amount() 538 label: "data".to_owned(), in test_stats() 632 label: "data".to_string(), in test_poll_data_channel()
|
| /webrtc/examples/examples/data-channels-close/ |
| H A D | data-channels-close.rs | 135 let d_label = d.label().to_owned(); in main() 176 … println!("Sent times out. Closing data channel '{}'-'{}'.", d2.label(), d2.id()); in main()
|
| /webrtc/webrtc/src/stats/ |
| H A D | mod.rs | 363 pub label: String, field 393 label: data_channel.label.clone(), in from()
|
| /webrtc/dtls/src/prf/ |
| H A D | mod.rs | 252 label: &str, in prf_verify_data() 260 let mut seed = label.as_bytes().to_vec(); in prf_verify_data()
|
| /webrtc/examples/examples/offer-answer/ |
| H A D | offer.rs | 303 …dom messages will now be sent to any connected DataChannels every 5 seconds", d1.label(), d1.id()); in main() 324 let d_label = data_channel.label().to_owned(); in main()
|
| H A D | answer.rs | 341 let d_label = d.label().to_owned(); in main()
|
| /webrtc/examples/examples/data-channels-flow-control/ |
| H A D | README.md | 44 connection, and data channel (label: "data").
|
| /webrtc/webrtc/src/api/ |
| H A D | mod.rs | 128 if params.label.len() > 65535 { in new_data_channel()
|
| /webrtc/examples/examples/data-channels/ |
| H A D | data-channels.rs | 119 let d_label = d.label().to_owned(); in main()
|
| /webrtc/webrtc/src/sctp_transport/ |
| H A D | mod.rs | 286 label: dc.config.label.clone(), in accept_data_channels()
|
| /webrtc/sdp/src/description/ |
| H A D | media.rs | 158 label: String, in with_media_source()
|
| /webrtc/examples/examples/data-channels-detach-create/ |
| H A D | data-channels-detach-create.rs | 133 println!("Data channel '{}'-'{}' open.", d.label(), d.id()); in main()
|
| /webrtc/examples/examples/data-channels-detach/ |
| H A D | data-channels-detach.rs | 130 let d_label = d.label().to_owned(); in main()
|
| /webrtc/webrtc/src/peer_connection/ |
| H A D | mod.rs | 1789 label: &str, in create_data_channel() 1798 label: label.to_owned(), in create_data_channel()
|