-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
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
add SetExtraData to CodecParameters to set extradata #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Out of curiosity, would you mind sharing the extradata you needed to publish your rtmp stream? 🤔
done =) |
When pushing a h264 rtmp stream you need to set the H264 SPS/PPS as extra data, its like meta data, so that decoder knows how it can decode it correctly. =) In my case a I got a h264 bytestream from a IP-Camera the first frame is an IDR Frame, this includes the SPS,PPS. |
Thanks for the PR! ❤️ Let me know whether you need a tag 👍 |
Ha you mean that you're using the |
correct =) |
thanks no tag needed =) |
For publishing an rtmp stream extradata needs to be set (PPS, SPS h264).