Troubleshoot issues with streaming media

Troubleshoot live streaming (HTTP)

  1. Use the Services Control Panel applet (Windows) or the service window (Linux) to verify that the Adobe Media Server (AMS), Adobe Media Administration Server, and FMSHttpd services are running.

  2. Verify that the request URL is correct. See URLs for publishing and playing live streams over HTTP.

  3. Verify that the server is listening to the port to which the client is trying to connect. The rootinstall/logs/edge.xx.log file shows on which ports the server is listening.

    By default, Adobe Media Server listens on port 80 and proxies HTTP requests to Apache HTTP Server on port 8134. Proxying traffic can cause issues with HTTP streaming. If Adobe Media Server is listening on port 80, use port 8134 in the request URL. For example, http://ams.example.com:8134/hds-live/livepkgr/_definst_/liveevent/livestream.f4m.

    Otherwise, configure Apache HTTP Server to listen on port 80 and configure Adobe Media Server not to listen on port 80. See Configure ports for HTTP streaming.

  4. To allow a Flash player hosted on another web server to access content from the Adobe Media Server web server, copy a crossdomain.xml file to the rootinstall/webroot directory. The crossdomain.xml file grants a web client permission to handle data across multiple domains. For more information, see Cross-domain policy file specification.

  5. In Flash Media Live Encoder, select the Encoding Options tab, choose Output from the Panel options menu, and verify the following:

    • The value of AMS URL is rtmp://ams-dns-or-ip/livepkgr. If you’re testing on the same server as Adobe Media Server, you can use the value localhost for ams-dns-or-ip.

    • For a single stream, the value of Stream is livestream?adbe-live-event=liveevent.

    • For adaptive bitrate streaming, the value of Stream is livestream%i?adbe-live-event=liveevent.

      Flash Media Live Encoder uses this value to create unique stream names. To use another encoder, provide your own unique stream names, for example, livestream1?adbe-live-event=liveevent, livestream2?adbe-live-event=liveevent.

    • Check the logs for errors. Adobe Media Server logs are located in the rootinstall/logs folder. The master.xx.log file and the core.xx.log file show startup failures.

      Apache logs are located in the rootinstall/Apache2.4/logs folder.

  6. Use the Administration Console to verify that the encoder and the client connected to the livepkgr application.

    See Connect to the Administration Console.

Troubleshoot live streaming (RTMP)

  1. Use the Services Control Panel applet (Windows) or the service window (Linux) to verify that the Adobe Media Server (AMS) and Adobe Media Administration Server services are running.

    If you’re using the Apache HTTP server, verify that the AMSHttpd service is running.

  2. Use the Administration Console to verify that the encoder and the client connected to the live application.

    See Connect to the Administration Console.

  3. Verify that the server is listening to the port to which the client is trying to connect. The rootinstall/logs/edge.xx.log file shows on which ports the server is listening. By default, the server listens on ports 1935 and 80. If the server is not listening on port 1935, open the rootinstall/ams.ini file, set ADAPTOR.HOSTPORT = :1935,80 and restart the server.

    In the access.00.log file, the s-uri and cs-uri-stem fields indicate the port to which the client attempted to connect. Unless you specify a port number in the URL, RTMP and RTMFP clients connect to the server over port 1935 and fall back to port 80.

    For more information, see Port requirements.

  4. In Flash Media Live Encoder, select the Encoding Options tab, choose Output from the Panel options menu, and verify the following:

    • The value of AMS URL is rtmp://ams-dns-or-ip/live. If you’re testing on the same server as Adobe Media Server, you can use the value localhost for ams-dns-or-ip.

    • For a single stream, the value of Stream is livestream.

    • For adaptive bitrate streaming, the value of Stream is livestream%i.

  5. Verify that the request URL is correc. See URLs for publishing and playing live streams over RTMP.

  6. The live service does not support DVR recording.

    Use the DVRCast application available from Adobe Media Server Tools. For more information, see the article Using DVRCast with Flash Media Live Encoder in the Adobe Media Server Developer Center.

  7. Check the logs for errors. Adobe Media Server logs are located in the rootinstall/logs folder. The master.xx.log file and the core.xx.log file show startup failures.

    Apache logs are located in the rootinstall/Apache2.4/logs folder.

