Closed joeyslack closed 6 months ago
Perhaps, at the very least, can I pass a "verbose" or "debug" flag to the embed? Something like: https://rtc-web-us.cometchat.io/?v=3&verbose=0
or something? Just need a way to easily supress browser alerts for now, can work on event bubbling later if that's harder for you.
Thank you for the suggestions. The calls SDK has been separated from the Chat SDK and the alerts have been removed.
User receives a browser
alert
dialog when things go wrong in a video chat. It would be more appropriate to expand CometChat event listeners, and override the hardcodedalert
that is present in the embedded script on the hosted iframe react code, as such:Instead of an alert, can we bubble this to a Cometchat event listener, as other documented features?
Could we bubble up the message in this error, or could a new error be added OnCameraError, etc, to handle this?
Would much prefer to handle the errors in my own UI instead of using the browser's alert.
Thanks