All Products
Search
Document Center

ApsaraVideo Live:Audio-only and video-only streaming

Last Updated:Nov 04, 2025

ApsaraVideo Live supports audio-only and video-only streaming. You can ingest audio-only or video-only streams to ApsaraVideo Live and play them directly.

Stream ingest

You can ingest audio-only and video-only streams over the Real-Time Messaging Protocol (RTMP).

The required stream type depends on the live streaming method. The requirements are as follows:

  1. For audio-only live streaming, you can use an audio-only stream or a stream that contains both audio and video.

  2. For video-only live streaming, you can use a video-only stream or a stream that contains both audio and video.

Playback

You can play audio-only and video-only streams over RTMP, FLV, and Alibaba Real-Time Communication (ARTC) protocols.

You can append a parameter to the playback URL to play only the audio or video of a stream.

  • Playback URLs that start with RTMP or FLV

    Play audio only: onlyaudio=1

    Play video only: onlyvideo=1

    Note

    These parameters are supported only for playback URLs that use the RTMP or FLV protocol.

    Examples:

    • URL without authentication:

      rtmp://DomainName/AppName/StreamName?onlyaudio=1
      http://DomainName/AppName/StreamName.flv?onlyaudio=1
    • URL with authentication:

      rtmp://DomainName/AppName/StreamName?auth_key=timestamp-rand-uid-md5hash&onlyaudio=1
      http://DomainName/AppName/StreamName.flv?auth_key=timestamp-rand-uid-md5hash&onlyaudio=1
  • Playback URLs that start with ARTC

    Play audio only: subvideo=no

    Play video only: subaudio=no

    Note

    These parameters are supported only for playback URLs that use the ARTC protocol.

    Examples:

    • URL without authentication:

      artc://DomainName/AppName/StreamName@subvideo=no
    • URL with authentication:

      artc://DomainName/AppName/StreamName?auth_key=timestamp-rand-uid-md5hash@subvideo=no