Skip to content
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

Support for Video dump Playback in the libpeer sample app which is received from Browser client #85

Open
rakesheluv opened this issue Aug 12, 2024 · 0 comments

Comments

@rakesheluv
Copy link

Support for Video Playback in the sample app:

I could modify the test browser client which runs on Firefox to perform video capture from PC camera and send video in H264 format and send it to application runs on ubuntu (./example/sample/sample).

I have added callback in the libpeer configuration ( void (*onvideotrack)(uint8_t *data, size_t size, void *userdata);), I could video is getting received in the callback. On dumping the video and found that video is not playable.

Then, I added start code for h264 (for SPS, PPS, other data by adding 0x00 0x00 0x00 0x01). After adding this start code and I found that the video dump is playable with lot of macroblocks using FFPLAY.

On further analysis, looks like a jitter buffer with frame ordering/dropping a logic is pending to be implemented in libpeer. Is that right ? May I know when will that be available ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant