Home / Docs Center / Device API Reference / Heartbeat

Heartbeat

Device API Reference · Intercom Camera WebRTC API · Playback

Project: Device Interface Document (New Version) | page_id: 1008

Brief Description:

  • Heartbeat - sent once every 3 seconds

Request URL:
- /xsw/api/p2p/keepalive

Request Method:
- POST

URL Parameters:

Parameter Name Required Type Description
sessionId Yes string The sessionId obtained in the first step

Return Example

  {
        "code": 0,
        "msg": "",
  }

Return Parameter Description

Parameter Name Type Description
code number 0 means normal, >0 means failure
msg string Error message

Notes

  • None
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.