Storybook fix
This commit is contained in:
parent
313faab774
commit
ea7ea5e8f6
1 changed files with 8 additions and 3 deletions
|
@ -1,4 +1,11 @@
|
||||||
import { CallState } from 'ringrtc';
|
// Must be kept in sync with RingRTC.CallState
|
||||||
|
export enum CallState {
|
||||||
|
Prering = 'init',
|
||||||
|
Ringing = 'ringing',
|
||||||
|
Accepted = 'connected',
|
||||||
|
Reconnecting = 'connecting',
|
||||||
|
Ended = 'ended',
|
||||||
|
}
|
||||||
|
|
||||||
// Must be kept in sync with RingRTC.AudioDevice
|
// Must be kept in sync with RingRTC.AudioDevice
|
||||||
export interface AudioDevice {
|
export interface AudioDevice {
|
||||||
|
@ -39,5 +46,3 @@ export type ChangeIODevicePayloadType =
|
||||||
| { type: CallingDeviceType.CAMERA; selectedDevice: string }
|
| { type: CallingDeviceType.CAMERA; selectedDevice: string }
|
||||||
| { type: CallingDeviceType.MICROPHONE; selectedDevice: AudioDevice }
|
| { type: CallingDeviceType.MICROPHONE; selectedDevice: AudioDevice }
|
||||||
| { type: CallingDeviceType.SPEAKER; selectedDevice: AudioDevice };
|
| { type: CallingDeviceType.SPEAKER; selectedDevice: AudioDevice };
|
||||||
|
|
||||||
export { CallState };
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue