opentok-react-native icon indicating copy to clipboard operation
opentok-react-native copied to clipboard

Give option to display opentok's default placeholder when video muted

Open jonathanwmaddison opened this issue 6 years ago • 6 comments

I believe the OpenTok js sdk provides a default placeholder. It would be nice to have this in React Native as well, so when video is muted a placeholder image is displayed instead:

screen shot 2018-05-18 at 4 13 01 pm

I am looking into a solution, and if it seems extendable to this library, I'll make a PR.

jonathanwmaddison avatar May 18 '18 20:05 jonathanwmaddison

There should be support for any custom image

akandaurov avatar Sep 26 '18 16:09 akandaurov

I've come back to this because, while our app does a lot of internal state tracking in order to render a custom screen when we detect there is no video, there is still a period of time that goes by between when a user enables their video and the actual frames start being rendered. During that little gap we get a flash of black screen, and I'm not finding any way to avoid it right now.

It would be nice if we could provide a fallback to render somehow.

evillemez avatar Jun 04 '19 16:06 evillemez

Yes It's must have option

HarshitPadalia avatar Jul 20 '20 05:07 HarshitPadalia

I've come back to this because, while our app's main feature is video call and in order to render a custom screen when we detect there is no video, there is still a period of time that goes by between when a user enables their video and the actual frames start being rendered. During that little gap we get a flash of black screen, and I'm not finding any way to avoid it right now. I have tried many things but not able to fix this issue and issue is really frustrating to users

It would be nice if we could provide a fallback to render somehow.

HarshitPadalia avatar Jul 22 '20 06:07 HarshitPadalia

is there any updated on this feature?

HarshitPadalia avatar Jul 22 '20 06:07 HarshitPadalia

Any update on this? We need this and i can't make any around if someone has can please put example?

hardikjs avatar Jun 18 '21 19:06 hardikjs