Home
last modified time | relevance | path

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

12

/webrtc/media/src/audio/buffer/
H A Dinfo.rs7 channels: usize, field
15 channels, in new()
23 self.channels in channels()
28 self.channels = channels; in set_channels()
51 channels: self.channels, in clone()
63 channels: info.channels,
81 let channels = 3; in new() localVariable
86 assert_eq!(interleaved.channels, channels); in new()
91 assert_eq!(deinterleaved.channels, channels); in new()
97 let channels = 3; in clone() localVariable
[all …]
H A Dlayout.rs28 (frame * info.channels()) + channel in index_of()
50 let frames = input.len() / channels; in deinterleaved_by()
54 for _channel in 0..channels { in deinterleaved_by()
80 let frames = input.len() / channels; in interleaved_by()
82 for channel in 0..channels { in interleaved_by()
100 let channels = 1; in interleaved_1_channel() localVariable
114 let channels = 1; in deinterleaved_1_channel() localVariable
128 let channels = 2; in interleaved_2_channel() localVariable
142 let channels = 2; in deinterleaved_2_channel() localVariable
156 let channels = 3; in interleaved_3_channel() localVariable
[all …]
/webrtc/media/src/audio/
H A Dbuffer.rs30 channels: usize, in to_bytes()
51 BufferInfo::new(channels, frames) in new()
85 let channels = self.info.channels(); in sub_range() localVariable
125 buffer.info.channels(), in from()
169 buffer.info.channels(), in from()
336 let channels = 3; in deinterleaved_from_interleaved() localVariable
351 let channels = 3; in interleaved_from_deinterleaved() localVariable
366 let channels = 3; in deinterleaved_from_deinterleaved_bytes() localVariable
387 let channels = 3; in deinterleaved_from_interleaved_bytes() localVariable
408 let channels = 3; in interleaved_from_interleaved_bytes() localVariable
[all …]
/webrtc/examples/examples/data-channels-create/
H A DREADME.md1 # data-channels-create
3channels-create is a WebRTC.rs application that shows how you can send/recv DataChannel messages f…
7 ### Build data-channels-create
10 cargo build --example data-channels-create
13 ### Open data-channels-create example page
17 ### Run data-channels-create
19 Just run `data-channels-create`.
21 ### Input data-channels-create's SessionDescription into your browser
23 Copy the text that `data-channels-create` just emitted and copy into first text area of the jsfiddl…
29 ### Input browser's SessionDescription into data-channels-create
[all …]
/webrtc/examples/examples/data-channels/
H A DREADME.md1 # data-channels
3 data-channels is a WebRTC.rs application that shows how you can send/recv DataChannel messages from…
7 ### Build data-channels
10 cargo build --example data-channels
13 ### Open data-channels example page
17 ### Run data-channels, with your browsers SessionDescription as stdin
23 Run `echo $BROWSER_SDP | ./target/debug/examples/data-channels`
28 1. Run `./target/debug/examples/data-channels < my_file`
30 ### Input data-channels's SessionDescription into your browser
32 Copy the text that `data-channels` just emitted and copy into second text area
/webrtc/examples/
H A DCargo.toml48 name = "data-channels"
49 path = "examples/data-channels/data-channels.rs"
53 name = "data-channels-close"
54 path = "examples/data-channels-close/data-channels-close.rs"
58 name = "data-channels-create"
59 path = "examples/data-channels-create/data-channels-create.rs"
63 name = "data-channels-detach"
64 path = "examples/data-channels-detach/data-channels-detach.rs"
69 path = "examples/data-channels-detach-create/data-channels-detach-create.rs"
73 name = "data-channels-flow-control"
[all …]
/webrtc/examples/examples/data-channels-detach/
H A DREADME.md1 # data-channels
3 data-channels is a WebRTC.rs application that shows how you can send/recv DataChannel messages from…
7 ### Build data-channels-detach
10 cargo build --example data-channels-detach
13 ### Open data-channels-detach example page
17 ### Run data-channels-detach, with your browsers SessionDescription as stdin
23 Run `echo $BROWSER_SDP | ./target/debug/examples/data-channels-detach`
28 1. Run `./target/debug/examples/data-channels-detach < my_file`
30 ### Input data-channels-detach's SessionDescription into your browser
32 Copy the text that `data-channels` just emitted and copy into second text area
/webrtc/examples/examples/data-channels-close/
H A DREADME.md1 # data-channels-close
2 data-channels-close is a variant of the data-channels example that allow playing with the life cycl…
/webrtc/examples/examples/data-channels-detach-create/
H A DREADME.md1 # data-channels-detach-create
3 data-channels-detach-create is an example that shows how you can detach a data channel.
6 The example mirrors the data-channels-create example.
11 cargo build --example data-channels-detach-create
16 The example can be used in the same way as the [Data Channels Create](data-channels-create) example.
/webrtc/media/benches/
H A Daudio_buffer.rs10 let channels = 4; in benchmark_from() localVariable
13 let samples = (0..(channels * frames)).map(|i| i as i32).collect(); in benchmark_from()
14 Buffer::new(samples, channels) in benchmark_from()
17 let samples = (0..(channels * frames)).map(|i| i as i32).collect(); in benchmark_from()
18 Buffer::new(samples, channels) in benchmark_from()
/webrtc/examples/examples/
H A DREADME.md22 - [x] [Data Channels](data-channels): The data-channels example shows how you can send/recv DataCha…
23channels-create): Example data-channels-create shows how you can send/recv DataChannel messages fr…
24 …lose](data-channels-close): Example data-channels-close is a variant of data-channels that allow p…
25 - [x] [Data Channels Detach](data-channels-detach): The data-channels-detach example shows how you …
26channels-detach-create): Example data-channels-detach-create shows how you can send/recv DataChann…
27 - [x] [Data Channels Flow Control](data-channels-flow-control): Example data-channels-flow-control …
/webrtc/webrtc/src/api/media_engine/
H A Dmedia_engine_test.rs239 channels: 0, in test_media_engine_remote_description()
278 channels: 0, in test_media_engine_remote_description()
312 channels: 0, in test_media_engine_remote_description()
345 channels: 0, in test_media_engine_remote_description()
382 channels: 0, in test_media_engine_remote_description()
397 channels: 0, in test_media_engine_remote_description()
412 channels: 0, in test_media_engine_remote_description()
449 channels: 0, in test_media_engine_remote_description()
608 channels: 0, in test_media_engine_double_register()
623 channels: 0, in test_media_engine_double_register()
[all …]
H A Dmod.rs108 channels: 2, in register_default_codecs()
119 channels: 0, in register_default_codecs()
130 channels: 0, in register_default_codecs()
141 channels: 0, in register_default_codecs()
175 channels: 0, in register_default_codecs()
186 channels: 0, in register_default_codecs()
197 channels: 0, in register_default_codecs()
208 channels: 0, in register_default_codecs()
221 channels: 0, in register_default_codecs()
234 channels: 0, in register_default_codecs()
[all …]
/webrtc/webrtc/src/rtp_transceiver/
H A Drtp_transceiver_test.rs53 channels: 2, in test_rtp_transceiver_set_codec_preferences()
65 channels: 0, in test_rtp_transceiver_set_codec_preferences()
76 channels: 2, in test_rtp_transceiver_set_codec_preferences()
99 channels: 0, in test_rtp_transceiver_set_codec_preferences()
111 channels: 0, in test_rtp_transceiver_set_codec_preferences()
122 channels: 0, in test_rtp_transceiver_set_codec_preferences()
149 channels: 0, in test_rtp_transceiver_set_codec_preferences_payload_type()
183 channels: 0, in test_rtp_transceiver_set_codec_preferences_payload_type()
/webrtc/examples/examples/data-channels-flow-control/
H A DREADME.md1 # data-channels-flow-control
52 $ cargo run --release --example data-channels-flow-control
54 Running `target\release\examples\data-channels-flow-control.exe`
/webrtc/media/src/io/ogg_reader/
H A Dmod.rs34 pub channels: u8, field
93 let channels = reader.read_u8()?; //9 in read_headers() localVariable
101 channels, in read_headers()
H A Dogg_reader_test.rs23 assert_eq!(header.channels, 2); in test_ogg_reader_parse_valid_header()
/webrtc/interceptor/src/
H A Dstream_info.rs20 pub channels: u16, field
/webrtc/webrtc/src/rtp_transceiver/rtp_receiver/
H A Drtp_receiver_test.rs24 channels: 2,
107 P.codecs[0].capability.channels, in test_set_rtp_parameters()
108 incoming_track_codecs.capability.channels in test_set_rtp_parameters()
/webrtc/sdp/src/description/
H A Dmedia.rs135 channels: u16, in with_codec()
140 if channels > 0 { in with_codec()
/webrtc/webrtc/src/track/track_local/
H A Dtrack_local_static_test.rs58 channels: 0, in test_track_local_static_no_codec_intersection()
203 channels: 0, in test_track_local_static_payload_type()
219 channels: 0, in test_track_local_static_payload_type()
/webrtc/examples/examples/rtp-forwarder/
H A Drtp-forwarder.rs86 channels: 0, in main()
101 channels: 2, in main()
/webrtc/examples/examples/save-to-disk-h264/
H A Dsave-to-disk-h264.rs140 channels: 0, in main()
155 channels: 2, in main()
/webrtc/examples/examples/save-to-disk-vpx/
H A Dsave-to-disk-vpx.rs165 channels: 0, in main()
180 channels: 2, in main()
/webrtc/webrtc/src/stats/
H A Dmod.rs328 pub channels: u16, field
337 channels: codec.capability.channels, in from()

12