Muting and unmuting a multicast stream

Hi!

I’m trying to mute and unmute a UDP multicast stream played with webapis.avplay. For clarification, I’ve included the b2bavplay.js library as mentioned here and in the remark just above this, so the stream is playing perfectly.

I noticed there are two (undocumented) methods available on the webapis.avplay object that to my understanding should be used to mute and unmute a stream: webapis.avplay.enableAudioStream and webapis.avplay.disableAudioStream. These two methods are present on the object, but have no effect when involved.

So the question is, how can I disable and enable the audio on a UDP multicast stream?

Thanks
– Andreas