mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 1708813: Test-case for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D114039
This commit is contained in:
parent
185ab5e4f4
commit
98d9c7db9a
@ -5026,6 +5026,13 @@ TEST_F(JsepSessionTest, TestAnswerPTAsymmetry) {
|
||||
ASSERT_TRUE(codec);
|
||||
ASSERT_EQ("opus", codec->mName);
|
||||
ASSERT_EQ("105", codec->mDefaultPt);
|
||||
|
||||
// Offerer should use 105 for reoffers
|
||||
offer = CreateOffer();
|
||||
ASSERT_NE(std::string::npos, offer.find("a=rtpmap:105 opus")) << offer;
|
||||
ASSERT_EQ(std::string::npos, offer.find("a=rtpmap:109 opus")) << offer;
|
||||
ASSERT_NE(std::string::npos, offer.find("a=fmtp:105")) << offer;
|
||||
ASSERT_EQ(std::string::npos, offer.find("a=fmtp:109")) << offer;
|
||||
}
|
||||
|
||||
TEST_F(JsepSessionTest, PayloadTypeClash) {
|
||||
|
Loading…
Reference in New Issue
Block a user