These days with WEBRTC do a video monitoring function, share out, for want to understand the content of the friend reference.
First, the basic module:
1, video capture end: The equivalent is the client, used to collect video, only need to send video, do not need to receive.
2, Video monitoring end: receive the acquisition end of the incoming video data, the equivalent of monitoring the client, do not need to send video data to the client.
3, the server: Responsible for client registration, signaling control, packet forwarding, such as UDP hole, support TCP,UDP connection.
Second, environmental requirements:
1, two Andorid4.0 above the mobile phone, respectively do the collection end and the monitoring side.
2, a PC to do the service side.
3, PC, mobile phone in the same LAN. Theoretically supports the public network, but it hasn't been tested yet.
Three, installation method:
1, run the VideoMonitor.exe on the PC, start the service side.
2, install video capture. APK, run-to-open, enter the server IP to operate normally.
3, installation and video surveillance. APK, run-to-open, enter the server-side IP, prompt login successful, click OK.
4, the above three-step operation is completed, waiting for a small meeting, you can see from the Monitoring section of the image collection.
Iv. Matters needing attention:
1, the above program has been tested several times in the local, can be normal operation (I use Samsung 9100 and Xiaomi 2S), if there is a problem please check the network and server configuration, and then the problem of deleting files follow the above steps to re-operation.
2, this is a demo version, there are many bugs and problems, and then gradually improve, and welcome suggestions.
3, this time also in the processing of iOS WEBRTC, the next section to share with you, please pay attention.
4, interested colleagues can add me qq:361332804, but rarely online, there are problems best email to my mailbox.
: Http://files.cnblogs.com/lingyunhu/videoMonitorFiles.rar