Skip to content

Web SDK v1.0.4

Compare
Choose a tag to compare
@stokes-christopher stokes-christopher released this 25 May 00:24
· 26 commits to main since this release

Changes

  • Add extra validation to startProcessing arguments.
  • Check if websocket is connected when making a modifySampleRate call. If not, throws NoConnectionError.
  • Add reconnection support - if reconnectOnError is set to true in the SymblConfig, we attempt to reconnect after a break in connection. A break in connection is determined after 30 seconds of not receiving any expected data from the WebSocket.
  • Added logLevel to SymblConfig.
  • Add separate methods to handle <video>and <audio> elements in audiostreams. Now have attachAudioSourceElement, detachAudioSourceElement, updateAudioSourceElement, attachVideoSourceElement, detachVideoSourceElement, and updateVideoSourceElement. Previous versions allowed either <audio> or <video> elements to be passed into the same attachAudioSourceElement, but going forward only the corresponding methods may be used depending on element type.
  • Add getConversationId() to StreamingAPIConnection and SubscribeAPIConnection. Will only be populated after conversation_created event has been fired. For more information on the conversation_created event check out our Events and Callbacks page.
  • Add Conversation object which can also be used to grab the conversation ID. This object is attached to StreamingAPIConnection and SubscribeAPIConnection as connection.conversation. Going forward, the Conversation object will integrate with our Conversation APIs.

Bug fixes

  • Fix typos in some of the Typescript types for Topics.