new AudioFrame(data, sampleRate, channels, samplesPerChannel).
new AudioSource(sampleRate, channels).
new AudioStream(track, sampleRate, channels) — resamples inbound to the requested rate.
LocalAudioTrack.createAudioTrack(name, source).
new Room().
Event-name constants. VERIFY exact member names.
Track-kind constants. VERIFY: KIND_AUDIO.
new TrackPublishOptions({ source }) — the publish-options protobuf message. REQUIRED by
publishTrack: passing a plain object leaves source unset and the track improperly bound, so the
native AudioSource.captureFrame rejects every frame with InvalidState. Construct the real proto.
Track-source constants — SOURCE_MICROPHONE tags the bot's published voice track.
The subset of the
@livekit/rtc-nodemodule this wrapper constructs from. VERIFY ctor signatures.