0.7.0
0.7.0 (Feb 21, 2020)
-
Selecting an audio input / output device is implemented.
- Below methods are added in
SendBirdCall
getCurrentAudioInputDevice(): MediaDeviceInfo
getAvailableAudioInputDevices(): MediaDeviceInfo[]
selectAudioInputDevice(mediaDeviceInfo: MediaDeviceInfo): void
getCurrentAudioOutputDevice(): MediaDeviceInfo
getAvailableAudioOutputDevices(): MediaDeviceInfo[]
selectAudioOutputDevice(mediaDeviceInfo: MediaDeviceInfo): void
- Below implementable event listeners are added in
SendBirdCallListener
onAudioInputDeviceChanged: ((currentAudioInputDevice: MediaDeviceInfo, availableAudioInputDevices: MediaDeviceInfo[]) => void) | null
onAudioOutputDeviceChanged: ((currentAudioOutputDevice: MediaDeviceInfo, availableAudioOutputDevices: MediaDeviceInfo[]) => void) | null
- Below methods are added in
-
Setting / retrieving custom items is implemented.
- Below methods are added in
SendBirdCall
updateCustomItems(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
DirectCall
readonly customItems: CustomItems
- Below methods are added in
DirectCall
updateCustomItems(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
DirectCall
onCustomItemsUpdated: ((call: DirectCall, updatedKeys: string[]) => void) | null
onCustomItemsDeleted: ((call: DirectCall, deletedKeys: string[]) => void) | null
- Below property is added in
DirectCallLog
readonly customItems: CustomItems
- Below methods are added in
-
Reconnection is implemented in
DirectCall
- Below implementable event listeners are added in
DirectCall
onReconnected: ((call: DirectCall) => void) | null
onReconnecting: ((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): DirectCall
is now deprecateddial(params: DialParams, callback?: DialHandler): DirectCall
is now recommended.
-
Signature of the
DirectCall.accept()
has been changed.accept(callOption: DirectCallOption): void
is now deprecatedaccept(params: AcceptParams): void
is now recommended.