Richard, is it possible to also get the bit rates and frame sizes? Just being able to get the codec data that I can get through that example is a huge help, but being able to get the additional information would be a big help in the future.
I see lines in the debug log like:
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/test][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: codec:H264, profile:Bsaeline, level:3.0, frameSize:656x448, displaYSize:656x448, frameRate:30.0, PAR:1:1}
and
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/definst/test][mp4a.40.2]: AAC Audio info: {AACFrame: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC}
I know that if I really want the info I can always write a custom log appender for log4j and grab the info out of the logs but that’s a really tacky way to go about it. Is there any way that I could pull that out using the API?