Friday, January 10, 2014

Redirecting streams in version 1.1.1

In version 1.1.1 of nginx-rtmp-module stream redirect feature is added. Now you can change currently played or published stream in realtime through control request.
The following call changes subscriber stream name to newname. The subscriber is found in myapp application by the IP address 127.0.0.1.

11 comments:

This is very nice. I've been wanting to do dynamic redirection for quite some time.

What kind of error handling does this offer? For instance if the "cam1" stream isn't connected and you try to redirect to it, what happens? Would there be a means of setting up and error handling redirect for an app to automatically redirect to if the stream doesn't exist, or if the stream cuts out for some reason?

Hello Roman, congrats for this amazing module on nginx, I'm just started playing around with just VOD nothing live yet but I'm curious to know of on VOD we will be able to move forward or backward the video??