Skip to main content
When an API fails it raises srtc.SdkError, which has two fields:
code falls into three kinds:

Common errors

When a join fails, handle it by error code: 1021 / 1032 / 180002 are token problems—issue a new token before retrying; 1034 / 1035 are temporary—retry later with a new token; 1033 is a license quota problem, and retrying doesn’t help.

Logging

The SDK uses Python’s standard logging, with the logger name srtc:
Logs from the native core (signaling, media connections) go directly to the process’s stdout / stderr, not through logging.