| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright 2012 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 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 | 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 | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| 11 #include <memory> | 11 #include <memory> | 
| 12 #include <string> | 12 #include <string> | 
| 13 #include <utility> | 13 #include <utility> | 
| 14 | 14 | 
| 15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "webrtc/test/gmock.h" | 
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "webrtc/test/gtest.h" | 
| 17 #include "webrtc/api/audiotrack.h" | 17 #include "webrtc/api/audiotrack.h" | 
| 18 #include "webrtc/api/fakemediacontroller.h" | 18 #include "webrtc/api/fakemediacontroller.h" | 
| 19 #include "webrtc/api/localaudiosource.h" | 19 #include "webrtc/api/localaudiosource.h" | 
| 20 #include "webrtc/api/mediastream.h" | 20 #include "webrtc/api/mediastream.h" | 
| 21 #include "webrtc/api/remoteaudiosource.h" | 21 #include "webrtc/api/remoteaudiosource.h" | 
| 22 #include "webrtc/api/rtpreceiver.h" | 22 #include "webrtc/api/rtpreceiver.h" | 
| 23 #include "webrtc/api/rtpsender.h" | 23 #include "webrtc/api/rtpsender.h" | 
| 24 #include "webrtc/api/streamcollection.h" | 24 #include "webrtc/api/streamcollection.h" | 
| 25 #include "webrtc/api/test/fakevideotracksource.h" | 25 #include "webrtc/api/test/fakevideotracksource.h" | 
| 26 #include "webrtc/api/videotracksource.h" | 26 #include "webrtc/api/videotracksource.h" | 
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 611   CreateVideoRtpReceiver(); | 611   CreateVideoRtpReceiver(); | 
| 612 | 612 | 
| 613   RtpParameters params = video_rtp_receiver_->GetParameters(); | 613   RtpParameters params = video_rtp_receiver_->GetParameters(); | 
| 614   EXPECT_EQ(1u, params.encodings.size()); | 614   EXPECT_EQ(1u, params.encodings.size()); | 
| 615   EXPECT_TRUE(video_rtp_receiver_->SetParameters(params)); | 615   EXPECT_TRUE(video_rtp_receiver_->SetParameters(params)); | 
| 616 | 616 | 
| 617   DestroyVideoRtpReceiver(); | 617   DestroyVideoRtpReceiver(); | 
| 618 } | 618 } | 
| 619 | 619 | 
| 620 }  // namespace webrtc | 620 }  // namespace webrtc | 
| OLD | NEW | 
|---|