This topic describes how to troubleshoot the issue that Real-Time Messaging Protocol (RTMP) and Flash Video (FLV) playback is normal while HTTP Live Streaming (HLS) playback fails.

Scenario

A stream is ingested. Three streaming URLs over RTMP, FLV, and HLS are available. RTMP playback and FLV playback succeeded, but HLS playback failed.

Troubleshooting

  1. Check whether the audio and video formats of the ingested stream are correct. Make sure that the video is H.264-encoded and the audio is Advanced Audio Coding (AAC)-encoded.
  2. Use FFPlay player to play the stream in the RTMP and M3U8 formats. Check whether error messages are returned.
  3. Check whether the origin host of the streaming domain is modified.

    By default, the origin host of the streaming domain cannot be modified. If the origin host is modified, the RTMP and FLV playback is not affected, but the HLS playback fails.