зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1708813: Test-case for bug. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D114039
This commit is contained in:
Родитель
185ab5e4f4
Коммит
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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче