LiveKitProvider class
内置的 LiveKit 适配(《2.功能概述文档》第 3 节):直接依赖 pub.dev 上的 livekit_client。 LiveKit 的身份是用户名,按通话快照换成 media_uid。
Constructors
Properties
Methods
-
connect(
MediaCredential credential, {required String media, DRCancelToken? cancel, int? identityToUid(String identity)?}) → Future< MediaSession> -
连接媒体服务。
media为 audio 或 video(音频通话的凭据只允许发布麦克风);identityToUid把厂商的身份换成 media_uid(LiveKit 的身份是用户名,按通话快照对应)。 -
load(
) → Future< void> - 加载媒体服务的客户端库(第一次通话时调用,可以重复调用)。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited