You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking to use this for multiple source / destination.
RTMP clients would come into this server and on_connect will look up and rewrite to the "live" application.
I'd expect there to only be one "live" application and be able to dynamically proxy pass to many different backends based on the value in the original /<stream_key>.
Is this possible without setting up unique application handlers?
I'd rather not have to use notify_send_redirect and have the client needing to support this.
The text was updated successfully, but these errors were encountered:
dcarrion87
changed the title
Possible to dynamic proxy pass
Dynamic proxy pass
Dec 10, 2023
HTTP 3xx redirects RTMP to another stream whose name is taken from Location HTTP response header. If new stream name is started with rtmp:// then remote relay is created instead. Relays require that IP address is specified instead of domain name and only work with nginx versions greater than 1.3.10. See also notify_relay_redirect.
In other words, you can send rtmp://ip/app/key from the on_publish handler to dynamically create a remote relay rather than a redirect.
Looking to use this for multiple source / destination.
RTMP clients would come into this server and on_connect will look up and rewrite to the "live" application.
I'd expect there to only be one "live" application and be able to dynamically proxy pass to many different backends based on the value in the original /<stream_key>.
Is this possible without setting up unique application handlers?
I'd rather not have to use notify_send_redirect and have the client needing to support this.
The text was updated successfully, but these errors were encountered: