26 May 2022
over 2 years ago by Matty Williams
-
Web SDK new release: Version 1.0.4 of the Symbl Web SDK is now available.
- Added extra validation to
startProcessing
arguments. - Check if WebSocket is connected when making a
modifySampleRate
call. If not, throw aNoConnectionError
. - Added reconnection support. If
reconnectOnError
is set totrue
in the SymblConfig, Web SDK attempts to reconnect after a break in connection. A break in connection is determined after thirty (30) seconds of not receiving any expected data from the WebSocket. - Added
logLevel
to SymblConfig. - Added separate methods to handle
<video>
and<audio>
elements in audiostreams. Web SDK now hasattachAudioSourceElement
,detachAudioSourceElement
,updateAudioSourceElement
,attachVideoSourceElement
,detachVideoSourceElement
, andupdateVideoSourceElement
. Previous versions allowed either<video>
or<audio>
elements to be passed into the sameattachAudioSourceElement
, but going forward only the new separate corresponding methods may be used depending on element type. - Added
getConversationId()
toStreamingAPIConnection
andSubscribeAPIConnection
. These will only be populated after theconversation_created
event has been fired. For more information on theconversation_created
event, see Events and Callbacks. - Added a
Conversation
object which can also be used to get the conversation ID. This object is attached toStreamingAPIConnection
andSubscribeAPIConnection
asconnection.conversation
. Going forward, theConversation
object will integrate with Conversation APIs.
- Added extra validation to
Known Issues:
- If
disconnectOnStopRequest
is missing orfalse
, oncestopProcessing
is called an error message will appear repeatedly warning that the websocket cannot send data.
Bug Fixes:
- Corrected typos in some of the TypeScript types for Topics.