Specific steps to add Uniview SDK to the GB cloud service EasyGBS GB video platform to pause and resume playback

EasyGBS national standard video cloud service platform not only supports seamless and complete access to national standard equipment on the intranet or public network, but also realizes full platform and full terminal output in terms of output. The platform can convert PS streams pushed by GB/T28181 devices/platforms into ES streams, and provide distribution services for video streams in multiple formats such as RTSP, RTMP, FLV, HLS, WebRTC, etc., to implement web browsers, mobile browsers, and WeChat terminals. , PC client and other terminals without plug-in playback.

Existing users have raised demands: they want to add Uniview SDK to pause playback and resume playback in their customized EasyGBS platform.

In order to provide users with a better experience, technical staff immediately developed and implemented this requirement. The following are specific steps:

1. First search for Uniview SDK documents, search for "pause playback" in the document, and select the last one to view;

2. In the document, you can see that there will be "Resume Play" next to the "Pause Play" function;

3. Then, encapsulate these two separately and provide them to the go layer for calling;

Note: The encapsulation method needs to know the meaning of each parameter. The "pause and resume playback" parameters are the same; the user login ID (that is, the handle) and the playback channel code, so the following encapsulation interface needs to be defined:

4. Finally, in this function, encapsulate Uniview’s pause and resume playback:

The convenient, rich, flexible and scalable video capabilities of the EasyGBS platform have made it a mainstream video platform in the current security market. It can cover the video capability needs of all surveillance fields and has been implemented in a large number of projects, such as Mingchuliang Zao, Safe Village, Xueliang Project, etc.

Guess you like

Origin blog.csdn.net/EasyNTS/article/details/132761532