RtcEngine.setCameraZoomFactor
See original GitHub issueI think there is an issue with the RtcEngine.setCameraZoomFactor
.
I looked at the doc and some samples and they all expect this to work.
RtcEngine.setCameraZoomFactor(1.0)
When I look at the RtcEngine it says that the setCameraZoomFactor is a promise.
Is his only for IOS or? I am using react native
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
RtcEngine.setCameraZoomFactor · Issue #62 - GitHub
I think there is an issue with the RtcEngine.setCameraZoomFactor. I looked at the doc and some samples and they all expect this to...
Read more >RtcEngine - Agora.io
RtcEngine provides the main methods that your app can call. ... Future<void> setCameraZoomFactor(double factor);. Attention:.
Read more >RtcEngine class - agora_rtc_engine library - Dart API - Pub.dev
API docs for the RtcEngine class from the agora_rtc_engine library, ... setCameraZoomFactor(double factor) → Future<void>: Sets the camera zoom ratio.
Read more >react-native-agora - npm
Method Name Parameters Description
on String: EventType, Handler: Function addEventListener for native modu...
off String: EventType removeEventListeners for native...
removeAllListeners void remove all event listeners
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@CyrusZei thank you man, it’s working for me too. But i noticed something, it was zoomed because i had set the orientation_mode with “FixedLandscape” value in the videoEncoderConfig. Remove that makes it work. Here’s what i had:
yes, the Agora team told me to remove the FixedLandscape and then it worked.