Hi all,
I found that the current circular buffer is not suitable for video steaming purpose, as it is "last come first serve". For example the server encodes frame 1,2,3,4,5...etc and send to the client, the client might have only decoded the frame 1,3,5, which resulted in distorted image frames. It become even worse if key frame is missed.
To achieve successful decoding and only display the latest video frame.
The connector should process the message buffer in this way:
- The size of circular buffer should be larger(current size is 3), so no key frame message is washed away.
- The circular buffer should be able to perform "the first come first serve".
- Once the PeriodicProcess() function in connector executes, it should decode all the video messages in the circular buffer and display the latest frame only.
Any recommendation?
@drouin-simon , i remember a college of you Etienne Léger successfully decoded the video on the iPad, what kind of mechanism he used? it would be great to learn from his experience.
Best,
Longquan
Hi all,
I found that the current circular buffer is not suitable for video steaming purpose, as it is "last come first serve". For example the server encodes frame 1,2,3,4,5...etc and send to the client, the client might have only decoded the frame 1,3,5, which resulted in distorted image frames. It become even worse if key frame is missed.
To achieve successful decoding and only display the latest video frame.
The connector should process the message buffer in this way:
Any recommendation?
@drouin-simon , i remember a college of you Etienne Léger successfully decoded the video on the iPad, what kind of mechanism he used? it would be great to learn from his experience.
Best,
Longquan