-
Notifications
You must be signed in to change notification settings - Fork 851
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
[core] Added SRT time API #1367
[core] Added SRT time API #1367
Conversation
06d8ecb
to
9effe0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider ^^
from uint64_t
3529935
to
47400a2
Compare
1355122
to
554c429
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor edits.
6f7c12f
to
17d7330
Compare
@stevomatthews Applied suggested changes. |
1e9151f
to
8d00130
Compare
Co-authored-by: Sektor van Skijlen <ethouris@gmail.com> Co-authored-by: Steve Matthews <smatthews@haivision.com>
8d00130
to
4139601
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edits reviewed. All good.
This PR adds SRT API functions to get SRT internal clock timestamp for the current time and SRT connection start time.
Both these functions can be used for SRT Source Time functionality.
List of changes:
srt_timenow()
.srt_connection_time(SRTSOCKET)
.SRT_MSGCTRL::srctime
fromuint64_t
toint64_t
(?)Fixes #930
Closes #937