• How to connect the Sony SRG-300SE to Wowza Streaming Engine

    The Sony SRG-300SE camera has built-in network connectivity for capturing and publishing live video over the Internet to Wowza Streaming Engine™ media server software. Wowza Streaming Engine creates Sony source settings in a stream file, which provides a method to re-stream the output from the Sony camera to players. This article describes how to create connection settings to automatically configure the Sony SRG-300SE camera.

    Notes:

    Contents


    Connecting Sony SRG cameras
    Verifying the connection
    Playing the stream
    Accessing Pan/Tilt/Zoom (PTZ) controls
    Using alternative Sony video images
    Changing the reconnect wait time

    Connecting Sony SRG cameras


    Use the procedures in this section to set up the Sony source for a live application in Wowza Streaming Engine, and to set up your Sony camera to distribute video to the live application.

    Note: You can set up a Sony source for the live application in Streaming Engine Manager first or you can set up the Sony camera to distribute video to the live application first. If you want the live stream to be available to users from the beginning, or if you want to record the live stream from the beginning using the Incoming Streams feature in Streaming Engine Manager, set up the Sony camera in Wowza Streaming Engine Manager first. The live application in the Streaming Engine will periodically try to connect to the camera until it comes online.

    To set up the Sony live source


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



    2. In the contents panel, under the live application, click Sources (Live).



    3. In the Sources (Live) page, click Sony.



    4. Enter a name for the stream in Stream Name.
      Notes:
      • The name value can't contain less-than (<), greater-than (>), colon (:), quotation (' and "), forward slash (/), backslash (), pipe (|), question mark (?), asterisk (*), double-dot (..), and tilde (~) characters.

      • The stream name is used to create a stream file that replaces (aliases) the Sony camera's complex stream URI so that players can use the stream file name in playback URLs in place of the camera's complex stream name. Stream files are stored in an application's streaming file directory and have a .stream file name extension. You must enter a stream name value that creates a unique stream file name.
    5. Enter the camera's IP address in Camera IP Address. If your camera requires RTSP streaming authentication, add credentials in the following format: [rtsp-username]:[rtsp-password]@[camera-ip-address].
      Note: The camera's IP address is the network address or properly mapped domain that you set up using the Sony Network Camera (SNC) toolbox and what you use to access the live viewer.
    6. If your Sony camera has PTZ capabilities and requires authentication, enter your Camera User Name and Camera Password. These are the Administrator or User authentication credentials that you set up in the Security Menu of the Sony Network Camera (SNC) toolbox and they are used to access the camera's PTZ controls from this application's Incoming Streams page. You can also edit these credentials in the application's Stream Files page after a connection is created. For more information, see Accessing Pan/Tilt/Zoom (PTZ) controls.



    7. Click Create Connection to connect to the stream. If the camera is offline, the stream file will try to connect to it every 3 seconds until it can establish a connection. For more information about how to change the connection retry interval, see Changing the reconnect wait time.

    8. If you've already set up your Sony camera to distribute video to the application, verify that the stream is published.

    To set up the Sony camera


    By default, the live application in the Streaming Engine pulls an RTSP unicast stream from the camera's Image 1 image codec. To specify unicast transmission in the camera settings, in the camera's web-based live viewer, in the Other panel, select Unicast in the Connection list.

    If you configured your camera to use a different video image codec, see the instructions for using alternative Sony video images.

    Refer to your Sony camera User's Guide for details about how to operate your camera and adjust settings in the live viewer such as Resolution, Bit rate, and Frame rate.

    Verifying the connection


    To verify that the stream is published, click Incoming Streams for the live application in Wowza Streaming Engine Manager, and then click the stream name.




    The information page for the stream displays the uptime, network throughput, and other information about the published stream.



    Playing the stream


    To play the stream over various streaming formats, do the following:

    1. Click Stream Files for the live application in Wowza Streaming Engine Manager, and then click the name of the stream file in the list that's re-streaming your Sony camera output.



    2. Click Test Players in the upper-right corner of the stream file page. The Test Players window that opens includes test players that are preconfigured to stream a live stream named myStream.stream 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 myStream.stream, click the Adobe HDS tab, and then click Start.


      The test players are also online on our Wowza Test Players webpage.

    Example players

    You can also use example players that are included with Wowza media server software or downloaded from the Wowza website to play the stream. For more information, see the following articles:


    Note: The example players are preconfigured to play a stream named myStream. To use the example players to play the broadcast from your Sony camera, be sure to substitute the name of the stream file that's re-streaming your Sony camera output in place of myStream in the playback URLs.

    Accessing Pan/Tilt/Zoom (PTZ) controls


    In Wowza Streaming Engine 4.2 (and later), you can control your camera's PTZ features from within Wowza Streaming Engine Manager by launching the Pan/Tilt/Zoom Controller from the Incoming Streams page.

    To access PTZ controls in your camera:

    1. In Wowza Streaming Engine Manager, create a connection from your live application to your camera and then verify that you are connected to the camera's stream.

    2. If you didn't enter your camera security credentials when creating the connection, edit these settings on the Stream Files page. In the live application's Stream Files page, click the Edit icon for the stream file connecting to your Sony camera, ensure the correct user credentials are entered into PTZ User Name and PTZ Password, and then click Save.

    3. In the contents panel for your live application, click Incoming Streams, and then click the Pan Tilt Zoom icon for the stream connecting to your Sony camera. A dialog box appears with camera controls and a preview of the camera feed. The preview image is a static capture that will refresh frequently. For more information on changing this refresh rate, see How to specify per-stream settings in .stream files.



      Note: Different camera models implement the PTZ features in different ways. If your camera doesn't respond to these controls, it may not be supported at this time.
    4. To pan and tilt the camera, use the four-way cursor buttons. To return the camera to its default position, click the Reset button in the center. To zoom the camera in and out, use the magnifying glass buttons.


    5. Click Close to return to the Incoming Streams page.

    Using alternative Sony video images


    The Sony camera has three image codec modes (Image 1, Image 2, and Image 3) that can be used to stream video. By default, the live application pulls a stream from the Image 1 image codec. If you set up the Image 2 or Image 3 image codecs to stream video, you can edit the stream URI in the stream file to get the video from the correct image codec.

    To point the stream file to a different Sony video image, do the following:

    1. In the Streaming Engine Manager contents panel, under the live application, click Stream Files.

    2. On the Stream Files page, click the Edit (pencil) icon for myStream.stream.

    3. In Stream URI, update the value so it points to the alternate camera image (for example, to rtsp://[camera-ip-address]/video2), and then click Save.



    4. Click Return to Stream Files.

    5. Click the Connect icon for myStream.stream, and then click OK in the Connect a Stream File dialog box.



    To verify the stream from the alternate image, follow the instructions in Playing the stream.

    Changing Pan/Tilt/Zoom settings

    You can customize how Wowza Streaming Engine connects to your camera's PTZ controls and change values such as connection timeouts and the preview refresh rate.

    To access PTZ settings:

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

    2. Click the Edit icon for the stream file in the list that will re-stream your Axis camera output.

    3. In the stream file's Properties tab, click Pan/Tilt/Zoom in the Quick Links bar.

    For more information on each PTZ property, see How to specify per-stream settings in .stream files.

    Changing the reconnect wait time


    If the Sony camera is offline, the live application will try to connect to it every 3 seconds by default until it establishes a connection. To change how often the live application will try to connect to the camera, do the following:

    1. Click Stream Files for the live application in Wowza Streaming Engine Manager, and then click the name of the stream file in the list that will re-stream your Sony camera output.



    2. Click the Properties tab.



      Note: Access to the Properties tab is limited to administrators with advanced permissions. For more information about how to configure access, see Manage credentials.
    3. In the Common section of the properties page, click Edit.



    4. To change the default reconnectWaitTime property value, select the Enabled check box for the property, type an alternate value (in milliseconds) in the property box, and then click Save. The following example shows that the property value has been changed to 10000 milliseconds (10 seconds).



    Originally Published: 01-13-2015.
    Updated: For Wowza Streaming Engine 4.2 on 08-25-2015.

    If you're having problems or want to discuss this article, post in our forum.