-
Notifications
You must be signed in to change notification settings - Fork 12
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
Conversation
lib/membrane_rtmp_plugin/utils.ex
Outdated
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 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 |
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.
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
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.
I'm up to the second option ;)
This PR:
RTMP.Server
intoRTMPServer
parse_url
utils function to RTMPServerparse_url
so that it now support URLs without app and stream_keyRTMPServer.ClientHandler
andRTMPServer.ClientHandlerBehaviour
Source.ClientHandler
intoSource.ClientHandlerForSource