Cameras broadcasting
|
There are a lot of ways how to implement cameras broadcasting. But here we describe two of them. |
|
Broadcasting based on MyVMS streaming links.
All MyVMS video devices by default can streaming video in mp4 format. We try to keep below template for links, but better use our API requests to get it.
https://Ip_address:port/cameras/CamN/streaming/sub.mp4?authorization=Basic%20Auth - sub stream;
https://Ip_address:port/cameras/CamN/streaming/main.mp4?authorization=Basic%20Auth" - main stream;
Ip_address:port - ip address or domain name and port of MyVMS video device.
CamN - number of the video source(numeration from 0, Camera 1 is equal to CamN = 0 etc).
Auth - "username:password" encoded into Base64 string.
For example from MyVMS IP camera with IP address is 192.168.1.14 streams can be retrieved
by the folowing links(here is used admin with out password):
https://192.168.1.14:9786/cameras/0/streaming/sub.mp4?authorization=Basic%20YWRtaW46 - sub stream;
https://192.168.1.14:9786/cameras/0/streaming/main.mp4?authorization=Basic%20YWRtaW46 - main stream;
And to implement a simple broadcasting, you only need to paste them into the teg video on your website.
This example us admin with out password:
<!doctype html>
<html>
<body>
<video src="https://192.168.1.14:9786/cameras/0/streaming/sub.mp4?authorization=Basic%20YWRtaW46">
</body>
</html>
Note that you need to consider the following requirements when broadcasting using this form:
− Server stream should have H.264 format;
− The username and password can be easily obtained by decoding the authorization string.
We strongly recommend to create additional user with the access only to web.
Do not use administrator credentials for a broadcasting;
− Each new viewing session creates a new streaming and increases the outgoing network
traffic on the value of this streaming bitrate.
|
|
RTSP.ME broadcasting service
Try the service of our technological partner RTSP.ME You do not need to use MyVMS devices(but with our solutions you don't have to think about network configuration) in order to use the service. You just need an IP camera or DVR that supports RTSP streams. You also need to configure a public IP address and ports forwarding on your device. The service in its basic configuration is free:
− Support of sound and protection for broadcasting;
− Use of the Retransmitter (taking one stream from the server);
− Real login and password are not displayed;
− Switching between the main-stream and sub-stream.
|
|
RTSP.ME broadcasting example
|

