The Problem
I am developing an app that connects to an Insta360 camera using BLE to start and stop recording.
If Device A is connected to the camera and recording video, Device B can scan for the same camera, connect to it via BLE, and send commands using the same app. This instantly hijacks the camera control from Device A and disrupts the recording session mid-way.
The camera does not reject the second connection, and the SDK does not provide a way to check if the camera is already busy with another device before connecting.
Steps to Reproduce
- Connect Device A to the camera via BLE and start recording.
- Open the app on Device B and scan for the same camera.
- Connect Device B to the camera.
- Device B successfully connects and can now control the camera, overriding Device A.
Expected Behavior
The camera should either:
- Reject the BLE connection from Device B if it is already actively controlled by Device A.
- Provide an API flag or status check (e.g., isAlreadyConnected) during the BLE scan so Device B knows to abort the connection.
Environment
Camera Model: Insta360 X4, Platform: Android
Please provide a solution of let us know if any exist.
Thanks!
The Problem
I am developing an app that connects to an Insta360 camera using BLE to start and stop recording.
If Device A is connected to the camera and recording video, Device B can scan for the same camera, connect to it via BLE, and send commands using the same app. This instantly hijacks the camera control from Device A and disrupts the recording session mid-way.
The camera does not reject the second connection, and the SDK does not provide a way to check if the camera is already busy with another device before connecting.
Steps to Reproduce
Expected Behavior
The camera should either:
Environment
Camera Model: Insta360 X4, Platform: Android
Please provide a solution of let us know if any exist.
Thanks!