Hi,
I'm trying to get a simple livestream set up w red5.
I downloaded the installation and ran red5.sh. I then used OBS to start streaming to localhost:<port>/someKey. OBS didn't fail, and the server logs appear to indicate the incoming stream was being received.
1. Where is the stream served? I.e. where do I get the playback url?
2. Is the video being saved to disk anywhere? I couldn't find it.
Thanks!
-Rodrigo
On Jun 18, 2015, at 12:30 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Hi,
I'm trying to get a simple livestream set up w red5.
I downloaded the installation and ran red5.sh. I then used OBS to start streaming to localhost:<port>/someKey. OBS didn't fail, and the server logs appear to indicate the incoming stream was being received.
1. Where is the stream served? I.e. where do I get the playback url?
2. Is the video being saved to disk anywhere? I couldn't find it.
Thanks!
-Rodrigo--
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need a Flash application that will playback the stream. I would look at any NetStream tutorial out there as a quick way to get something running. Or look at the OFLA Demo app that ships with Red5. In particular look at the SimpleSubscriber.On Jun 18, 2015, at 12:30 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Hi,
I'm trying to get a simple livestream set up w red5.
I downloaded the installation and ran red5.sh. I then used OBS to start streaming to localhost:<port>/someKey. OBS didn't fail, and the server logs appear to indicate the incoming stream was being received.
1. Where is the stream served? I.e. where do I get the playback url?
Red5 won’t record unless it’s told to do so by the publisher. I don’t know much about OBS, but there should be a way to cause OBS to add the NetStream record flag to tell the server to record the stream.2. Is the video being saved to disk anywhere? I couldn't find it.
On Jun 18, 2015, at 2:50 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Thank you Chris!Some follow-ups inline.On Thu, Jun 18, 2015 at 11:07 AM, Chris Allen <mrchri...@gmail.com> wrote:You need a Flash application that will playback the stream. I would look at any NetStream tutorial out there as a quick way to get something running. Or look at the OFLA Demo app that ships with Red5. In particular look at the SimpleSubscriber.On Jun 18, 2015, at 12:30 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Hi,
I'm trying to get a simple livestream set up w red5.
I downloaded the installation and ran red5.sh. I then used OBS to start streaming to localhost:<port>/someKey. OBS didn't fail, and the server logs appear to indicate the incoming stream was being received.
1. Where is the stream served? I.e. where do I get the playback url?
I have a player (e.g. SimpleSubscriber), but I don't know what the playback url is to connect the player to.The more detailed story: I'm sending my stream to: rtmp://localhost/testStream.
The logs read:[INFO] [RTMPConnectionExecutor#2KHDOP3RFIFBQ-1] org.red5.server.stream.ClientBroadcastStream - Stream start: testStreamLGTM. Then, if I go to, say, the SimpleSubscriber demo (localhost:5080/demos/simpleSubscriber.html) to play back the stream, I'm asked to put in a URL. It is pre-populated with "rtmp://localhost/oflaDemo". I tried oflaDemo, testStream, and live/testStream, but the result is always the same:[WARN] [RTMPConnectionExecutor#WE1XZXYWL8IRR-1] org.red5.server.scope.Scope - Requested scope: testStream is not of IScope type: org.red5.server.scope.BroadcastScope[WARN] [RTMPConnectionExecutor#WE1XZXYWL8IRR-1] org.red5.server.net.rtmp.RTMPHandler - Scope not foundorg.red5.server.exception.ScopeNotFoundException: Scope not found: testStream in nullat org.red5.server.scope.ScopeResolver.resolveScope(ScopeResolver.java:106) ~[red5-server.jar:na]at org.red5.server.Context.resolveScope(Context.java:154) ~[red5-server.jar:na]How do I set testStream's scope type to BroadcastScope?Red5 won’t record unless it’s told to do so by the publisher. I don’t know much about OBS, but there should be a way to cause OBS to add the NetStream record flag to tell the server to record the stream.2. Is the video being saved to disk anywhere? I couldn't find it.
Interesting. I'll look more into OBS, but I expect my users to use different broadcasting software, some of which might not be able to set that flag.Is there a way to configure the red5 server to record all incoming streams by default?
Thanks again! :)
On Jun 18, 2015, at 2:50 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Thank you Chris!Some follow-ups inline.On Thu, Jun 18, 2015 at 11:07 AM, Chris Allen <mrchri...@gmail.com> wrote:You need a Flash application that will playback the stream. I would look at any NetStream tutorial out there as a quick way to get something running. Or look at the OFLA Demo app that ships with Red5. In particular look at the SimpleSubscriber.On Jun 18, 2015, at 12:30 PM, Rodrigo Ipince <rod...@kamcord.com> wrote:Hi,
I'm trying to get a simple livestream set up w red5.
I downloaded the installation and ran red5.sh. I then used OBS to start streaming to localhost:<port>/someKey. OBS didn't fail, and the server logs appear to indicate the incoming stream was being received.
1. Where is the stream served? I.e. where do I get the playback url?
I have a player (e.g. SimpleSubscriber), but I don't know what the playback url is to connect the player to.The more detailed story: I'm sending my stream to: rtmp://localhost/testStream.Try configuring OBS to send the stream to rtmp://localhost/oflaDemo/testStreamOr alternatively, try rtmp://localhost/live/testStreamBasically you need to tell your broadcaster to stream to a specific application or Scope. The OFLA Demo stuff is setup to use the oflaDemo application. “live” is also another preinstalled application on Red5.