Prerequisites

Streaming technology allows ingest of the RTMP protocol while outputting Apple Live Streaming segments (full compatibility with RTMP in/HLS out) requires support of video in H.264 format and audio in AAC-LE format.

If you use an encoder other than those listed in the document Media Services Live: Encoder Compatibility Testing and Qualification on Control Center, you must ensure that it issues the onMetaData packet as part of its broadcast, and that the packet includes the following information, or you will experience errors:

  • description
  • keywords
  • rating
  • title
  • presetname
  • creationdate
  • videodevice
  • framerate
  • width
  • height
  • videocodecid
  • videodatarate
  • videokeyframe_frequency
  • audiodevice
  • audiosamplerate
  • audiochannels
  • audioinputvolume
  • audiocodecid
  • audiodatarate

If your stream is audio-only, the encoder should remove the video-related entries:

  • description
  • keywords
  • rating
  • title
  • presetname
  • creationdate
  • audiodevice
  • audiosamplerate
  • audiochannels
  • audioinputvolume
  • audiocodecid
  • audiodatarate

Similarly, if the stream is video-only, the encoder should remove the audio-related properties:

  • description
  • keywords
  • rating
  • title
  • presetname
  • creationdate
  • videodevice
  • framerate
  • width
  • height
  • videocodecid
  • videodatarate
  • videokeyframe_frequency