WebRTC edits for code acceptance
This commit is contained in:
parent
7e8eb634e6
commit
e4471627ca
4 changed files with 396 additions and 478 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue