-
Notifications
You must be signed in to change notification settings - Fork 79
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 Image output in egress #506
Conversation
…amin/image_output
@@ -33,5 +34,9 @@ func BuildWebsocketBin(pipeline *gstreamer.Pipeline, appSinkCallbacks *app.SinkC | |||
return nil, err | |||
} | |||
|
|||
b.SetGetSrcPad(func(name string) *gst.Pad { |
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.
this probably isn't needed since the sink will only have one template
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.
Removed
} | ||
|
||
var w, h uint32 | ||
for _, t := range rp.Tracks() { |
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.
what happens if the participant publishes video late?
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.
Currently, it will default to the video encoding settings (which themselves default to 1080p). I just added a small fix to make sure this is true.
Changing the behavior to start the image output only when a video track joins would be better, but I do not have any way to add the image output on the running pipeline yet. This will come when I implement "UpdateOutputs".
This adds preliminary support for generating images at regular interval for a session in egress. This is still mostly untested with only basic integration test support.