twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 177 forks source link

Camera indicator (green dot) after disconnect : PRIVACY issue #562

Closed Balasnest closed 3 years ago

Balasnest commented 3 years ago

Facing a problem with iOS 14 when the green dot appears even after the video ended or in disable mode? (It works for the microphone after disconnecting the call. But when I try to mute, it still persists. )

snippet call for disconnect:
[self.room disconnect]

Note: It successfully disconnected and also got events from the backend. 

The green dot still remains in the status bar indicating the camera usage from app. USER might take it seriously from a PRIVACY /SECURITY point of view.

Balasnest commented 3 years ago

https://github.com/blackuy/react-native-twilio-video-webrtc/issues/396

Balasnest commented 3 years ago

@ceaglest @paynerc Need your assist here as earlier as possible. Thanks!

paynerc commented 3 years ago

@Balasnest,

The green dot is active anytime the camera is still capturing video, regardless if the room is connected or not. Be sure to call the stopCapture method of the TVICameraSource as well when you are no longer capturing video.

Ryan

Balasnest commented 3 years ago

@paynerc Thanks mate! It worked perfectly.