-
Notifications
You must be signed in to change notification settings - Fork 341
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
Adding sample checks & DTS generation for multistream sample #1229
base: develop
Are you sure you want to change the base?
Conversation
d87aa3a
to
368b67a
Compare
368b67a
to
b885357
Compare
b885357
to
a07b13f
Compare
@@ -0,0 +1,290 @@ | |||
name: Producer CPP Sample Checks |
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.
producer cpp sample checks- build/run for mac/ubuntu 2 versions /windows
while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done | ||
|
||
sudo ln -s ~/.docker/run/docker.sock /var/run/docker.sock | ||
|
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.
Can we use gst-rtsp-server?
@@ -259,6 +261,12 @@ static GstFlowReturn on_new_sample(GstElement *sink, CustomData *data) { | |||
|
|||
buffer->pts += data->producer_start_time_map[stream_handle_key] - data->first_pts_map[stream_handle_key]; | |||
|
|||
if (!GST_BUFFER_DTS_IS_VALID(buffer)) { | |||
buffer->dts = data->last_dts_map[stream_handle_key] + DEFAULT_FRAME_DURATION_MS * HUNDREDS_OF_NANOS_IN_A_MILLISECOND * DEFAULT_TIME_UNIT_IN_NANOS; |
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.
//monotonic
Issue #, if available:
Description of changes:
This PR introduces the following improvements and fixes:
CI Enhancements
Bug Fixes
kvssink
, so I just ported those changes over to this sample. Verified locally and through the CI that the media can now be uploaded, and checked playback from the AWS console.Resolved minor inconsistencies in CI scripts (e.g., unnecessary trailing spaces, formatting issues).
Implementation notes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.