Set the preferred DSCP value for Rtp data channel to be DSCP_AF41.

BUG=b/31996729

Review-Url: https://codereview.webrtc.org/2539813003
Cr-Commit-Position: refs/heads/master@{#15449}
This commit is contained in:
zhihuang
2016-12-06 10:45:42 -08:00
committed by Commit bot
parent 66f99a4b8e
commit ebbe4f2ed5
13 changed files with 77 additions and 33 deletions

View File

@ -70,9 +70,10 @@ class RtpDataMediaChannelTest : public testing::Test {
}
cricket::RtpDataMediaChannel* CreateChannel(cricket::RtpDataEngine* dme) {
cricket::MediaConfig config;
cricket::RtpDataMediaChannel* channel =
static_cast<cricket::RtpDataMediaChannel*>(dme->CreateChannel(
cricket::DCT_RTP));
static_cast<cricket::RtpDataMediaChannel*>(
dme->CreateChannel(cricket::DCT_RTP, config));
channel->SetInterface(iface_.get());
channel->SignalDataReceived.connect(
receiver_.get(), &FakeDataReceiver::OnDataReceived);