Common questions about
obtaining video stream API
1. What models and functions does the video API currently support?
It already supports V5, V6, V6-S, and V7 video models, including interface functions: real-time
video + video playback + monitoring + intercom
+Event Center
Note: To call the API, you need to provide the customer's login account on whatsgps. The
platform will generate an interface key for the customer, and the customer needs the key to call
the API.
2. Which player infrastructure can be used with the API
? The web end uses webrtc and the mobile app end uses ijkplayer.
3. Why does the request to the API prompt a streaming server
exception
{ "code":"-109","data":null,"errorData":null,"msg":"Streaming server
exception","ret":0 }
Answer: The device is not online on whatsgpsapp, so it triggers a
streaming server exception
4. Why does the video api prompt an unknown exception when
requesting
{ "code": "-99999","data": null,"errorData": null,"msg": "Unknown
exception","ret": 0}
Answer: The input parameter needs to add the platform field to
indicate which end is requesting. The following is the correct
example after correction
5. If you encounter an error in the video api, please follow the
example below to send the content that provides the video api
interface and prompts so that we can quickly determine what the
problem is
: [Link]
{
"deviceId":"86307834337150",
"key": "Qh7ndn8LzTHFgpkuIV",
"channelNumber": 1,
"tag": 0
}
{
"code": "-99999",
"data": null,
"errorData": null,
"msg": "Unknown exception",
"ret": 0