Re-Stream Red5 RTMP Stream

276 views
Skip to first unread message

Todd Leishman

unread,
Aug 16, 2016, 6:24:19 PM8/16/16
to Mistserver.org
I am trying to re-stream a Red5 RTMP Stream and send it out as a HTTP Live Stream

On VLC, I can view the Red5 Stream using this URL: rtmp://192.168.2.153/live/livestream, so I know it is working.

In Mistserver, I don't understand how to setup the RTMP stream as my source for a new live stream.  In the management interface, I have clicked Streams/New Streams and entered the following information:
Stream Name: flash_rtmp_test
Source: push://192.168.2.153

When I do this, the status always remains unavailable.  How can I set this up correctly?

I am testing this on a local network for now...  The Red5 server is at 192.168.2.153.  The Mistserver is at 192.168.2.154.

Thank you for your help.

Balder Vietor

unread,
Aug 18, 2016, 7:56:37 AM8/18/16
to mists...@googlegroups.com
Hello Todd,

The stream availability text can be behind about 15 seconds, so you might be able to watch it before the status changes. The preview page should be available almost instantly once a push start, so you could use that to check as well.

Most likely there's an error in the stream url to MistServer: Does anything come up from the MistServer log? It should mention it's rejecting a stream due to a different name or not white-listed IP.

There's a few things you can try to find the issue: 
- Is Red5 pushing the stream or is it making it available? MistServer can only work with RTMP pushes, at this time it cannot pull an RTMP from another server. If it's only making it available you'll need to use an pushing application in between (for example ffmpeg:

ffmpeg -re -i rtmp://192.168.2.153/live/livestream -c copy -f flv rtmp://192.168.2.154/live/flash_rtmp_test

Should do the trick) I can't remember if Red5 had pushing capabilities or not.

- What is the stream url pushing to MistServer? With the settings you've got right now it should be: 

- Is the RTMP port available on the system running MistServer? If the RTMP port (default 1935) cannot be used any live stream will fail and you'll need to change the port to another number (you'll have to include it in your RTMP urls then like this:
  rtmp://192.168.2.154:PORT/live/flash_rtmp_test

- While it looks like you've got your IP correctly set up, you can test it with just "push://" that'll allow an incoming push from any IP. 

I hope that'll help you a bit further, let me know if it doesn't! 

With kind regards,

Balder Viëtor
Product Management & Head of testing



--
You received this message because you are subscribed to the Google Groups "Mistserver.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mistserver+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages