Releases: sendbird/sendbird-calls-javascript
Releases · sendbird/sendbird-calls-javascript
1.3.0
1.3.0 (September 23, 2020)
- Added snapshot feature
- Below methods are added in
DirectCallcaptureLocalVideoView(callback?: CaptureVideoViewHandler): Promise<CaptureVideoViewResult>captureRemoteVideoView(callback?: CaptureVideoViewHandler): Promise<CaptureVideoViewResult>
- Below methods are added in
- Added recording feature
- Below methods are added in
SendBirdCalladdRecordingListener(id: string, listener: SendBirdCallRecordingListener): voidremoveRecordingListener(id: string): voidremoveAllRecordingListeners(): void
- Below methods are added in
DirectCallstartRecording(options: DirectCallRecordOption): stringstopRecording(recordingId: string): boolean
- Below constructor is added in
SendBirdCallDirectCallRecordOption
- Below methods are added in
- Added sound effect feature
- Below property is added in
SendBirdCallSoundType
- Below methods are added in
SendBirdCalladdDirectCallSound(type: SoundType, url: string): Promise<boolean>removeDirectCallSound(type: SoundType): boolean
- Below property is added in
- Improved validation of
customItemsinterfaces. Only string keys/values are available forcustomItemsorcustomItemsKeysarguments of,updateCustomItems(callId: string, customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>inSendBirdCalldeleteCustomItems(callId: string, customItemKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>inSendBirdCallupdateCustomItems(customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>inDirectCalldeleteCustomItems(customItemsKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>inDirectCall
1.2.5
1.2.4
1.2.3
1.2.2
1.2.2 (July 28, 2020)
- Replaced MediaDeviceInfo with InputDeviceInfo in following
SendBirdCallmethodsgetCurrentAudioInputDevice(): InputDeviceInfogetAvailableAudioInputDevices(): InputDeviceInfo[]selectAudioInputDevice(mediaDeviceInfo: InputDeviceInfo): voidgetCurrentVideoInputDevice(): InputDeviceInfogetAvailableVideoInputDevices(): InputDeviceInfo[]selectVideoInputDevice(mediaDeviceInfo: InputDeviceInfo): void
- Added missing type information
SendbirdCall'suseMedia()method can returnundefinedDirectCall'ssetLocalMediaView(mediaView: HTMLMediaElement)DirectCall'ssetRemoteMediaView(mediaView: HTMLMediaElement)
- Added webhook support
- Add
handleWebhookData(data: WebhookData): voidto SendBirdCall - Add
WebhookDatainterface
- Add
1.2.1
1.2.0
1.2.0 (July 20, 2020)
- Added support for Peer-to-peer call.
- The Peer-to-peer option can be configured on the dashboard.
- Added getting ongoing call count and ongoing status of
DirectCall.- Added
getOngoingCallCount(): numbertoSendBirdCall. - Added
readonly isOngoing: booleantoDirectCall.
- Added
- Added
setCallConnectionTimeout(timeout: number): voidtoSendBirdCall.- The call connection timer starts when the callee accepts the call. The timer will end the call after the specified timeout interval.
- Improved stability.