Skip to content

VideoStreaming Buffer issue #37

@leochan2009

Description

@leochan2009

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:

  1. The size of circular buffer should be larger(current size is 3), so no key frame message is washed away.
  2. The circular buffer should be able to perform "the first come first serve".
  3. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions