• How to re-stream video from an IP camera (RTSP/RTP re-streaming)

    This tutorial provides the basic steps that show how to use Wowza Streaming Engine™ media server software to publish a live stream from an IP camera for playback on all supported player technologies.

    Contents


    Tutorial

    Troubleshooting

    Related articles

    Tutorial


    This tutorial provides the basic steps for using Wowza Streaming Engine software to re-stream an IP camera that supports H.264 video and AAC or MP3 audio. Wowza Streaming Engine software administrators can configure live streaming applications by using UI options in Wowza Streaming Engine Manager or by setting properties in Application.xml. Both configuration methods have the same result. Wowza Media Server® software administrators must configure live streaming applications in the Application.xml file.

    Wowza Streaming Engine Manager configuration

    This section shows you how to set up a live streaming application in Wowza Streaming Engine Manager. Users play the live stream to view an event as it happens. Live streams are sent to the streaming engine from an IP camera that delivers the stream over RTSP. The example uses an application named live, which is included in default Wowza Streaming Engine software installations. If you want to create a new live streaming application, you can use this same procedure.

    You can use Streaming Engine Manager with the latest versions of most web browsers that support HTML5 and Cascading Style Sheets level 3 (CSS 3). We recommend the Google Chrome browser.

    1. Make sure Wowza Streaming Engine Manager is running. See How to start and stop Wowza Streaming Engine software.

    2. In the Streaming Engine Manager Welcome page, click Applications at the top of the page.

    3. Configure the live application:

      1. In the Applications contents panel, click live, and then click Edit. (This example uses the installed live application. If you want to create a new live streaming application, click Add Application in the contents panel, and then click Live. Follow the instructions in the UI.)



      2. Select all of the Playback Types, and then click Save.



        The following alert appears after each configuration change. Wait until all changes are completed before you restart.



    4. Configure playback authentication:

      1. In the contents panel, click Playback Security, and then click Edit.



      2. On the Playback Security page, select No client restrictions, and then click Save.


    5. Restart the application.


    Publishing the Stream

    This section provides the basic steps for creating a .stream file to publish your live stream to the Streaming Engine software.

    1. Consult your camera documentation to configure an outgoing live stream.

    2. Create the .stream file:

      1. In the Server contents panel, click Stream Files, and then click Add Stream File.



        Note: You can also start the procedure to create a .stream file in the Applications contents panel for the live application.
      2. In the Add Stream File dialog box, enter a name for the new stream file, enter Stream URI, and then click Add.



        IP camera manufacturers use proprietary URL syntax for their cameras. Consult your camera documentation for the URL syntax of the stream and enter this value in Stream URI. For more information, see Common IP camera RTSP URL formats.

    3. Start the stream:

      1. In the Server contents panel, click Stream Files, and then click the Connect icon for the stream file you created in step 2.



      2. In the Connect a Stream File dialog box, select live in Application Name and rtp in MediaCaster Type, and then click OK.



      3. The Connection successful notification is displayed.


    XML configuration

    This section shows you how to configure the live application by editing the Application.xml configuration file in a text editor.
    Note: If you created your application by following the previous section, skip this section. If you make changes to Application.xml and you're using the Wowza Streaming Engine™ software, any supported settings will be displayed in the manager the next time it's started. Wowza Media Server® software doesn't support Wowza Streaming Engine Manager, so you must edit Application.xml in a text editor if you're running Wowza Media Server.
    1. Create application folder [install-dir]/applications/live.

    2. Create configuration folder [install-dir]/conf/live and copy [install-dir]/conf/Application.xml to this new folder.

    3. Edit the newly copied Application.xml file and make the following changes (some of these settings may already be present):

      1. Set the Streams/StreamType property to:
        Code:
        <StreamType>live</StreamType>
      2. Set the HTTPStreamers property to:
        Code:
        <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming,mpegdashstreaming</HTTPStreamers>
      3. Set the Streams/LiveStreamPacketizers property to:
        Code:
        <LiveStreamPacketizers>cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, mpegdashstreamingpacketizer</LiveStreamPacketizers>
      4. Set the RTP/Authentication/PlayMethod property to:
        Code:
        <PlayMethod>none</PlayMethod>
    4. Restart the Wowza media server.

    Publishing the stream

    Note: If you're using Wowza Streaming Engine, you can publish the stream in Streaming Engine Manager. For details, see Publishing the stream.
    1. Use a text editor to create the file [install-dir]/content/camera.stream and set the contents of this file to the full RTSP/RTP URL of the camera. The file must have a .stream file name extension. For this tutorial, the file used is camera.stream.

      Note: IP camera manufacturers use proprietary URL syntax for their cameras. Consult your camera documentation for the URL syntax of the stream and enter this value into the camera.stream file. For more information, see Common IP camera RTSP URL formats.
    2. Using a text editor, edit the file [install-dir]/conf/admin.password and add a user name and password that will be used to start and stop the publishing of the MPEG-TS stream. The following is an example of the file with user name myUser and password myPassword:

      Code:
      # Admin password file (format [username][space][password])
      # username password
      myUser myPassword
    3. Start the Wowza media server.

    4. Use Stream Manager to start the stream:

      1. Enter the following URL in a web browser:

        URL: http://[wowza-ip-address]:8086/streammanager

      2. In the Security dialog box, enter your admin user name and password from step 2.

      3. In the Stream Manager webpage, click the [start-receiving-stream] link just below the live application folder.

      4. In the Start Receiving Stream dialog box, select the following MediaCaster Type option: rtp.

      5. In the Stream Name field, enter camera.stream.

      6. Click OK.

    Playback

    Note: In the following examples, [wowza-ip-address] is the IP address or domain name of the Wowza media server.

    Wowza Streaming Engine Manager


    In Streaming Engine Manager, click Test Players in the upper-right corner of the live application page. The Test Players window that opens includes test players that are preconfigured to stream the live stream named myStream over various streaming formats.

    Each tab in the Test Players window either hosts a test player that you can use to play the live stream or provides instructions for playing the live stream. For example, to use the Adobe HDS protocol to play camera.stream, click the Adobe HDS tab, enter the information below, and then click Start.

    • Server: Enter [wowza-ip-address]:1935.

    • Application: Enter live.

    • Stream: Enter camera.stream.


    The result when using the Adobe HDS tab on the player is the following URL:

    http://[wowza-ip-address]:1935/live/camera.stream/manifest.f4m

    The players are also online at www.wowza.com/testplayers.

    Example players


    You can also use the players installed at [install-dir]/examples/ to test your streaming applications.

    For more information see the following articles:


    Adaptive bitrate streaming

    To implement adaptive bitrate (ABR) streaming, you can ingest camera.stream through Wowza Transcoder to create a Synchronized Multimedia Integration Language (SMIL) file. For details, see How to create and play SMIL files with streams created by Wowza Transcoder.

    Common IP camera RTSP URL formats

    Axis


    An Axis camera's RTSP URL usually takes the form:
    Code:
    rtsp://[camera-ip-address]:554/axis-media/media.amp
    Where [camera-ip-address] is the IP address of the Axis camera.

    The Axis cameras have a query string API that can be used to modify the stream dynamically. See Axis' VAPIX API documentation for more information. For example, you can control the video codec and compression with the following syntax:
    Code:
    rtsp://[camera-ip-address]:554/axis-media/media.amp?videocodec=h264&compression=90
    For more information on Axis cameras, see How to connect Axis network cameras to Wowza Streaming Engine.

    Panasonic


    A Panasonic camera's RTSP URL usually takes the form:
    Code:
    rtsp://ip_adx/MediaInput/h264

    Sony


    A Sony camera's RTSP URL usually takes the form:
    Code:
    rtsp://ip_adx/media/video1
    SONY SNC-CH/DH/RH network cameras work well with Wowza media servers. You have to set H.264 video codec for the first camera stream:
    Code:
    rtsp://[login:password@][camera domain name or IP address]/media/video1
    For more information on Sony cameras, see How to connect the Sony SRG-300SE to Wowza Streaming Engine.

    Note: SoleraTec and Security Hive have directories of IP cameras and RTSP URLs in case your camera model's URL format is an exception to the examples above.

    Troubleshooting


    Check your IP camera source using VLC

    It's best to first make sure that your camera can send H.264, AAC, or MP3 content. You can do this by using the VideoLAN VLC player:

    1. Open the VLC player.

    2. On the Media menu, click Open Network Stream, enter your camera's RTSP URL, and then click Play.

    3. After the stream starts playing, on the Tools menu, click Codec Information, and make sure that one or two of the following codecs are listed:

      • H.264 or AVC1 or MPEG4 Part10

      • AAC

      • MP3

    Note: If your camera doesn't support the proper formats, then the stream must be transcoded before it's sent to the Wowza media server. See How to use VLC as a live stream encoder with Wowza Streaming Engine (MPEG-TS) for an example that uses VLC.

    RTSP/RTP

    RTSP/RTP streaming is used to stream to Android and BlackBerry mobile devices. Android mobile devices formerly supported Adobe Flash player, but Android no longer supports Flash. Newer Android devices now support Apple HLS. HLS works best on Android 4.0 devices and above.

    To stream to RTSP/RTP, be sure that UDP ports 0-65535 are open and properly mapped to the Wowza media server.

    Note: To configure Wowza Streaming Engine software properly for RTSP/RTP streaming, carefully follow the instructions provided in How to troubleshoot RTSP/RTP playback.

    RTPTransportMode

    If your camera doesn't support RTSP/RTP interleaved (RTP over TCP), change the RTPTransportMode property value from interleave to udp.

    Wowza Streaming Engine Manager configuration


    Editing RTPTransportMode in the manager requires specifying per-stream settings in a .stream file. For more information, see How to specify per-stream RTSP settings in stream files.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and change RTPTransportMode to the following:
      Code:
      <MediaCaster>
           <RTP>
                <RTSP>
                     <!-- udp, interleave -->
           		<RTPTransportMode>udp</RTPTransportMode>
                </RTSP>
           </RTP>
           ...
      </MediaCaster>
    2. Restart the Wowza media server software to apply the changes.

    Note: Changes to RTPTransportMode in Application.xml will apply to all streams delivered by the application. For more information on only changing RTSP properties for a single stream, see How to specify per-stream RTSP settings in stream files.

    Additional property configuration needed for some cameras

    When streaming out using RTSP/RTP, you can force the output to MPEG-TS, which is required by many set-top boxes. For more information, see How to generate and control MPEG-TS output for set-top boxes.

    rtspValidationFrequency


    Some IP cameras may fail when the Wowza media server tries to periodically validate the RTSP/RTP connection. The camera will disconnect and then reconnect every 15-30 seconds. You can turn off RTSP/RTP validation by adding the rtspValidationFrequency property.

    Wowza Streaming Engine Manager configuration

    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspValidationFrequency.

      • Type – Select Integer.

      • Value – Enter 0. This value is in milliseconds. Specifying 0 turns it off.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration

    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <MediaCaster>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>rtspValidationFrequency</Name>
          <Value>0</Value>
          <Type>Integer</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Note: The MediaCaster rtspValidationFrequency property will apply to all streams delivered by the application. For more information on only changing RTSP properties for a single stream, see How to specify per-stream RTSP settings in stream files.

    rtspFilterUnknownTracks


    Some IP cameras send additional application tracks that the Wowza media server can't understand. You can filter out these tracks by adding the rtspFilterUnknownTracks property.

    Wowza Streaming Engine Manager configuration

    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspFilterUnknownTracks.

      • Type – Select Boolean.

      • Value – Enter true.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration

    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <MediaCaster>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>rtspFilterUnknownTracks</Name>
          <Value>true</Value>
          <Type>Boolean</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Note: The MediaCaster rtspFilterUnknownTracks property will apply to all streams delivered by the application. For more information on only changing RTSP properties for a single stream, see How to specify per-stream RTSP settings in stream files.

    How to turn on/off audio and video tracks

    You can turn off audio or video tracks by adding the rtspStreamAudioTrack and rtspStreamVideoTrack custom properties.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspStreamAudioTrack.

      • Type – Select Boolean.

      • Value – Enter false.

    5. Repeat the previous step to add the rtspStreamVideoTrack property using the following values:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspStreamVideoTrack.

      • Type – Select Boolean.

      • Value – Enter false.

    6. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following properties to the <MediaCaster>/<Properties> container. Be sure to add the properties to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
      	<Name>rtspStreamAudioTrack</Name>
      	<Value>false</Value>
      	<Type>Boolean</Type>
      </Property>
      <Property>
      	<Name>rtspStreamVideoTrack</Name>
      	<Value>false</Value>
      	<Type>Boolean</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Notes:
    • To turn on audio or video tracks, set both values to true.

    • These MediaCaster properties will apply to all streams delivered by the application. For more information on only changing RTSP properties for a single stream, see How to specify per-stream RTSP settings in stream files.

    Missing audio or video

    If audio or video is missing from the IP camera, check the logs to see if either of the following warning log statements are present:
    Code:
    RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: SDP data missing rtpmap entry for [audio] track. Try adding MediaCaster/Property rtspDefaultAudioRTPMap with track media information.
    
    RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: SDP data missing rtpmap entry for [video] track. Try adding MediaCaster/Property rtspDefaultVideoRTPMap with track media information.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspDefaultAudioRTPMap.

      • Type – Select String.

      • Value – Enter PCMU/8000.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <MediaCaster>/<Properties> container with the proper media definition information. For example: for a G.711 ΅-law audio track, the entry might look like the code below. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property> 
            <Name>rtspDefaultAudioRTPMap</Name> 
            <Value>PCMU/8000</Value>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    How to add additional logging for RTSP debugging

    You can log extra debug information to the log file about the RTSP handshake between the Wowza media server and the IP camera (RTSP/RTP source) by adding the debugRTSPSession property.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter debugRTSPSession.

      • Type – Select Boolean.

      • Value – Enter true.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <MediaCaster>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>debugRTSPSession</Name>
          <Value>true</Value>
          <Type>Boolean</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Common problems with .stream files

    Many text editors append a .txt file name extension to the camera.stream file name. This will result in an error message similar to the following:

    SDP file missing: c:/program files/wowza media systems/wowza streaming engine [version]/content/camera.stream

    To fix this, go to the [install-dir]/content folder and remove the .txt file name extension from the file.

    Property to change AAC packetization method

    A Wowza media server can use the mpeg4-generic and mp4a-latm (3gpp) packetization methods to output AAC audio. The default packetization method is mpeg4-generic.

    Wowza Streaming Engine Manager configuration


    To switch to mp4a-latm (3gpp), do the following:

    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar or scroll to the bottom of the page.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path: Select /Root/Application/RTP.

      • Name: Enter audioPacketizerAAC.

      • Type: Select String.

      • Value: Enter com.wowza.wms.rtp.packetizer.RTPPacketizerMPEG4LATM.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    To switch to mp4a-latm (3gpp):

    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>audioPacketizerAAC</Name>
          <Value>com.wowza.wms.rtp.packetizer.RTPPacketizerMPEG4LATM</Value>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Flash playback

    Some IP cameras send proprietary data (as part of the H.264 stream) that may cause playback problems (pauses or glitches during playback) in Flash. You can filter out these extensions by adding the nalUnitFilter property.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/Streams.

      • Name – Enter nalUnitFilter.

      • Type – Select Integer.

      • Value – Enter 13.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <Streams>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>nalUnitFilter</Name>
          <Value>13</Value>
          <Type>Integer</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Problematic SDP files

    Many IP cameras incorrectly publish the H.264 profile-level-id value in the Session Description Protocol (SDP) message. This can cause the video to be either blank or corrupted. You can configure the Wowza media server to ignore the profile-level-id value in the SDP data and instead derive this value from the sprop-parameter-sets value by adding the rtpIgnoreProfileLevelId property.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/RTP.

      • Name – Enter rtpIgnoreProfileLevelId.

      • Type – Select Boolean.

      • Value – Enter true.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <RTP>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>rtpIgnoreProfileLevelId</Name>
          <Value>true</Value>
          <Type>Boolean</Type>
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Note: The RTP rtpIgnoreProfileLevelId property will apply to all streams delivered by the application. For more information on only changing RTSP properties for a single stream, see How to specify per-stream RTSP settings in stream files.

    RTSP KeepAlive GET_PARAMETER

    Some IP cameras require a keepalive to be sent as the GET_PARAMETER to keep the connection open. This can be sent by adding the rtspKeepAliveCommand property.

    Wowza Streaming Engine Manager configuration


    1. In Wowza Streaming Engine Manager, click the Applications tab and then click the name of your live application (such as live) in the contents panel.

    2. On the live application page Properties tab, click Custom in the Quick Links bar.

      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information, see Manage credentials.
    3. In the Custom area, click Edit.

    4. Click Add Custom Property, specify the following settings in the Add Custom Property dialog box, and then click Add:

      • Path – Select /Root/Application/MediaCaster.

      • Name – Enter rtspKeepAliveCommand.

      • Type – Select String.

      • Value – Enter GET_PARAMETER.

    5. Click Save, and then restart the live application to apply the changes.

    XML configuration


    1. Use a text editor to open the [install-dir]/conf/[application]/Application.xml file for your live application and add the following property to the <MediaCaster>/<Properties> container. Be sure to add the property to the correct <Properties> container in Application.xml as there are several such containers in the file.
      Code:
      <Property>
          <Name>rtspKeepAliveCommand</Name> 
          <Value>GET_PARAMETER</Value> 
      </Property>
    2. Restart the Wowza media server software to apply the changes.

    Note: The MediaCaster rtspKeepAliveCommand property will apply to all streams delivered by the application.

    Related articles


    How to troubleshoot RTSP/RTP playback
    How to set up an application for RTSP/RTP streaming
    How to configure Apple QuickTime player for RTSP/RTP playback on Windows
    How to configure VLC player for RTSP/RTP playback (RTSP/RTP interleaved and tuning)

    Originally Published: 10-02-2010.
    Updated: For Wowza Streaming Engine 4.2 on 06-16-2015.

    Comments 140 Comments
    1. notreg -
      Why I can't use rtp-live application for other out then rtmp?
    1. rrlanham -
      StreamType "rtp-live" is for live rtsp/rtp streaming.

      Richard
    1. charlie -
      The other streaming protocols (smooth streaming and Apple HTTP Live streaming) require packetization that requires a stream to be constantly running. The auto-startup nature of rtp-live does not make this possible.

      Charlie
    1. notreg -
      What for forceInterleaved is true?
    1. charlie -
      It does not matter. forceInterleaved controls RTSP/RTP interleaving.

      Charlie
    1. wormszer -
      Does this preserve the original H264 encoding made by the RTP/RTSP source. Say an IP camera? And is just packaging it into a new container format?

      Thanks
    1. charlie -
      We do not touch the encoding. We simply repackage.

      Charlie
    1. AndrewT -
      how to start restreaming automatically, just after wowza started, w/o stream manager?
    1. rrlanham -
      Use /conf/StartUpStreams.xml

      http://www.wowza.com/forums/content....tupStreams.xml)

      Richard
    1. studioweb -
      Hi,

      I was wondering if Wowza (and therefore the media server) is accepting incoming IP-camera feed when nobody is watching at that moment? So, can we expect 86400 seconds of data-streaming per camera each day?
    1. rrlanham -
      It is if you start streams with StreamManager or StartupStreams.xml.

      You can avoid that if you only have Flash RTMP clients, you can use StreamType "rtp-live", then you do not have to use StreamManager or StartUpStreams to start the stream. The first Flash RTMP client that plays the stream will start it and it will stop 60 seconds after the last one stops.

      Richard
    1. qdlzheng -
      Hey, Charlie or Richard:

      I have an IPCam that supports rtsp behind my home router. I wonder if Wowza supports a way to allow me push the stream from ipcam to wowza server (remotely in a datacenter). That way, I don't need to open the ports on my router.

      Thanks!
    1. rrlanham -
      You have to pull from IP camera. There is no way around that.

      Richard
    1. digitalfin -
      We're having a problem with an IP camera. The stream can be instantly viewed in both VLC and QuickTime but the Wowza player (using the example "live" application) doesn't show any video. No error comes up either. The xml file is set up exactly as per documentation. Any suggestions? We added the below RTP property too but no luck:

      <Name>rtpIgnoreProfileLevelId</Name>
      <Value>true</Value>
      <Type>Boolean</Type>
    1. rrlanham -
      Follow this guide:

      http://www.wowza.com/forums/content....P-re-streaming)

      And remove that Property. It is possible that is useful, but not likely. Remove for now.

      Richard
    1. lisa_w -
      Added note with required parameters for playback with Microsoft Silverlight (Smooth Streaming). -Lisa
    1. Xantos -
      Using an Axis M1114-camera and testing the Wowza-software.

      The rtsp-stream works ok, so does the iPhone stream. The only thing i can't get to work is the rtmp stream i'm trying to use in the JWPlayer. The JWPlayer screens stays black after pressing the play-button. Only twice i got it to work but that seems an exception. Can someone tell me what could be wrong?

      I'm using the latest developer Wowza-software on a v-server. Because of low memory on this server is set the "setenv.sh" to JAVA_OPTS="-Xmx500M".

      Rick
    1. charlie -
      I would get it working first with our example player ([install-dir]/examples/LiveVideoStreaming/client).The JW Player instructions are here:

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

      Charlie
    1. sysadminguy -
      Quote Originally Posted by digitalfin View Post
      We're having a problem with an IP camera. The stream can be instantly viewed in both VLC and QuickTime but the Wowza player (using the example "live" application) doesn't show any video. No error comes up either. The xml file is set up exactly as per documentation. Any suggestions? We added the below RTP property too but no luck:

      <Name>rtpIgnoreProfileLevelId</Name>
      <Value>true</Value>
      <Type>Boolean</Type>
      I'm having what sounds like the exact same problem. The stream appears to be running successfully but viewing it with the example player or flowplayer shows a blank stream and no errors both in player or in the logs. Using WowzaMediaServer version 2.2.4 build27452 on Ubuntu Linux server 10.04. The camera is a Cisco 4500 series video surveillance IP camera. Using rtsp H.264. I've followed the instructions in this guide (http://www.wowza.com/forums/content....P-re-streaming) and configured it for "live" StreamType.

      Any help would be appreciated.

      --Kevin
    1. randall -
      Try playing it in VLC and checking that the codecs are supported by Wowza. Go to Tools->Codec Information.

      Some users have reported problems regarding proper keyframes. Let's try to figure this out.