Wowza Community

IMediaStreamActionNotify3 incoming vs trancoder onPublish

I am using the onPublish to trigger events when a RTMP feed comes in. The issue is that when the transcoder fires up, all renditions also are technically published. How can I differentiate between a truly incoming rtmp stream vs a transcoded or other internal publish. The publish part is either here nor there for me, I just want to know when an encoder starts and disconnects.


Hi Invintus,

You can use the isTranscodeResult() method for the IMediaStream object to determine if a given published stream is a transcoded stream or an original stream.


Thanks Michelle