RTMP -> UDP ? [Wowza 2]

I am running Wowza Media Server 2.2.4. On one application Wowza receives flash video via RTMP from encoder. Subscribers can watch that content through web flash player.

Now I want to stream the same content from Wowza to one additional address via UDP. Is this possible?

Take a look at this package:

https://www.wowza.com/docs/how-to-get-multicastpublish-addon-multicast-and-unicast-streams-to-udp-and-rtsp

Richard

Did you restart after adding .jar?

Did you publish a stream named “test” to the application?

Looks like you are putting the server’s IP address for multicastPublishMulticastStartingAddress, which is not right. Take a look at the package readme.

Richard

I don’t think that is right, you should not put the server’s IP in that place. This is the place to put an IP to publish the multicast stream to. Use the IP given in the example, “239.1.1.0”.

Richard

Are you using the .sdp file generated by this addon? You would follow this guide for playback:

https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file)

Otherwise, zip up and send conf and logs folders to support@wowza.com

Richard

I tried MulticastPublish addon but I haven’t succeeded to receive RTP stream locally on my computer.

First I have installed wms-plugin-multicastpublish.jar and added in my application. Then added entries like this (I need to push stream as unicast RTP):

multicastPublishMaximumStartDelay

10000

Integer

multicastPublishWriteSDPFiles

true

Boolean

multicastPublishRemoveSDPFiles

true

Boolean

multicastPublishSDPStorageDir

${com.wowza.wms.context.VHostConfigHome}/applications/${com.wowza.wms.context.Application}/sdp

multicastPublishMulticastMapPath

${com.wowza.wms.context.VHostConfigHome}/conf/multicastmap.txt

multicastPublishMulticastMapNameDelimiter

=

multicastPublishAutoAssignAddresses

true

Boolean

multicastPublishMulticastStartingAddress

192.168.0.17

multicastPublishMulticastAddressIncrement

0

Integer

multicastPublishMulticastStartingPort

10000

Integer

multicastPublishMulticastAddressIncrementMode

address

multicastPublishMPEGTSOut

false

Boolean

My multicastmap.txt file looks like this:

test={name:test,video:192.168.0.17:10000,audio:192.168.0.17:10002}

What I have done wrong?

Thanks in advance

Did you restart after adding .jar?

Yes.

Did you publish a stream named “test” to the application?

Yes.

Looks like you are putting the server’s IP address for multicastPublishMulticastStartingAddress, which is not right. Take a look at the package readme.

192.168.0.17 is address of network interface on my comupter. Wowza have different one. I tried to test RTP push and play video via VLC player but without success.

But I need to publish stream to only one, unicast, address. In one tutorial about MulticastAddon package it is stated “MulticastPublish AddOn Package (unicast as well) to automatically publish a stream to multicast and unicast”.

And it’s not server’s IP, it is my PC (Wowza is at 192.168.0.5).

Thank You again for Your help, but I am still not able to push RTP stream out of Wowza…