Wowza Community

get the stream that published in the multicastmap

hello,

what is the url that i need to write to see the stream that i wrote in the multicastmap via vlc?

the wowza is on a computer that it’s ip is: 192.168.1.9

in the multicastmap.txt i worte:

myStream={name:vivotek_direct.stream,video:192.168.1.3:10000,audio:192.168.1.3:10002}

*i want to see it on the computer that’s it’s ip is:192.168.1.3.

thank you…

The IP addresses in the multicastmap.txt file should be multicast addresses, you’ve only provided unicast addresses.

The examples given in the multicastmap.txt file and in the README.html file are valid multicast addresses, but you can use other valid multicast address ranges.

Providing that you’ve done the above the url to play the multicast stream in vlc would be:

rtsp://192.168.1.9:1935/[application]/vivotek_direct.stream?multicastplay

The multicast pusch module also creates an SDP file in the [install-dir]/applications/[application]/sdp folder for each running multicast stream. You can open this file in vlc and the stream should play.

“by this application i stream 2 streams from vivotek camera and screen share, and that works to.”

Sorry, there is a typo in the readme at the bottom. Two lines publish one incoming stream to two multicast streams it should look like this:

# Incoming stream myStream will be published to multicast addresses:
#  video:239.1.0.1:10000,audio:239.1.0.1:10002
#  video:239.1.0.2:10000,audio:239.1.0.2:10002
myStream={name:stream1,video:239.1.0.1:10000,audio:239.1.0.1:10002}
myStream={name:stream2,video:239.1.0.2:10000,audio:239.1.0.2:10002}

In the above “myStream” is the incoming stream. In your case I think you should have:

vivotek_direct.stream={name:stream1,video:239.1.0.1:10000,audio:239.1.0.1:10002}

screen.stream={name:stream2,video:239.1.0.2:10000,audio:239.1.0.2:10002}

Test that the multicast publish module is receiving the incoming stream and publishing the new streamname:

rtsp://[wowza-address]:1935/[application]/stream1

Use a text editor to open up the .sdp file in the folder /[Wowza]/applications/live1/sdp/. It should have the multicast address. To test that multicast is working, you should be able to open the multicast stream from another computer and play the stream. Copy the actual .sdp file over to the other computer, or make it available, on your webserver, then open it with a player that supports .sdp files.

Also, appending “?multicastplay” to the might send the .sdp file. You’ll have to test this though, as I haven’t.

If the original stream is an ip camera (vivotek?), then that stream will still need to be initiated/pulled into Wowza using stream manager or through startupstreams.xml

The playback URL would take this form:

rtsp://[wowza-address]:1935/[application]/vivotek_direct.stream?multicastplay

Additionally the multicast module creates an SDP file on the Wowza server in the [install-dir]/applications/[application]/sdp folder for each running multicast stream. If you copy this file to the client running vlc and open it with vlc the stream should just start playing. If you open the .SDP file in a text editor it will show the URL.

Daren

so if my multicast address is 239.1.0.1 so when i write in the multicastmap:

myStream={name:vivotek_direct.stream,video:239.1.0.1:10000,audio:239.1.0.1:10002}

it will transmit the stream automaticly when i stream the vivotek_direct.stream via multicast application?

and if i"m a client under the multicast address what url do i need to write in vlc to “catch” the multicast stream?

thank you daren!

hey daren,

i have a multicast application that works, the name of the application is live1.

by this application i stream 2 streams from vivotek camera and screen share, and that works to.

i want to stream the 2 streams from live1 to a multicast addresses that the ip of the multicast addresses is 239.1.0.1.

1.what i need to write in the multicast map if i want to transmit the two streams?

( the name of the vivotek stream is vivotek_direct.stream, the name of the screen share stream is screen.stream).

2.when i will write the right addresses in the multicastmap it will stream it to the ip automatically?

3.how a client computer that is a member in the multicast group 239.1.0.1 can see the multicast streams(vivotek,screen).

(i know how to "catch the stream directly with rtsp://[wowza-address]:1935/[application]/vivotek_direct.stream?multicastplay).

*i want to use a windows media player, not a vlc.

thank you very much daren!, sorry for my poor qualit english!

hey randall,

thank you for your answer.

the example of your multicastmap is good!

Incoming stream myStream will be published to multicast addresses:

video:239.1.0.1:10000,audio:239.1.0.1:10002

video:239.1.0.2:10000,audio:239.1.0.2:10002

myStream={name:stream1,video:239.1.0.1:10000,audio:239.1.0.1:10002}

myStream={name:stream2,video:239.1.0.2:10000,audio:239.1.0.2:10002}

you wrote that i need to write the ip of the camera and computer but i need to write in the file the multicast address like you did.

the question is how to use the new stream that i configured in the multicastmap. ("myStream).

what url i need to write in the remote computer to use that stream?

and what is the difference between see the stream

1)with the ip from the multicastmap video:239.1.0.1:10000,audio:239.1.0.1:10002

2)rtsp://[wowza-address]:1935/[application]/vivotek_direct.stream?multicastplay

thanks.