Skip to content

0.7.0

Compare
Choose a tag to compare
@sb-junhyeong sb-junhyeong released this 21 Feb 10:17
· 106 commits to master since this release

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
  • 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
  • Reconnection is implemented in DirectCall

    • Below implementable event listeners are added in DirectCall
      • onReconnected: ((call: DirectCall) => void) | null
      • onReconnecting: ((call: DirectCall) => void) | null
  • Signature of the SendBirdCall.dial() has been changed.

    • dial(userId: string, isVideoCall: boolean, callOption: DirectCallOption, callback?: DialHandler): DirectCall is now deprecated
    • dial(params: DialParams, callback?: DialHandler): DirectCall is now recommended.
  • Signature of the DirectCall.accept() has been changed.

    • accept(callOption: DirectCallOption): void is now deprecated
    • accept(params: AcceptParams): void is now recommended.