mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset 36a2061cff79 (bug 863306)
This commit is contained in:
parent
d703cca0e3
commit
1e2d09585f
@ -179,7 +179,7 @@ static const int gDscpCallControl = 1;
|
||||
static const int gSpeakerEnabled = 1;
|
||||
static const char gExternalNumberMask[] = "";
|
||||
static const char gVersion[] = "0.1";
|
||||
static const boolean gRTCPMUX = FALSE;
|
||||
static const boolean gRTCPMUX = TRUE;
|
||||
static boolean gRTPSAVPF = TRUE; /* TRUE = RTP/SAVPF , FALSE = RTP/SAVP */
|
||||
static const boolean gMAXAVBITRATE = FALSE; /* Following six are OPUS fmtp options */
|
||||
static const boolean gMAXCODEDAUDIOBW = FALSE;
|
||||
|
@ -37,7 +37,6 @@ MtransportTestUtils *test_utils;
|
||||
nsCOMPtr<nsIThread> gThread;
|
||||
|
||||
static int kDefaultTimeout = 5000;
|
||||
static bool fRtcpMux = false;
|
||||
|
||||
static std::string callerName = "caller";
|
||||
static std::string calleeName = "callee";
|
||||
@ -1684,14 +1683,11 @@ TEST_F(SignalingTest, FullCall)
|
||||
// Check the low-level media pipeline
|
||||
// for RTP and RTCP flows
|
||||
// The first Local pipeline gets stored at 0
|
||||
a1_.CheckMediaPipeline(0, 0, fRtcpMux ?
|
||||
PIPELINE_LOCAL | PIPELINE_RTCP_MUX | PIPELINE_SEND :
|
||||
PIPELINE_LOCAL | PIPELINE_SEND);
|
||||
a1_.CheckMediaPipeline(0, 0,
|
||||
PIPELINE_LOCAL | PIPELINE_RTCP_MUX | PIPELINE_SEND);
|
||||
|
||||
// The first Remote pipeline gets stored at 1
|
||||
a2_.CheckMediaPipeline(0, 1, fRtcpMux ?
|
||||
PIPELINE_RTCP_MUX :
|
||||
0);
|
||||
a2_.CheckMediaPipeline(0, 1, PIPELINE_RTCP_MUX);
|
||||
}
|
||||
|
||||
TEST_F(SignalingTest, FullCallAudioOnly)
|
||||
@ -2414,10 +2410,8 @@ TEST_F(SignalingTest, FullCallAudioNoMuxVideoMux)
|
||||
|
||||
// Answer should have only one a=rtcp-mux line
|
||||
size_t match = a2_.getLocalDescription().find("\r\na=rtcp-mux");
|
||||
if (fRtcpMux) {
|
||||
ASSERT_NE(match, std::string::npos);
|
||||
match = a2_.getLocalDescription().find("\r\na=rtcp-mux", match + 1);
|
||||
}
|
||||
ASSERT_NE(match, std::string::npos);
|
||||
match = a2_.getLocalDescription().find("\r\na=rtcp-mux", match + 1);
|
||||
ASSERT_EQ(match, std::string::npos);
|
||||
|
||||
ASSERT_TRUE_WAIT(a1_.IceCompleted() == true, kDefaultTimeout);
|
||||
@ -2437,17 +2431,14 @@ TEST_F(SignalingTest, FullCallAudioNoMuxVideoMux)
|
||||
a1_.CheckMediaPipeline(0, 0, PIPELINE_LOCAL | PIPELINE_SEND);
|
||||
|
||||
// Now check video mux.
|
||||
a1_.CheckMediaPipeline(0, 1, fRtcpMux ?
|
||||
PIPELINE_LOCAL | PIPELINE_RTCP_MUX | PIPELINE_SEND | PIPELINE_VIDEO :
|
||||
PIPELINE_LOCAL | PIPELINE_SEND | PIPELINE_VIDEO);
|
||||
a1_.CheckMediaPipeline(0, 1,
|
||||
PIPELINE_LOCAL | PIPELINE_RTCP_MUX | PIPELINE_SEND | PIPELINE_VIDEO);
|
||||
|
||||
// The first Remote pipeline gets stored at 1
|
||||
a2_.CheckMediaPipeline(0, 1, 0);
|
||||
|
||||
// Now check video mux.
|
||||
a2_.CheckMediaPipeline(0, 2, fRtcpMux ?
|
||||
PIPELINE_RTCP_MUX | PIPELINE_VIDEO :
|
||||
PIPELINE_VIDEO);
|
||||
a2_.CheckMediaPipeline(0, 2, PIPELINE_RTCP_MUX | PIPELINE_VIDEO);
|
||||
}
|
||||
|
||||
} // End namespace test.
|
||||
|
Loading…
Reference in New Issue
Block a user