I can get video to work repeatably by making sure the video is always encoded like this:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
However I can't see to get audio to work. My audio looks like this:
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 2
Format profile : LC
When I mux these two streams together into an mp4 and look at the audio again I see this that the audio is being reported as:
Format/Info : Advanced Audio Codec
Codec ID : 40
I know that the streaming server (VLC) can detect the audio because when it starts up it reports:
[0x8328e24] [Media: channel1] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 48000
Further, I can load up the stream using VLC and receive audio and video perfectly.
Does anyone have any experience on what the requirements are for a valid IPTV stream? Does it have to be muxed in a particular way? Does it have to conform to a specific RFC?
Thanks!
-Nick