当前位置:网站首页>[development skills] how to add "live broadcast" status display bar on easynvr platform

[development skills] how to add "live broadcast" status display bar on easynvr platform

2022-06-23 21:01:00 Tsingsee green rhino video

At present, the competition in the traditional security industry has been very fierce , The scheme is also very mature , But with the Internet 、 The development of mobile terminals , Traditional security has obviously fallen behind , Intelligent security combined with intelligent analysis accounts for an increasing proportion in the market .TSINGSEE Green rhinoceros video development EasyNVR Intelligent video management platform , It can better adapt to the current needs of security monitoring , You can watch security monitoring directly through the web page , Management personnel can grade and uniformly manage all video channels .

To perfect EasyNVR Display of channels , We are currently offline 、 The third status is added to the online status : Live . This status is the information returned when the channel is in the streaming status , The following is displayed on the front end :

Set the status callback to update the channel status during streaming :

When stopping streaming , It is necessary to determine whether the original state of the flow is online . Because you also need to stop streaming when switching channel states , So if the original stream is online , When the channel information is modified to stop , The callback needs to be set online , When the stream stops offline, you need to set it offline .

In the on-demand state, the channel has a keep alive mechanism , After disconnecting the live broadcast , After the live on demand timeout set in the configuration file , Will stop streaming .

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/12/202112281545012399.html