opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
212 stars 156 forks source link

Publisher "mirror" parameter #214

Open Artemnsk opened 5 years ago

Artemnsk commented 5 years ago

Feature Request

Description In original OpenTok docs as publisher during initPublisher() call you are able set mirror parameter. In opentok-react-native we can not set this parameter.

  1. In my case it is important to make publisher see exactly the same video in his Publisher window as other users see in Subscriber window.
  2. Why not to add it anyway as it is possible to do out of a box with OpenTok library?

Proposal Could you pls add this extra parameter support? E.g. in OT.initPublisher() including sanitizing it via sanitizeProperties() function call.

Links / references I found docs for JS only but I feel that it is possible to do in Android/iOS. https://tokbox.com/developer/sdks/js/reference/OT.html https://support.tokbox.com/hc/en-us/articles/200649664-Why-is-my-publisher-reversed-

Thanks!

msach22 commented 5 years ago

@Artemnsk Thanks for creating the feature request. Unfortunately, the native OpenTok iOS and Android SDKs currently do not support the mirror property so we would not be able to add that to this library until it's added in the native SDKs.

I have filed a feature request internally and will update this ticket when we make progress.

ami9000 commented 4 years ago

@msach22 Curious, any update/progress on adding the "mirror" options to Publisher? Our use case is also important to have this accurate - especially as it relates to eventually archiving the sessions. This is really "removing" the mirror effect that currently gets added to the streams when front facing. Thanks!

mzruiz commented 4 years ago

@msach22 Hola! Is there any update on this feature?