Interface VoiceConsumer<P>

An incoming stream from a participant.

Type Parameters

Hierarchy

  • VoiceConsumer

Properties

Properties

audio?: {
    callback: (() => any);
    consumer: P extends "node" ? Consumer : Consumer<AppData>;
}

Type declaration

  • callback: (() => any)
      • (): any
      • Returns any

  • consumer: P extends "node" ? Consumer : Consumer<AppData>