Charlie-
Posting here to document the ADTS header issue we talked about at NAB.
Scenario -
Inbound stream: RTMP h.264 baseline video / AAC-LC audio
Outbound stream: HTTP Live Streaming
Digging into the ADTS headers in the outbound TS files, the AAC profile bits are being set to ‘00’ which is AAC/Main. You indicated that this was most likely due to the RTMP feed having no meta data about the AAC payload, and your re-encap taking blind interpretation in the face of no data.
Would love to see: A) a way to find some hinting (if it exists in the RTMP stream anywhere) and appropriately set the bits – and/or – B) have a setting similar to “forceH264BaselineProfile” that was added on the video front, where one could set a specific value if explicitly know.
As I mentioned previously, this doesn’t seem to affect apple implementations of HLS, as the support both AAC-Main and AAC-LC, with the AAC-LC making it through (even if erroneously). The ‘less forgiving’ hardware that we are working with has no support for Main and kicks out the audio stream before even passing it to the ACC-LC codec.
Thanks for taking a look.
regards
Brett Mitchell
CTO Mediafly, Inc.
p.s. Glad to meet you in person at NAB.