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

Replace RTP.SessionBins with RTP.Muxers and RTP.Demuxers #213

Merged
merged 6 commits into from
Jan 16, 2025
Merged

Conversation

Noarkhh
Copy link
Contributor

@Noarkhh Noarkhh commented Jan 14, 2025

@Noarkhh Noarkhh changed the title Use new rtp Replace RTP.SessionBins with RTP.Muxers and RTP.Demuxers Jan 14, 2025
@wkozyra95 wkozyra95 self-requested a review January 15, 2025 12:53
examples/mix.exs Outdated
@@ -34,9 +34,10 @@ defmodule Membrane.LiveCompositor.Examples.Mixfile do
# Examples
{:membrane_file_plugin, "~> 0.17.0"},
{:membrane_realtimer_plugin, "~> 0.9.0"},
{:membrane_sdl_plugin, "~> 0.18.2"},
#{:membrane_sdl_plugin, "~> 0.18.2"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

?

|> via_out(:output, options: [stream_id: {:payload_type, 97}])
|> child(%Membrane.RTP.JitterBuffer{latency: 0, clock_rate: 48_000})
|> child(RTP.Opus.Depayloader)
|> child({:output_processor, pad_id}, Membrane.LiveCompositor.AudioOutputProcessor)
|> bin_output(Pad.ref(:audio_output, pad_id))
Copy link
Collaborator

@wkozyra95 wkozyra95 Jan 15, 2025

Choose a reason for hiding this comment

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

I think output_processor for video and audio is no longer necessary after this change. But it is not strictly related to this change, so you can leave if if you want.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Aren't they still responsible for requesting keyframes?

@Noarkhh Noarkhh merged commit 7ff5032 into master Jan 16, 2025
3 checks passed
@Noarkhh Noarkhh deleted the use-new-rtp branch January 16, 2025 16:41
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.

[live_compositor_plugin] Use RTP Muxer and Demuxer instead of SessionBin
2 participants