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

Sync the NTP timestamps for SRT,RTP, RTMP streams. [ enhancement ] #11

Open
drunkod opened this issue Apr 14, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@drunkod
Copy link

drunkod commented Apr 14, 2023

Please add synchronizing media streams function. This is a unique feature for the project and can attract users like OBS.

This is already implemented in RTP.
SRT?, RTMP? implementation is necessary.

Larix Broadcaster (aka mobile obs) streaming client has added a feature to send NTP timestamps for all supported streams:
Insert SEI time metadata and specify NTP server, this allows synchronizing streams on server side.
https://softvelum.com/timesync/

RTP - Synchronizing media streams: Implementation of NTP is not required to use RTP... However, if NTP timestamp implemented in RTCP, it can be used to synchronize media streams even from different host... https://gist.github.com/simonkim/a9a3aa4f1ca04448c64212b3b079d107
Synchronizing Streams via SRT:

Some SRT encoders like new JVC-cams , Haivision-encoder and software encoder LarixBroadcaster (iPhone/Android) can do this:
synchronize internal clock by time-server (usually by NTP protocol).
It means all encoders have one clock:if one camera has time 11:59:59 then other cameras have same time.
send this time inside encoded feed (SEI metainfo)

Haivision/srt#2044 (comment)

https://manpages.ubuntu.com/manpages/focal/man1/srt-multiplex.1.html

@jstabenow jstabenow added the enhancement New feature or request label Apr 25, 2023
@jstabenow
Copy link
Member

This is an interesting idea we will discuss in the future. However, this also requires integration with FFmpeg.
Thank you very much.

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

No branches or pull requests

3 participants