Troubleshoot on-demand streaming (HTTP)

Note:

When you play a video over HTTP, the client does not connect to the vod application. Instead, Apache serves the video to the client.

  1. Use the Services Control Panel applet (Windows) or the service window (Linux) to verify that the Adobe Media Server (AMS) and AMSHttpd services are running.

  2. Verify that the server is listening to the port to which the client is trying to connect. The rootinstall/logs/edge.xx.log file shows on which ports the server is listening.

    By default, Adobe Media Server proxies requests on port 80 to Apache HTTP Server on port 8134. Proxying HTTP streaming traffic can cause issues. If Adobe Media Server is listening on port 80, use port 8134 in the request URL. For example, http://ams.example.com:8134/hds-vod/sample1_1500.f4v.f4m. Otherwise, configure Apache HTTP Server to listen on port 80 and configure Adobe Media Server not to listen on port 80. See Configure ports for HTTP streaming.

  3. Verify that the request URL is correct. See URLs for playing on-demand streams over HTTP.

  4. By default, Apache streams on-demand media from the rootinstall/webroot/vod folder. To change this location, see Content storage (HDS and HLS).

  5. Check the logs for errors. Apache logs are located in the rootinstall/Apache2.4/logs folder.

Troubleshoot on-demand streaming (RTMP)

  1. Use the Services Control Panel applet (Windows) or the service window (Linux) to verify that the Adobe Media Server (AMS) and Adobe Media Administration Server services are running.

    If you’re using the Apache HTTP Server, verify that the FMSHttpd service is running.

  2. Use the Administration Console to verify that the client is connected to the vod application.

    See Connect to the Administration Console.

  3. Verify that the server is listening to the port to which the client is trying to connect. The rootinstall/logs/edge.xx.log file shows on which ports the server is listening. By default, the server listens on ports 1935 and 80. If the server is not listening on port 1935, open the rootinstall/ams.ini file, set ADAPTOR.HOSTPORT = :1935,80 and restart the server.

    In the access.00.log file, the s-uri and cs-uri-stem fields indicate the port to which the client attempted to connect. Unless you specify a port number in the URL, RTMP and RTMFP clients connect to the server over port 1935 and fall back to port 80.

    For more information, see Port requirements.

  4. Open the Administration Console (rootinstall/tools/fms_adminConsole.htm) and choose View Applications to verify that the client is connecting to the vod application. To reset your password, see Reset Administration Console password.

  5. Verify that the request URL is correct. See URLs for playing on-demand media files over RTMP.

  6. Do not include the /media folder in the stream URL to play the file. When you specify a filename, for example, mp4:mymediafile.f4v, the server is configured to look for /applications/vod/media/mymediafile.f4v.

  7. Verify that the rootinstall/applications/vod directory is installed. If any files are missing, uninstall and reinstall the server.

  8. Check the logs. Adobe Media Server logs are located in the rootinstall/logs folder. The master.xx.log file and the core.xx.log file show startup failures.

Troubleshoot multicast streaming (RTMFP)

  1. Use the Services Control Panel applet (Windows) or the service window (Linux) to verify that the Adobe Media Server (AMS) and Adobe Media Administration Server services are running.

    If you’re using the Apache HTTP Server, verify that the FMSHttpd service is running.

  2. Use the Administration Console to verify that the encoder and the client connected to the multicast application.

    See Connect to the Administration Console.

  3. Follow the steps in the tutorial Multicast media (RTMFP).

  4. Verify that the correct ports are open. The rootinstall/logs/edge.xx.log file shows on which ports the server is listening.

    Open UDP 1935 and 19350-65535. If the server is located behind a NAT, specify its public (outside NAT) address in the rootinstall/conf/_defaultRoot_/Adaptor.xml file in the Adaptor/RTMFP/Core/HostPortList element. See Configure ports.

  5. Check the logs. Adobe Media Server logs are located in the rootinstall/logs folder. The master.xx.log file and the core.xx.log file show startup failures.

Contact Support

Get help faster and easier

New user?