• How to get MulticastPublish AddOn (multicast and unicast streams to UDP and RTSP)

    The MulticastPublish AddOn package is a system that enables automatic multicast publishing of incoming streams. The included module monitors incoming streams, and based on the configuration, starts new multicast output streams. The module also creates an SDP file in the [install-dir]/applications/[application]/sdp folder for each running multicast stream. Media players that support multicast RTP playback (such as QuickTime player and VLC player) can use the file to play the stream.

    Note: This package requires Wowza Media Server 2.2.0 or later.

    The unicast and multicast stream renditions are also available through RTSP/RTP. To play the multicast rendition of the RTSP/RTP stream, you must add the query parameter multicastplay to the RTSP/RTP URL. For example, if the stream name of published stream is myStream, the RTSP/RTP URLs are:

    Unicast URL: rtsp://[wowza-ip-address]:1935/[application]/myStream

    Multicast URL: rtsp://[wowza-ip-address]:1935/[application]/myStream?multicastplay

    You must use an RTSP client (such as VLC player) to playback multicast output from Wowza Media Server.

    This module doesn't interfere with other media configurations and playback. You can configure the application to deliver the same live streaming output to Adobe Flash, Microsoft Silverlight, Apple iOS devices, and RTSP/RTP players at the same time.

    Download MulticastPublish.zip

    Comments 50 Comments
    1. wbugbofh -
      How configurated the server for 2 streaming rtp to server?
      would I change the " mpegts.stream" file ?
      udp://0.0.0.0:10000
      udp://0.0.0.0:10001

      Can you help me?
      thanks
    1. rrlanham -
      Make two .stream files.

      mpegts.stream, with contents:
      udp://0.0.0.0:10000

      another.stream, with contents:
      udp://0.0.0.0:10001

      Richard
    1. steveitl -
      hello,
      i want use this module for unicast push, inside the module there are only instruction for multicast config, is enough change the ip address and port for unicast ?
      thanks
    1. rrlanham -
      Take a look at Push Publishing addon:

      http://www.wowza.com/forums/content....vice-providers

      Richard
    1. steveitl -
      this push only RTMP or RTSP also ?

      stefano
    1. rrlanham -
      Stefano,

      It is RTMP. For RTP push there is this package:

      http://www.wowza.com/forums/content....f-Wowza-Server

      This also does, and is a bit easier to use:
      http://www.wowza.com/forums/content....m-to-multicast

      Richard
    1. steveitl -
      Richard,
      i have configured the module (the first that you have mentioned, Multicast Publish.zip) , but still have output in MPEG-TS, how to have Elementary Stream ?
      thanks
    1. rrlanham -
      Stefano,

      I'm pretty sure the 2nd one does everything the first one does, but it's easier to use.

      Richard
    1. steveitl -
      hi Richard,

      i have also try using RTP Pusher and working properly, but i need make automatic the publish without manual operations using rtppusher.html flash components,
      so in the multicastmap.txt i have :

      myStream={name:myStream,stream:192.168.10.50:554,i sRTPWrapped:false} (incoming stream myStream will be published as MPEG-TS)

      how to publish using elementary stream ?

      thanks
    1. randall -
      Hi Steve,

      The RTPPusher package is very basic and only used as a reference example. You'll have to modify it to your needs.

      One way, is to put the stream info in your Application.xml and read it using client.getAppInstance().getProperties().getPropert yStr() statements.
    1. steveitl -
      Hi randall,
      ok thanks, i have solved my problem

      stefano
    1. derrick217 -
      With this AddOn, is it also necessary to do use these steps for starting the stream in Stream Manager? http://www.wowza.com/forums/content....sed-encoder%29 Also, can I specify a port such as udp://0.0.0.0:1234 for the stream that I'd like to pull into Wowza in my mpeg.stream file? Thanks, Derrick F.
    1. charlie -
      If the incoming stream is MPEG-TS then yes you will need to use the stream manager or StartupStreams.xml to start the incoming streams. Yes, you should a .stream file.

      Charlie
    1. derrick217 -
      Great! Thanks Charlie! Derrick F.
    1. GraemeBull -
      How would I use this to push out a server side created stream?
    1. GraemeBull -
      Actually, I figured it out so no worries.
    1. Bencredible -
      Are there any Akamai push examples? I have it pushing to my Akamai channel but I keep getting a username/password validation fail. I did uncomment the RTMP authentication section and entered the channel username/password. Am I missing something simple?
    1. rrlanham -
      Another user posted this:

      https://github.com/telvue/WowzaAkamaiPushPlugin

      Richard
    1. charlie -
      I had a similar problem with our test Akamai account the other day. Re-download the push publishing add-on and use the most recent .jar file. Then switch your code from:

      Code:
      publisher.setAkamaiUserName(akamaiUsername);
      publisher.setAkamaiPassword(akamaiPassword);
      To this:

      Code:
      PushPublishRTMPAuthProviderAdobe adobeRTMPAuthProvider = new PushPublishRTMPAuthProviderAdobe();
      
      adobeRTMPAuthProvider.init(publisher);
      adobeRTMPAuthProvider.setUserName(akamaiUsername);
      adobeRTMPAuthProvider.setPassword(akamaiPassword);
      publisher.setRTMPAuthProvider(adobeRTMPAuthProvider);

      Charlie
    1. wstream -
      Hi,

      Is it possible to do udp portsharing while multicasting with this module/wowza?

      Kind regards

      Wim