IMediaStream.isReceiveVideo() always returns true for WebRTC

Hi,

I’m trying to monitor incoming streams with an implementation of IMediaStreamActionNotify3 and I want to find out whether the stream contains video or not.
However, what I notice is that stream.isReceiveVideo() is always true, even though I can see in the SDP exchange that no video is present in neither the offer SDP or the server response SDP.

What am I doing wrong? Should I be using a different method for WebRTC?

Thanks,
Sorin.

So it looks like IMediaStream.getRTPStream().getVideoTrack() is the thing that works for my purpose (i.e. published streams)
I probably misinterpreted the meaning of isReceiveVideo().
If anyone else has some better ideas, feel free to leave a reply. :slight_smile: