niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
tina.legrand@webrtc.org | ae1c454 | 2012-03-12 08:41:30 +0000 | [diff] [blame] | 2 | * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #include "modules/audio_coding/test/EncodeDecodeTest.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 12 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 13 | #include <stdio.h> |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 14 | #include <stdlib.h> |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 15 | |
Yves Gerey | 665174f | 2018-06-19 15:03:05 +0200 | [diff] [blame] | 16 | #include <memory> |
tina.legrand@webrtc.org | 5e7ca60 | 2012-06-12 07:16:24 +0000 | [diff] [blame] | 17 | |
Karl Wiberg | 5817d3d | 2018-04-06 10:06:42 +0200 | [diff] [blame] | 18 | #include "api/audio_codecs/builtin_audio_decoder_factory.h" |
Karl Wiberg | 658a552 | 2018-08-15 15:20:49 +0200 | [diff] [blame] | 19 | #include "api/audio_codecs/builtin_audio_encoder_factory.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 20 | #include "modules/audio_coding/include/audio_coding_module.h" |
Jonas Olsson | 366a50c | 2018-09-06 13:41:30 +0200 | [diff] [blame] | 21 | #include "rtc_base/strings/string_builder.h" |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 22 | #include "test/gtest.h" |
Steve Anton | 10542f2 | 2019-01-11 09:11:00 -0800 | [diff] [blame] | 23 | #include "test/testsupport/file_utils.h" |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 24 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 25 | namespace webrtc { |
| 26 | |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 27 | TestPacketization::TestPacketization(RTPStream* rtpStream, uint16_t frequency) |
| 28 | : _rtpStream(rtpStream), _frequency(frequency), _seqNo(0) {} |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 29 | |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 30 | TestPacketization::~TestPacketization() {} |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 31 | |
Niels Möller | c35b6e6 | 2019-04-25 16:31:18 +0200 | [diff] [blame] | 32 | int32_t TestPacketization::SendData(const AudioFrameType /* frameType */, |
| 33 | const uint8_t payloadType, |
| 34 | const uint32_t timeStamp, |
| 35 | const uint8_t* payloadData, |
| 36 | const size_t payloadSize) { |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 37 | _rtpStream->Write(payloadType, timeStamp, _seqNo++, payloadData, payloadSize, |
| 38 | _frequency); |
| 39 | return 1; |
| 40 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 41 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 42 | Sender::Sender() |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 43 | : _acm(NULL), _pcmFile(), _audioFrame(), _packetization(NULL) {} |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 44 | |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 45 | void Sender::Setup(AudioCodingModule* acm, |
| 46 | RTPStream* rtpStream, |
| 47 | std::string in_file_name, |
| 48 | int in_sample_rate, |
| 49 | int payload_type, |
| 50 | SdpAudioFormat format) { |
tina.legrand@webrtc.org | ba46804 | 2012-08-17 10:38:28 +0000 | [diff] [blame] | 51 | // Open input file |
minyue@webrtc.org | aa5ea1c | 2014-05-23 15:16:51 +0000 | [diff] [blame] | 52 | const std::string file_name = webrtc::test::ResourcePath(in_file_name, "pcm"); |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 53 | _pcmFile.Open(file_name, in_sample_rate, "rb"); |
| 54 | if (format.num_channels == 2) { |
minyue@webrtc.org | aa5ea1c | 2014-05-23 15:16:51 +0000 | [diff] [blame] | 55 | _pcmFile.ReadStereo(true); |
| 56 | } |
Henrik Lundin | 4d68208 | 2015-12-10 16:24:39 +0100 | [diff] [blame] | 57 | // Set test length to 500 ms (50 blocks of 10 ms each). |
| 58 | _pcmFile.SetNum10MsBlocksToRead(50); |
| 59 | // Fast-forward 1 second (100 blocks) since the file starts with silence. |
| 60 | _pcmFile.FastForward(100); |
tina.legrand@webrtc.org | ba46804 | 2012-08-17 10:38:28 +0000 | [diff] [blame] | 61 | |
Karl Wiberg | 658a552 | 2018-08-15 15:20:49 +0200 | [diff] [blame] | 62 | acm->SetEncoder(CreateBuiltinAudioEncoderFactory()->MakeAudioEncoder( |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 63 | payload_type, format, absl::nullopt)); |
| 64 | _packetization = new TestPacketization(rtpStream, format.clockrate_hz); |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 65 | EXPECT_EQ(0, acm->RegisterTransportCallback(_packetization)); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 66 | |
tina.legrand@webrtc.org | ba46804 | 2012-08-17 10:38:28 +0000 | [diff] [blame] | 67 | _acm = acm; |
| 68 | } |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 69 | |
| 70 | void Sender::Teardown() { |
| 71 | _pcmFile.Close(); |
| 72 | delete _packetization; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 73 | } |
| 74 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 75 | bool Sender::Add10MsData() { |
| 76 | if (!_pcmFile.EndOfFile()) { |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 77 | EXPECT_GT(_pcmFile.Read10MsData(_audioFrame), 0); |
pbos@webrtc.org | 0946a56 | 2013-04-09 00:28:06 +0000 | [diff] [blame] | 78 | int32_t ok = _acm->Add10MsData(_audioFrame); |
henrik.lundin@webrtc.org | f56c162 | 2015-03-02 12:29:30 +0000 | [diff] [blame] | 79 | EXPECT_GE(ok, 0); |
| 80 | return ok >= 0 ? true : false; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 81 | } |
| 82 | return false; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 83 | } |
| 84 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 85 | void Sender::Run() { |
| 86 | while (true) { |
| 87 | if (!Add10MsData()) { |
| 88 | break; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 89 | } |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 90 | } |
| 91 | } |
| 92 | |
| 93 | Receiver::Receiver() |
| 94 | : _playoutLengthSmpls(WEBRTC_10MS_PCM_AUDIO), |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 95 | _payloadSizeBytes(MAX_INCOMING_PAYLOAD) {} |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 96 | |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 97 | void Receiver::Setup(AudioCodingModule* acm, |
| 98 | RTPStream* rtpStream, |
| 99 | std::string out_file_name, |
| 100 | size_t channels, |
| 101 | int file_num) { |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 102 | EXPECT_EQ(0, acm->InitializeReceiver()); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 103 | |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 104 | if (channels == 1) { |
| 105 | acm->SetReceiveCodecs({{103, {"ISAC", 16000, 1}}, |
| 106 | {104, {"ISAC", 32000, 1}}, |
| 107 | {107, {"L16", 8000, 1}}, |
| 108 | {108, {"L16", 16000, 1}}, |
| 109 | {109, {"L16", 32000, 1}}, |
| 110 | {0, {"PCMU", 8000, 1}}, |
| 111 | {8, {"PCMA", 8000, 1}}, |
| 112 | {102, {"ILBC", 8000, 1}}, |
| 113 | {9, {"G722", 8000, 1}}, |
| 114 | {120, {"OPUS", 48000, 2}}, |
| 115 | {13, {"CN", 8000, 1}}, |
| 116 | {98, {"CN", 16000, 1}}, |
| 117 | {99, {"CN", 32000, 1}}}); |
| 118 | } else { |
| 119 | ASSERT_EQ(channels, 2u); |
| 120 | acm->SetReceiveCodecs({{111, {"L16", 8000, 2}}, |
| 121 | {112, {"L16", 16000, 2}}, |
| 122 | {113, {"L16", 32000, 2}}, |
| 123 | {110, {"PCMU", 8000, 2}}, |
| 124 | {118, {"PCMA", 8000, 2}}, |
| 125 | {119, {"G722", 8000, 2}}, |
| 126 | {120, {"OPUS", 48000, 2, {{"stereo", "1"}}}}}); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 127 | } |
phoglund@webrtc.org | d1a860b | 2012-01-26 14:49:28 +0000 | [diff] [blame] | 128 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 129 | int playSampFreq; |
tina.legrand@webrtc.org | ba46804 | 2012-08-17 10:38:28 +0000 | [diff] [blame] | 130 | std::string file_name; |
Jonas Olsson | 366a50c | 2018-09-06 13:41:30 +0200 | [diff] [blame] | 131 | rtc::StringBuilder file_stream; |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 132 | file_stream << webrtc::test::OutputPath() << out_file_name << file_num |
| 133 | << ".pcm"; |
tina.legrand@webrtc.org | ba46804 | 2012-08-17 10:38:28 +0000 | [diff] [blame] | 134 | file_name = file_stream.str(); |
| 135 | _rtpStream = rtpStream; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 136 | |
Karl Wiberg | 88aee28 | 2018-06-14 13:12:05 +0200 | [diff] [blame] | 137 | playSampFreq = 32000; |
| 138 | _pcmFile.Open(file_name, 32000, "wb+"); |
phoglund@webrtc.org | d1a860b | 2012-01-26 14:49:28 +0000 | [diff] [blame] | 139 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 140 | _realPayloadSizeBytes = 0; |
pbos@webrtc.org | 0946a56 | 2013-04-09 00:28:06 +0000 | [diff] [blame] | 141 | _playoutBuffer = new int16_t[WEBRTC_10MS_PCM_AUDIO]; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 142 | _frequency = playSampFreq; |
| 143 | _acm = acm; |
| 144 | _firstTime = true; |
| 145 | } |
| 146 | |
| 147 | void Receiver::Teardown() { |
tina.legrand@webrtc.org | d5726a1 | 2013-05-03 07:34:12 +0000 | [diff] [blame] | 148 | delete[] _playoutBuffer; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 149 | _pcmFile.Close(); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 150 | } |
| 151 | |
| 152 | bool Receiver::IncomingPacket() { |
| 153 | if (!_rtpStream->EndOfFile()) { |
| 154 | if (_firstTime) { |
| 155 | _firstTime = false; |
Niels Möller | bf47495 | 2019-02-18 12:00:06 +0100 | [diff] [blame] | 156 | _realPayloadSizeBytes = _rtpStream->Read(&_rtpHeader, _incomingPayload, |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 157 | _payloadSizeBytes, &_nextTime); |
andrew@webrtc.org | 975e4a3 | 2012-01-17 19:27:33 +0000 | [diff] [blame] | 158 | if (_realPayloadSizeBytes == 0) { |
| 159 | if (_rtpStream->EndOfFile()) { |
| 160 | _firstTime = true; |
| 161 | return true; |
| 162 | } else { |
andrew@webrtc.org | 975e4a3 | 2012-01-17 19:27:33 +0000 | [diff] [blame] | 163 | return false; |
| 164 | } |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 165 | } |
tina.legrand@webrtc.org | d5726a1 | 2013-05-03 07:34:12 +0000 | [diff] [blame] | 166 | } |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 167 | |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 168 | EXPECT_EQ(0, _acm->IncomingPacket(_incomingPayload, _realPayloadSizeBytes, |
Niels Möller | bf47495 | 2019-02-18 12:00:06 +0100 | [diff] [blame] | 169 | _rtpHeader)); |
| 170 | _realPayloadSizeBytes = _rtpStream->Read(&_rtpHeader, _incomingPayload, |
tina.legrand@webrtc.org | d5726a1 | 2013-05-03 07:34:12 +0000 | [diff] [blame] | 171 | _payloadSizeBytes, &_nextTime); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 172 | if (_realPayloadSizeBytes == 0 && _rtpStream->EndOfFile()) { |
| 173 | _firstTime = true; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 174 | } |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 175 | } |
| 176 | return true; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 177 | } |
| 178 | |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 179 | bool Receiver::PlayoutData() { |
| 180 | AudioFrame audioFrame; |
henrik.lundin | d4ccb00 | 2016-05-17 12:21:55 -0700 | [diff] [blame] | 181 | bool muted; |
| 182 | int32_t ok = _acm->PlayoutData10Ms(_frequency, &audioFrame, &muted); |
| 183 | if (muted) { |
| 184 | ADD_FAILURE(); |
| 185 | return false; |
| 186 | } |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 187 | EXPECT_EQ(0, ok); |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 188 | if (ok < 0) { |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 189 | return false; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 190 | } |
| 191 | if (_playoutLengthSmpls == 0) { |
| 192 | return false; |
| 193 | } |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 194 | _pcmFile.Write10MsData(audioFrame.data(), audioFrame.samples_per_channel_ * |
| 195 | audioFrame.num_channels_); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 196 | return true; |
| 197 | } |
| 198 | |
| 199 | void Receiver::Run() { |
pbos@webrtc.org | 0946a56 | 2013-04-09 00:28:06 +0000 | [diff] [blame] | 200 | uint8_t counter500Ms = 50; |
| 201 | uint32_t clock = 0; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 202 | |
| 203 | while (counter500Ms > 0) { |
| 204 | if (clock == 0 || clock >= _nextTime) { |
tina.legrand@webrtc.org | ee92b66 | 2013-08-27 07:33:51 +0000 | [diff] [blame] | 205 | EXPECT_TRUE(IncomingPacket()); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 206 | if (clock == 0) { |
| 207 | clock = _nextTime; |
| 208 | } |
| 209 | } |
| 210 | if ((clock % 10) == 0) { |
| 211 | if (!PlayoutData()) { |
| 212 | clock++; |
| 213 | continue; |
| 214 | } |
| 215 | } |
| 216 | if (_rtpStream->EndOfFile()) { |
| 217 | counter500Ms--; |
| 218 | } |
| 219 | clock++; |
| 220 | } |
| 221 | } |
| 222 | |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 223 | EncodeDecodeTest::EncodeDecodeTest() = default; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 224 | |
| 225 | void EncodeDecodeTest::Perform() { |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 226 | const std::map<int, SdpAudioFormat> send_codecs = { |
| 227 | {103, {"ISAC", 16000, 1}}, {104, {"ISAC", 32000, 1}}, |
| 228 | {107, {"L16", 8000, 1}}, {108, {"L16", 16000, 1}}, |
| 229 | {109, {"L16", 32000, 1}}, {0, {"PCMU", 8000, 1}}, |
| 230 | {8, {"PCMA", 8000, 1}}, |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 231 | #ifdef WEBRTC_CODEC_ILBC |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 232 | {102, {"ILBC", 8000, 1}}, |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 233 | #endif |
Jonas Olsson | a4d8737 | 2019-07-05 19:08:33 +0200 | [diff] [blame^] | 234 | {9, {"G722", 8000, 1}}}; |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 235 | int file_num = 0; |
| 236 | for (const auto& send_codec : send_codecs) { |
| 237 | RTPFile rtpFile; |
| 238 | std::unique_ptr<AudioCodingModule> acm(AudioCodingModule::Create( |
| 239 | AudioCodingModule::Config(CreateBuiltinAudioDecoderFactory()))); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 240 | |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 241 | std::string fileName = webrtc::test::TempFilename( |
| 242 | webrtc::test::OutputPath(), "encode_decode_rtp"); |
| 243 | rtpFile.Open(fileName.c_str(), "wb+"); |
| 244 | rtpFile.WriteHeader(); |
| 245 | Sender sender; |
| 246 | sender.Setup(acm.get(), &rtpFile, "audio_coding/testfile32kHz", 32000, |
| 247 | send_codec.first, send_codec.second); |
| 248 | sender.Run(); |
| 249 | sender.Teardown(); |
| 250 | rtpFile.Close(); |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 251 | |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 252 | rtpFile.Open(fileName.c_str(), "rb"); |
| 253 | rtpFile.ReadHeader(); |
| 254 | Receiver receiver; |
| 255 | receiver.Setup(acm.get(), &rtpFile, "encodeDecode_out", 1, file_num); |
| 256 | receiver.Run(); |
| 257 | receiver.Teardown(); |
| 258 | rtpFile.Close(); |
tina.legrand@webrtc.org | 4517585 | 2012-06-01 09:27:35 +0000 | [diff] [blame] | 259 | |
Fredrik Solenberg | 657b296 | 2018-12-05 10:30:25 +0100 | [diff] [blame] | 260 | file_num++; |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 261 | } |
tina.legrand@webrtc.org | 554ae1a | 2011-12-16 10:09:04 +0000 | [diff] [blame] | 262 | } |
| 263 | |
tina.legrand@webrtc.org | d5726a1 | 2013-05-03 07:34:12 +0000 | [diff] [blame] | 264 | } // namespace webrtc |