Skip to content

StreamControl

Commands that can be executed on an ongoing stream.

Payload Schema

  • command (string)
Enum valueDescription
clearClears the audio buffer on the Sinch platform. Use this command to discard any buffered audio data that has not yet been played out to the caller.
heartbeatIndicates that the connection is still active. Use this command during periods of silence to prevent timeout and maintain the stream connection. The no-audio timeout is 1 minute.
We'd love to hear from you!
Rate this content: