I’m sorry,
probably I’m doing some confusion.
At the moment I’ve tried to follow the user manual setting up one server like origin server and a second server like an edge server, but always I see thuis warn:
LiveMediaStreamreceiver.connect: failure
and the edge server dowesn’t work.
Probably is better if I recap my configuration for a better analisys.
I’m using two servers, both 3.0.3 version.
On the origin server I’ve defined an application named Radio1Origin and on the application.xml I’ve written:
<StreamType>liverepeater-origin</StreamType>
<LiveStreamPacketizers>cupertinostreamingpacketizer,smoothstreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>
In the startupStreams.xml I’ve set:
<StartupStream>
<Application>Radio1Origin/_definst_</Application>
<MediaCasterType>shoutcast</MediaCasterType>
<StreamName>Radio1Origin.stream</StreamName>
</StartupStream>
Then in the content folder I’ve created Radio1Origin.stream with the url of the shotcast server where to get the aac audio (http://locahost:port).
This first part works, if I play this stream using:
rtmp://server/Radio1Origin
Radio1Origin.stream
the jwplayer player works.
Now let’s see the edge server.
I’ve defined an application named Radio1 and on the application.xml I’ve written:
<StreamType>liverepeater-edge</StreamType>
<LiveStreamPacketizers>cupertinostreamingrepeater,smoothstreamingrepeater,sanjosestreamingrepeater</LiveStreamPacketizers>
<Repeater>
<OriginURL>rtmp://origin_server/Radio1Origin</OriginURL>
<QueryString><![CDATA[]]></QueryString>
</Repeater>
In the startupStreams.xml on the edge server I’ve set:
<StartupStream>
<Application>Radio1/_definst_</Application>
<MediaCasterType>liverepeater</MediaCasterType>
<StreamName>Radio1.stream</StreamName>
</StartupStream>
I didn’t set any file in the content folder on the edge server.
So, when I boot the edge server I see this warning: LiveMediaStreamreceiver.connect: failure
Then I set these parameters on the jwplayer:
rtmp://edge_server/Radio1
Radio1.stream
the jwplayer doesn’t player work.
What am I doing wrong?
Thanks
Luca