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

Add support for requesting keyframes #199

Conversation

WojciechBarczynski
Copy link
Member

No description provided.

@wkozyra95 wkozyra95 changed the base branch from keyframes_support to compositor_0.3.0 July 12, 2024 09:09
lib/membrane/live_compositor/live_compositor.ex Outdated Show resolved Hide resolved
lib/membrane/live_compositor/api_client.ex Outdated Show resolved Hide resolved
lib/membrane/live_compositor/output_processor.ex Outdated Show resolved Hide resolved
lib/membrane/live_compositor/output_processor.ex Outdated Show resolved Hide resolved
lib/membrane/live_compositor/live_compositor.ex Outdated Show resolved Hide resolved
@@ -685,6 +674,13 @@ defmodule Membrane.LiveCompositor do
{[notify_parent: {:output_registered, pad_ref, state.context}], state}
end

@impl true
def handle_child_notification(:keyframe_request, {:output_processor, pad_id}, _ctx, state) do
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but I would probably send Request.KeyframeRequest from the output processor

@WojciechBarczynski WojciechBarczynski merged commit e1715be into compositor_0.3.0 Jul 15, 2024
3 checks passed
@WojciechBarczynski WojciechBarczynski deleted the @WojciechBarczynski/add_request_key_frame_endpoint branch July 15, 2024 11:50
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

Successfully merging this pull request may close these issues.

2 participants