1.Cmsv6Player video plug- in integration instructions
Using the Cmsv6Player video plug- in, real- time audio and video, video playback, two- way intercom, cluster intercom and other functions are realized on PC/mobile phone browser.
1). Support h264/h265 video format
2). Support PC browser and mobile browser
3). And provides a wealth of interfaces for integration calls.
Can quickly integrate audio and video functions.
1.1 video plug- in file description
contains the following two files:
cmsv6player the script file of the. min.js video plug- in and download it (https://v7.cmsv8.com/808gps/open/player/js/cmsv6player.min.js)
libcmsv6decode wasm file of. wasm video plug- in, download (https://v7.cmsv8.com/libcmsv6decode.wasm)
1.2 video plug- in integration instructions
1) Put cmsv6player.min.js in the directory of the web front- end page
2) Put libcmsv6decode.wasm under the root directory of the web front- end page to ensure that the root directory link can be downloaded normally.
Example: https://v7.cmsv8.com/libcmsv6decode.wasm,
If wasm is not placed in the root directory of the web page, there may be a black screen of the video and a link to FAQ.
1.3 video plug- in integration benefits
Provide a rich interface for integrated calls, users develop a powerful functional interface.
2. Video Web Integration
The server provides html pages and supports web page reference methods to realize real- time audio and video, video playback, two- way intercom and other functions. Video web integration is also based on the functionality provided by the Cmsv6Player video plug- in.
Compared with video plug- in integration, the interface function is relatively certain, only competing for the video function integration of a single vehicle. Through the web page to pass the way, the integration speed is faster.