Hi,
I'm writing a system that generates a video stream and sends it over rtmp.
For each frame, I have a video frame as well as some binary, raw data that's associated with the frame. This data contains data that's specific to my application and has to be sent as well as the video frame.
I'm looking for a way to attach this binary data to each video frame so that the client can separate them and use the video frame and the binary data.
i.e I have a function that gets a video frame and a void* raw data and it needs to mux them and send them together over RTMP.
Can anyone help? What's the best way to add the layer of binary data?
Thanks!
Attaching raw data to a video frame
Re: Attaching raw data to a video frame
Have you considered adding a data stream to what you're muxing?
See this post for an example: https://stackoverflow.com/questions/358 ... 4#59110534
See this post for an example: https://stackoverflow.com/questions/358 ... 4#59110534
'