|
LiveKit C++ Client SDK v1.4.0
Real-time audio/video/data SDK for C++
|
Credentials produced by a token source and consumed by Room::connect. More...
#include <token_source.h>
Credentials produced by a token source and consumed by Room::connect.
This is an output type: it is what a TokenSourceFixed or TokenSourceConfigurable returns from fetch. Applications typically read it rather than construct it. For static credentials, prefer LiteralTokenSource::create, which takes the server URL and token directly instead of requiring you to populate this struct.
Mirrors the livekit.TokenSourceResponse wire shape for connection credentials, while also preserving optional response metadata exposed by other LiveKit client SDKs.