onMetaData

The onMetaData object information must be sent in the first packet and consistently throughout the life of the live stream.

This object must include the following properties:

  • videocodecid
  • audiocodecid
  • audioonly
  • videoonly
  • stereo
  • audiocodecid
  • videocodecid
  • width
  • height
  • videodatarate
  • audiodatarate
  • audiosamplerate
  • audiosamplesize
  • audiochannels
  • framerate
  • avcprofile
  • avclevel
  • aacaot