0.7.0
0.7.0 (Feb 21, 2020)
-
Selecting an audio input / output device is implemented.
- Below methods are added in
SendBirdCallgetCurrentAudioInputDevice(): MediaDeviceInfogetAvailableAudioInputDevices(): MediaDeviceInfo[]selectAudioInputDevice(mediaDeviceInfo: MediaDeviceInfo): voidgetCurrentAudioOutputDevice(): MediaDeviceInfogetAvailableAudioOutputDevices(): MediaDeviceInfo[]selectAudioOutputDevice(mediaDeviceInfo: MediaDeviceInfo): void
- Below implementable event listeners are added in
SendBirdCallListeneronAudioInputDeviceChanged: ((currentAudioInputDevice: MediaDeviceInfo, availableAudioInputDevices: MediaDeviceInfo[]) => void) | nullonAudioOutputDeviceChanged: ((currentAudioOutputDevice: MediaDeviceInfo, availableAudioOutputDevices: MediaDeviceInfo[]) => void) | null
- Below methods are added in
-
Setting / retrieving custom items is implemented.
- Below methods are added in
SendBirdCallupdateCustomItems(callId: string, customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>deleteCustomItems(callId: string, customItemKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>deleteAllCustomItems(callId: string, callback?: CustomItemsHandler): Promise<CustomItemsResult>
- Below property is added in
DirectCallreadonly customItems: CustomItems
- Below methods are added in
DirectCallupdateCustomItems(customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>deleteCustomItems(customItemsKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>deleteAllCustomItems(callback?: CustomItemsHandler): Promise<CustomItemsResult>
- Below implementable event listeners are added in
DirectCallonCustomItemsUpdated: ((call: DirectCall, updatedKeys: string[]) => void) | nullonCustomItemsDeleted: ((call: DirectCall, deletedKeys: string[]) => void) | null
- Below property is added in
DirectCallLogreadonly customItems: CustomItems
- Below methods are added in
-
Reconnection is implemented in
DirectCall- Below implementable event listeners are added in
DirectCallonReconnected: ((call: DirectCall) => void) | nullonReconnecting: ((call: DirectCall) => void) | null
- Below implementable event listeners are added in
-
Signature of the
SendBirdCall.dial()has been changed.dial(userId: string, isVideoCall: boolean, callOption: DirectCallOption, callback?: DialHandler): DirectCallis now deprecateddial(params: DialParams, callback?: DialHandler): DirectCallis now recommended.
-
Signature of the
DirectCall.accept()has been changed.accept(callOption: DirectCallOption): voidis now deprecatedaccept(params: AcceptParams): voidis now recommended.