# get the stream that published in the multicastmap

**URL:** <https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719>\
**Category:** Wowza Streaming Engine\
**Created:** [June 14, 2012, 4:04pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719 "2012-06-14T16:04:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![matan\_riv](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@matan\_riv](https://community.wowza.com/u/matan_riv)\
**Post date:** [June 14, 2012, 4:04pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/1 "2012-06-14T16:04:02Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [June 14, 2012, 2:02pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/2 "2012-06-14T14:02:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [June 16, 2012, 9:49pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/3 "2012-06-16T21:49:54Z")

</div>

“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:

```auto
# 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.

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [June 16, 2012, 10:01pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/4 "2012-06-16T22:01:29Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [June 15, 2012, 1:22pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/5 "2012-06-15T13:22:31Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![matan\_riv](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@matan\_riv](https://community.wowza.com/u/matan_riv)\
**Post date:** [June 15, 2012, 4:51pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/6 "2012-06-15T16:51:42Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![matan\_riv](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@matan\_riv](https://community.wowza.com/u/matan_riv)\
**Post date:** [June 16, 2012, 8:54am UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/7 "2012-06-16T08:54:52Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![matan\_riv](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@matan\_riv](https://community.wowza.com/u/matan_riv)\
**Post date:** [June 17, 2012, 6:48pm UTC](https://community.wowza.com/t/get-the-stream-that-published-in-the-multicastmap/38719/8 "2012-06-17T18:48:21Z")

</div>

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.
