We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In H264_SVC::ParseSingleNalu() in worker/src/RTC/Codecs/H264_SVC.cpp:
H264_SVC::ParseSingleNalu()
worker/src/RTC/Codecs/H264_SVC.cpp
std::unique_ptr<H264_SVC::PayloadDescriptor> H264_SVC::ParseSingleNalu( const uint8_t* data, size_t len, std::unique_ptr<H264_SVC::PayloadDescriptor> payloadDescriptor, bool isStartBit) { const uint8_t nal = *data & 0x1F; switch (nal) { // Single NAL unit packet. // IDR (instantaneous decoding picture). case 5: { payloadDescriptor->isKeyFrame = true; } case 1: { payloadDescriptor->slIndex = 0; payloadDescriptor->tlIndex = 0; payloadDescriptor->hasSlIndex = false; payloadDescriptor->hasTlIndex = false; break; } // etc
In case 5 block there is no break. Is it on purpose?
case 5
break
@prtmD, as author of this code, maybe you know?
Some library that may help: https://github.com/chemag/h264nal/
The text was updated successfully, but these errors were encountered:
ibc
jmillan
No branches or pull requests
In
H264_SVC::ParseSingleNalu()
inworker/src/RTC/Codecs/H264_SVC.cpp
:In
case 5
block there is nobreak
. Is it on purpose?@prtmD, as author of this code, maybe you know?
Some library that may help: https://github.com/chemag/h264nal/
The text was updated successfully, but these errors were encountered: