It doesn’t have everything you are looking for, but I think you are overlooking what is available in IMediaStreamActionNotify3.onCodecInfoAudio() and .onCodecInfoVideo()
The IMediaStreamActionNotify3 example logs these lines when a stream starts:
onCodecInfoAudio[live/_definst_/Stream1 Audio Codecmp4a.40.2]:
onCodecInfoVideo[live/_definst_/Stream1 Video Codecavc1.66.30]:
You can decode audio and video codec string here.
And there is more data (frame rate and display size, height, width) in the codecInfoVideo and codecInfoAudio objects in this methods, which you can explore with break point in the Wowza IDE.
If you enable “cupertinostreamingpacketizer” in the Application.xml /Streams /LiveStreamPacketizers Wowza will log audio and video codec info, and the first few chunks, and this is the only way I know of to get info about key frames.
a/v/k = audio/video/key frames.
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/Stream1]: Add chunk: id:1 mode:TS[H264,AAC] a/v/k:176/270/3 duration:11250
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/Stream1]: Add chunk: id:2 mode:TS[H264,AAC] a/v/k:175/270/3 duration:11250
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/Stream1]: Add chunk: id:3 mode:TS[H264,AAC] a/v/k:118/180/2 duration:7500
With “cupertinostreamingpacketizer” enabled you will also see these LiveStreamPacketizerCupertino.handlePacket lines with the same info as the IMediaStreamActionNotify3.onCodecInfoAudio() and .onCodecInfoVideo()
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/Stream1][mp4a.40.2]: AAC Audio info: {AACFrame: codec:AAC, channels:2, frequency:48000, samplesPerFrame:1024, objectType:LC}
INFO server comment - LiveStreamPacketizerCupertino.handlePacket[live/_definst_/Stream1][avc1.66.30]: H.264 Video info: {H264CodecConfigInfo: codec:H264, profile:Baseline, level:3.0, frameSize:424x240, displaySize:424x240, frameRate:24.0, crop: l:0 r:4 t:0 b:0}
I don’t know of a way to detect VBR, CBR unless it is included in the metadata.
Richard