You are on page 1of 2

Using Orban Opticodec-PC Streaming Encoder for AAC/HE-AAC and PAD/Metadata with Wowza Media Server Pro (RTSP/RTP)

Step by step instructions for using Orban Opticodec-PC Streaming Encoder with Wowza Media Server Pro, including PAD/metadata (Wowza Media Server Pro 1.7.0 or greater with current patch, Opticodec-PC PE version 3.1.67 or greater, and Flash Player version 9.0.115.0 or greater is required). This configuration maps the Orban Opticodec-PC Streaming Encoder RTP PAD/metadata to equivalent Flash onMetaData objects, making it easier for Flash Player development. Refer to the Orban Opticodec-PC 3.x Streaming Encoder Documentation for the PAD/metadata specific information. DO NOT USE RTMP from Opticodec-PC to connect to Wowza Media Server Pro. RTSP/RTP Authentication is supported. 1. 2. 3. Download and install Wowza Media Server Pro (Wowza Pro 1.7.0 or greater) Download and install Wowza Media Server Pro Current Patch (Wowza Pro Dev Builds) Create a new Wowza Pro Application for streaming (may already exist if examples installed) a. Create the folder [install-dir]/applications/live b. Create the folder [install-dir]/conf/live c. Copy the file [install-dir]/conf/Application.xml into this new folder [install-dir]/conf/live d. Edit the newly copied Application.xml file and change Streams/StreamType to live e. Add these properties to the Application.xml RTP/Properties section: <Property> <Name>rtpMetadataProvider</Name> <Value>com.wowza.wms.rtp.model.RTPMetadataProviderOrbanOpticodec</Value> </Property> <Property> <Name>rtcpEventHandler</Name> <Value>com.wowza.wms.rtp.model.RTPMetadataProviderOrbanOpticodec</Value> </Property> f. Edit the file [install-dir]/conf/rtp.password and add a username and password Here is an example of the password file with the username encoder and password changeme #RTPpasswordfile(format[username][space][password]) #usernamepassword encoderchangeme g. 4. 5. 6. Startup the Wowza Pro server

Install Orban Opticodec-PC Streaming Encoder Startup Orban Opticodec-PC Streaming Encoder Select Settings and make the following changes: a. Set the audio encoding parameters to desired settings. b. Change the Protocol dropdown to RTP. c. Change the Server dropdown to Remote RTSP and either MPEG4 or LATM. d. Change Address to [server-ip-address or URL]:1935 (where [server-ip-address] is the ip address of the server running Wowza Media Server Pro). e. Change Mountpoint to live/stream (the format of this field as it relates to Wowza Media Server Pro is [application]/[application-instance]/[stream] if [application-instance] is omitted it defaults to _definst_). f. Enter the Username and Password that was added to the conf/rtp.password file above to the appropriate fields g. Click OK. To broadcast to Wowza Media Server Pro, click the Encode button

7.

8.

To play the stream, double click the LiveVideoStreaming example player ([installdir]/LiveVideoStreaming/client/live.html), enter the following values and click Play:

Server:rtmp://[serveripaddress]/live Stream:stream where[serveripaddress]istheipaddressoftheserverrunningWowzaMediaServerPro

[install-dir] Windows (default): C:\Program Files\Wowza Media Systems\Wowza Media Server Pro [version] Mac OS X: /Library/WowzaMediaServerPro Linux: /usr/local/WowzaMediaServerPro You now have the most efficient, cost effective, and high quality audio stream possible today. Note: Orban Opticodec-PC Streaming Encoder streams using TCP when using RTSP/RTP Unicast (Remote) on a user specified port, which should be TCP port 1935 to a Wowza Media Server Pro using a standard configuration. When streaming to a Wowza Media Server Pro that is behind a firewall, TCP port 1935 should already be open for Wowza Pro. Opticodec-PC PE requires outbound TCP port 1935. Note: Configure the encoder to send the stream to the Wowza Media Server Pro IP address. If the Wowza Media Server Pro is behind a router that uses NAT (Network Address Translation) send it to the routers external IP address and be sure to map the TCP port to the correct internal IP address. Note: Orban Opticodec-PC 2.x PE, SE, and LE Streaming Encoder are discontinued and no longer available or supported. They used a very early RTP implementation which may or may not work with Wowza Media Server Pro. It has not been tested. They also used workarounds for Darwin Streaming Server bugs, which are no longer present. These versions also do not support advanced PAD/metadata. Opticodec-PC 3.x Streaming Encoder is now available and supported. Now would be a good time to upgrade.

You might also like