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
DirectCall
captureLocalVideoView(callback?: CaptureVideoViewHandler): Promise<CaptureVideoViewResult>
captureRemoteVideoView(callback?: CaptureVideoViewHandler): Promise<CaptureVideoViewResult>
- Below methods are added in
- Added recording feature
- Below methods are added in
SendBirdCall
addRecordingListener(id: string, listener: SendBirdCallRecordingListener): void
removeRecordingListener(id: string): void
removeAllRecordingListeners(): void
- Below methods are added in
DirectCall
startRecording(options: DirectCallRecordOption): string
stopRecording(recordingId: string): boolean
- Below constructor is added in
SendBirdCall
DirectCallRecordOption
- Below methods are added in
- Added sound effect feature
- Below property is added in
SendBirdCall
SoundType
- Below methods are added in
SendBirdCall
addDirectCallSound(type: SoundType, url: string): Promise<boolean>
removeDirectCallSound(type: SoundType): boolean
- Below property is added in
- Improved validation of
customItems
interfaces. Only string keys/values are available forcustomItems
orcustomItemsKeys
arguments of,updateCustomItems(callId: string, customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>
inSendBirdCall
deleteCustomItems(callId: string, customItemKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>
inSendBirdCall
updateCustomItems(customItems: CustomItems, callback?: CustomItemsHandler): Promise<CustomItemsResult>
inDirectCall
deleteCustomItems(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
SendBirdCall
methodsgetCurrentAudioInputDevice(): InputDeviceInfo
getAvailableAudioInputDevices(): InputDeviceInfo[]
selectAudioInputDevice(mediaDeviceInfo: InputDeviceInfo): void
getCurrentVideoInputDevice(): InputDeviceInfo
getAvailableVideoInputDevices(): InputDeviceInfo[]
selectVideoInputDevice(mediaDeviceInfo: InputDeviceInfo): void
- Added missing type information
SendbirdCall
'suseMedia()
method can returnundefined
DirectCall
'ssetLocalMediaView(mediaView: HTMLMediaElement)
DirectCall
'ssetRemoteMediaView(mediaView: HTMLMediaElement)
- Added webhook support
- Add
handleWebhookData(data: WebhookData): void
to SendBirdCall - Add
WebhookData
interface
- 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(): number
toSendBirdCall
. - Added
readonly isOngoing: boolean
toDirectCall
.
- Added
- Added
setCallConnectionTimeout(timeout: number): void
toSendBirdCall
.- The call connection timer starts when the callee accepts the call. The timer will end the call after the specified timeout interval.
- Improved stability.