I am learning the wowza origin/edge architecture and have doubt in the article :
To play the stream in Adobe Flash Player (RTMP)
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: rtmp://[wowza-origin-address]:1935/liveorigin/definst/[stream-name]
Note: You can substitute the name of a .stream file on the origin server in place of the complex URL in Stream.
For this, my understanding is, I create a mystream.stream on origin server,
mystream.stream
rtmp://[wowza-origin-address]:1935/liveorigin/definst/[stream-name]
play the stream from edge server with
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: mystream.stream
and work …?
how could edge server knows where to convert the mystream.stream and get the origin server ip?
andy_c
So, it is working but you are just asking why it works?
Richard
I see. Yes, you play from the edge as you’ve shown if you use the Application.xml /Repeater /OriginURL to point to the origin.
Or you can do it like this:
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: origin.stream
Where origin.stream is a .stream file in the content folder of the edge containing a rtmp url like this:
rtmp://[wowza-edge-address]:1935/liveorigin/mystream.stream
This is the Live Stream Repeater Guide
When you use the /OriginURL, Wowza puts that together with the stream name and restreams with the same URL that you would use in the origin.stream file.
Richard
There is a .stream file on both, as shown in the guide.
Richard
Thanks Richard.
So if I do NOT use the /OriginURL, I could make a .stream on the edge server :
origin.stream
rtmp://[wowza-origin-address]:1935/liveorigin/definst/mystream
then client could play the stream by using
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: origin.stream
right?
If that’s true, I think the description in the article is confused :
To play the stream in Adobe Flash Player (RTMP)
Server: rtmp://[wowza-edge-address]:1935/liveedge
Stream: rtmp://[wowza-origin-address]:1935/liveorigin/definst/[stream-name]
Note: You can substitute the name of a .stream file on the origin server in place of the complex URL in Stream.
We should put the .stream on edge server rather than origin server
andy_c