Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Mar 7, 2024
1 parent d203472 commit e7757ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions worker/src/RTC/Codecs/H264_SVC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ namespace RTC
// Single NAL unit packet.
// IDR (instantaneous decoding picture).
case 5:
{
payloadDescriptor->isKeyFrame = true;
}

case 1:
{
payloadDescriptor->slIndex = 0;
Expand All @@ -177,6 +180,7 @@ namespace RTC

break;
}

case 14:
case 20:
{
Expand Down Expand Up @@ -210,6 +214,7 @@ namespace RTC

break;
}

case 7:
{
payloadDescriptor->isKeyFrame = isStartBit ? true : false;
Expand Down

0 comments on commit e7757ee

Please sign in to comment.