Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Unified Diff: talk/session/media/channel_unittest.cc

Issue 1646253004: Split out dscp option from VideoOptions to new struct MediaChannelOptions. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | talk/session/media/channelmanager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/session/media/channel_unittest.cc
diff --git a/talk/session/media/channel_unittest.cc b/talk/session/media/channel_unittest.cc
index 5bbe1e7d8c936a41606bb869aacd2cb5cc58b9f7..4dcfc5b46cffed7e49ea9c8df9236f9398ba3f29 100644
--- a/talk/session/media/channel_unittest.cc
+++ b/talk/session/media/channel_unittest.cc
@@ -143,9 +143,12 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
media_info_callbacks2_() {}
void CreateChannels(int flags1, int flags2) {
- CreateChannels(new typename T::MediaChannel(NULL, typename T::Options()),
- new typename T::MediaChannel(NULL, typename T::Options()),
- flags1, flags2, rtc::Thread::Current());
+ CreateChannels(
+ new typename T::MediaChannel(NULL, cricket::MediaChannelOptions(),
+ typename T::Options()),
+ new typename T::MediaChannel(NULL, cricket::MediaChannelOptions(),
+ typename T::Options()),
+ flags1, flags2, rtc::Thread::Current());
}
void CreateChannels(
typename T::MediaChannel* ch1, typename T::MediaChannel* ch2,
@@ -956,7 +959,10 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
void TestCallTeardownRtcpMux() {
class LastWordMediaChannel : public T::MediaChannel {
public:
- LastWordMediaChannel() : T::MediaChannel(NULL, typename T::Options()) {}
+ LastWordMediaChannel()
+ : T::MediaChannel(NULL,
+ cricket::MediaChannelOptions(),
+ typename T::Options()) {}
~LastWordMediaChannel() {
T::MediaChannel::SendRtp(kPcmuFrame, sizeof(kPcmuFrame),
rtc::PacketOptions());
« no previous file with comments | « talk/app/webrtc/webrtcsession_unittest.cc ('k') | talk/session/media/channelmanager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698