WebRTC edits for code acceptance

This commit is contained in:
Thulinma 2018-12-03 19:35:19 +01:00
parent 7e8eb634e6
commit e4471627ca
4 changed files with 396 additions and 478 deletions

View file

@ -1097,13 +1097,13 @@ namespace SDP{
for (size_t j = 0; j < formats.size(); ++j){
if (codec == "H264"){
if (formats[j]->getPacketizationModeForH264() != 1){
FAIL_MSG(
MEDIUM_MSG(
"Skipping this H264 format because it uses a packetization mode we don't support.");
format = NULL;
continue;
}
if (formats[j]->getProfileLevelIdForH264() != "42e01f") {
FAIL_MSG("Skipping this H264 format because it uses an unsupported profile-level-id.");
MEDIUM_MSG("Skipping this H264 format because it uses an unsupported profile-level-id.");
format = NULL;
continue;
}