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

Refactor RTMP namespace #96

Merged
merged 8 commits into from
Aug 13, 2024
Merged

Refactor RTMP namespace #96

merged 8 commits into from
Aug 13, 2024

Conversation

varsill
Copy link
Contributor

@varsill varsill commented Aug 7, 2024

This PR:

  • bumps version to v0.24.0
  • Changes namespace RTMP.Server into RTMPServer
  • Move the parse_url utils function to RTMPServer
  • Fixes a bug with parse_url so that it now support URLs without app and stream_key
  • Unifies RTMPServer.ClientHandler and RTMPServer.ClientHandlerBehaviour
  • Renames Source.ClientHandler into Source.ClientHandlerForSource

@varsill varsill requested a review from Qizot as a code owner August 7, 2024 12:38
@varsill varsill marked this pull request as draft August 7, 2024 12:39
@varsill varsill requested a review from mat-hek August 7, 2024 12:44
@varsill varsill marked this pull request as ready for review August 7, 2024 12:46
@varsill varsill requested a review from bartkrak August 7, 2024 12:50
Copy link
Contributor

Choose a reason for hiding this comment

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

This was used in boombox, so it will need an update.

@@ -1,10 +1,10 @@
defmodule Membrane.RTMP.Source.ClientHandler do
defmodule Membrane.RTMP.Source.ClientHandlerForSource do
Copy link
Member

Choose a reason for hiding this comment

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

I understand it's to avoid confusion with the behaviour, but I'd leave it as is, just never alias it. Alternatively let's call it ClientHandlerImpl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm up to the second option ;)

@varsill varsill requested review from mat-hek and removed request for Qizot August 12, 2024 12:24
@varsill varsill merged commit ba8e03a into master Aug 13, 2024
3 checks passed
@varsill varsill deleted the refactor_namespaces branch August 13, 2024 09:08
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.

3 participants