Remote Camera & Screen Mirroring
Fami Hero includes advanced, real-time visual safety monitoring features that allow parents to see what is happening around or on their child’s device instantly. These tools leverage secure, low-latency WebRTC (Web Real-Time Communication) peer-to-peer streaming to transmit live video or screens directly between devices.
📹 1. Remote Camera (Live Feed)
The Remote Cam feature allows parents to request a live video feed from either the front or rear camera of the child's device, turning it into a remote safety monitor.
How it Works:
- Open the Fami Hero Parent App and go to the child's profile on the dashboard.
- Under the Live View & Monitoring card, tap the Remote Cam button.
- The Parent App sends a secure, real-time signaling request over WebSockets to initiate a WebRTC connection.
- Once connected, the live stream displays instantly on the parent's screen using high-definition rendering.
In-Stream Controls:
- Switch Camera: Tap the Switch Camera button at the bottom of the stream view to seamlessly toggle between the child's Front Camera and Rear Camera.
- Immersive Mode: The stream automatically expands to fit your screen.
- Go Back: Tap Go Back or the Back arrow to immediately terminate the WebRTC session and stop camera usage on the child's device.

Caption: Activating the Remote Cam stream and using the front/rear toggle controls in the Parent App.
🖥️ 2. Live Screen Mirroring
The Screen Mirroring feature enables parents to view the child's active screen in real time. This is invaluable for verifying whether a child is studying, playing games, or chatting in unapproved apps.
How it Works:
- On the Parent Dashboard under Live View & Monitoring, tap the Mirroring button.
- A WebSocket command is transmitted to the child’s device, requesting a screen capture session.
- The child's device automatically launches Android’s Media Projection framework to securely capture screen pixels, transmitting them directly to the Parent App via WebRTC.
- The Parent App displays the live screen as a nested player interface.
Stream Controls:
- Stop Mirroring: Tap the red Stop Mirroring button or the Go Back button to safely close the peer-to-peer channel.
- Status Indicator: An overlay displaying Screen Mirroring: Active (1080p - Live) verifies that the connection is active and running at full resolution.

Caption: Monitoring the child's device screen in real time while they use approved educational applications.
🔑 Crucial Permissions Required
For Remote Camera and Screen Mirroring to work successfully, the following permissions must be configured on the Child's Device during setup:
- Camera Permission: Required for Fami Hero Kids to access the camera hardware for the Remote Cam feature.
- Microphone Permission: Optional but recommended to handle ambient audio during safety streams.
- Screen Recording (Media Projection) Permission: When initiating screen mirroring, Android requires a system confirmation to record/mirror the screen. Fami Hero handles this securely and automatically in the background once initial permission is granted.
[!WARNING] Battery Optimization & Background Restrictions: Android’s aggressive power-saving modes may terminate WebRTC sessions or socket connections. Ensure that Fami Hero Kids is set to "Unrestricted" under battery settings on the child's device to guarantee immediate connection establishment.
⏭️ Next Step
With real-time monitoring and advanced limits configured, you are ready to review the global administration controls. Continue to Dashboard & Analytics.