Expand my Community achievements bar.

AudioPublisher pause stream: notifying other users?

Avatar

Level 2

Hi,

During an audio/video conference, is there a way using the Roster component to visually notify other users that you have pause your audio stream (audioPub.pause(true)) ? Hiding the microphone icon or putting a "X" on it would be great.

Any advice?

Thanks!

matetnic

2 Replies

Avatar

Former Community Member

Hi matenic,

You can always put icons or anything according to your choice by modifying the underlying itemrenderer. You need to look at the UserItemRenderer under the rosterClasses. This is the itemRenderer that is used in Roster and you can modify/subclass this to listen to audioPublisher/audiosubscriber events and then put any icon.

Hope this helps

Thanks

Regards

Hironmay Basu

Avatar

Level 2

Hi,

Great, I will give it a try. However, it would be nice to have a voiceStatus at "muted" in UserDescriptor. Is there a way I can override this and still use the Roster component? Do you plan to add such status in the UserDescriptor?

Thanks!

matetnic