Never figured out a way other than walking the media streams, but it works. Not very elegant, thought I would share my solution anyhow:
function getVideoCallState() {
let rxVideo = false;
if (xapi.status.get('Call')) {
xapi.status.get('MediaChannels Call').then(media => {
let index, channel = null;
for (index = 0; index < media[0].Channel.length; index++) {
channel = media[0].Channel[index];
if (channel.Direction == 'Incoming' &&
channel.Type == 'Video' &&
channel.Video.ChannelRole == 'Main' &&
channel.Video.Protocol != 'Off') {
rxVideo = true;
}
}
});
}
return rxVideo;
}