Expand my Community achievements bar.

Creating Custom WebCamSubscriber component

Avatar

Level 1

Hi,

I am trying to create a custom webCamSubscriber component & I want to add one more eventlistner to _streamManager object.So I created two custom classes extending the the base classes webCamSubscriber & StreamManager.

Inside webCamsubSubscriber there is an instance of streamManager class.But in our case we need the instance of customStreamManager instance inside the custom webCamSubscriber component.

We created the instance of customStreamManger & assigned to the baseClass streamManager object via typecasting. But it didn't works.

if anyone knows about this scenario,please reply.It will be helpful for us.

Thanks ,

Aneesh PS

2 Replies

Avatar

Former Community Member

Hi Aneesh,

In general, we wouldn't recommend that you develop your own StreamManager -

it's one of the classes that has some server side validation, and in theory

it shouldn't be necessary to modify.

What are you actually trying to accomplish?

nigel

Avatar

Level 1

Hi Nigel,

Thanks for the reply.

We are developing a video conferencing tool.If any one of the user quit from the conference due to browser close.. like that (ie,not in a proper way) , we want to save his information.For that we want to add a custom event.This custom event we are trying to dispatch from the resultEventHandler of 'UserEvent.USER_REMOVE'.

If there is any other way to resolve this scenario please help us.

Thanks,

Aneesh PS