Hi,
Sometimes, when publising in RTSP, Wowza does not recognize correctly the codecs.
My workflow is the following : I have a H264/AAC stream that I transcode and republish to Wowza with gstreamer in VP8/OPUS, using RTSP/UDP.
That is :
stream1 (H264/AAC) —RTSP/UDP—> gstreamer transcode —RTSP/UDP–> stream2(VP8/OPUS)
But sometimes, the audio or video of the stream2 does not want to play (with a webrtc player or VLC). In those cases, the log file tells me that the codec found in stream2 is H264 or AAC instead of VP8/OPUS.
For example :
LiveStreamPacketizerCupertino.handlePacket[live/definst/stream2]: Video codec:VPX LiveStreamPacketizerCupertino.handlePacket[live/definst/stream2]: Audio codec:AAC
or
LiveStreamPacketizerCupertino.handlePacket[live/definst/stream2]: Video codec:H264 LiveStreamPacketizerCupertino.handlePacket[live/definst/stream2]: Audio codec:OPUS
But the stream does contains VP8/OPUS, as the SDP exchanged between Wowza and Gstreamer tells so :
…
m=audio 0 RTP/AVP 96
…
a=rtpmap:96 OPUS/48000/2
…
m=video 0 RTP/AVP 98
…
a=rtpmap:98 VP8/90000
…
Do you have any clue about this ?
Thank you,
Ben