@opentok/client 2.20.3 → 2.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,10 +33,17 @@ declare namespace OT {
33
33
  label: string;
34
34
  };
35
35
 
36
+ export type AudioOutputDevice = {
37
+ deviceId: string | null | undefined;
38
+ label: string | null;
39
+ };
40
+
36
41
  export function getDevices(
37
42
  callback: (error: OTError | undefined, devices?: Device[]) => void
38
43
  ): void;
39
44
 
45
+ export function getAudioOutputDevices(): Promise<AudioOutputDevice[]>;
46
+
40
47
  export function setProxyUrl(proxyUrl: string): void;
41
48
 
42
49
  export function getSupportedCodecs(): Promise<{ videoEncoders: ('H264' | 'VP8')[], videoDecoders: ('H264' | 'VP8')[] }>;
@@ -92,6 +99,7 @@ declare namespace OT {
92
99
  publishVideo?: boolean;
93
100
  style?: Partial<PublisherStyle>;
94
101
  videoContentHint?: VideoContentHint;
102
+ enableDtx?: boolean;
95
103
  };
96
104
 
97
105
  export type SubscriberStyle = WidgetStyle & {