Skip to content

Try the Tange demo

To get started, contact Tange platform staff at openapi@tange.ai to obtain a trial device ID (device_id) and device secret key (device_secret_key).

Start the device simulator

device-simulator.out --device-id <xxxxxxx> --device-secret-key '<device_secret_key>'

Scan the QR code to open the Mini Program

Mini Program QR code

Main steps:

  1. In the Mini Program, add the device ID and device secret key.
  2. In the Mini Program, open the device, tap authorize (authorize the device to call the Mini Program), then tap report (upload the user’s openid to the device; you must tap report again after each device simulator restart because the demo does not persist the user openid).
  3. Call the device from the Mini Program, or call the Mini Program from the device simulator.
  4. Answer on the other end as prompted by the UI; the device simulator echoes the audio/video from WeChat as-is.

Tange demo screenshot

Click to view the full demo video

WeChat VoIP calling