Differences between the API and the console

更新时间:
复制 MD 格式

This topic describes the differences between the production studio API and the console.

You can build a production service using either the production studio console or the production studio API, depending on your needs. For example:
  • If your company needs to live stream a conference held in multiple locations, you can use the production studio feature in the console. This lets you easily use the production service without any development.
  • If you want to build a Software-as-a-Service (SaaS) platform for customers or users, you can use the more flexible production studio API.
The main differences between the production studio console and the API are as follows:
CategoryFeatureSpecificationConsoleAPI
Production studio inputsVideo sourceNumber≤6≤6
Live sourceSupports Alibaba Cloud CDN live sourcesSupports live sources from any network
VOD sourceSupports video-on-demand (VOD) sources from the material librarySupports VOD videos from any network
Resolution360P, 480P, 720P, 1080P360P, 480P, 720P, 1080P
Live stream pulling protocolrtmphttp, rtmp
Video format3gp, asf, avi, dat, dv, flv, f4v, gif, m3u8, m4v, mj2, mjpeg, mkv, mov, mp4, mpeg, ogg, rm, rmvb, swf, ts, vob, wmv, webm, ac33gp, asf, avi, dat, dv, flv, f4v, gif, m3u8, m4v, mj2, mjpeg, mkv, mov, mp4, mpeg, ogg, rm, rmvb, swf, ts, vob, wmv, webm, ac3
Encoding formatMP3, AAC/HEAAC, WAV, H.264, VP8, VP9MP3, AAC/HEAAC, WAV, H.264, VP8, VP9
TextNumber≤4≤4
FontKaiTiKaiTi
LayoutHorizontalHorizontal
ColorRGBRGB
Character count≤1024≤1024
ImageNumber≤4≤4
Resolution360P, 480P, 720P360P, 480P, 720P
Image formatpng, jpg, apng, gifpng, jpg, apng, gif
Production studio outputsWatch outputsChannel66
PVW11
PGM11
Bypass outputsNumber11
Stream ingest protocolrtmprtmp
Encoding formatH.264, AACH.264, AAC
Resolution360P, 480P, 720P360P, 480P, 720P
Bypass latency0-300 s0-300 s
Bypass addressNot customizableThird-party ingest URLs allowed
Emergency standbyStandby videoCustom videos supported (≤1080P)Custom videos supported (≤1080P)
Standby switchSupports switching to standby, switching back, and clearing the bypassSupports switching to standby, switching back, and clearing the bypass
ApsaraVideo Media ProcessingVideo layoutNumber of screens≤4≤4
Layout styleSingle screen, Picture-in-Picture (PiP), side-by-side, three-screen, four-screen, and moreCustom layout styles supported
Number of layouts≤12Unlimited
Playback controlpause and seek not supportedpause and seek supported for VOD files
Audio mixingNumber of audio tracks≤6≤6
Volume adjustmentSupportedSupported
PGM listenerSupportedImplement as needed
Local previewSupportedImplement as needed
Audio gain0-2.00-10.0
Sound channel controlNot supportedSupported
Audio followSupportedSupported
Speech recognitionSpeech captionsNot supportedSupported
Live stream transcodingBypass transcoding360P, 480P, 720P360P, 480P, 720P, 1080P
Cloud recordingRecording formatm3u8, mp4, flvm3u8, mp4, flv
Bypass recordingSupports bypass recording for live streams on Alibaba Cloud CDNSupports bypass recording for live streams on Alibaba Cloud CDN
Sync modeSync areaChannel, PGM, PVWChannel, PGM, PVW
Production studio latencySwitching latency≤700 ms≤700 ms (with low latency integration)
Note
  • Channels for production studio watch receive input sources. The number of channels is equal to the number of input sources.
  • Production studio latency is the sum of the production studio's processing latency (800 ms to 6,800 ms) and the live streaming latency. For more information about reducing live streaming latency, see Reduce live streaming latency.