bombbomb / BBCore

A Javascript API to use BombBomb services
4 stars 12 forks source link

Safari 15.1 support #45

Open dfoody opened 2 years ago

dfoody commented 2 years ago

We're successfully using BBCore on Chrome (specifically startVideoRecorder):

                    self.bombbomb = new BBCore({ accessToken: token });

                    self.bombbomb.startVideoRecorder({
                        target: "#bombbomb-recorder",
                        width: width
                    },
                    self.onRecordingDone);

But, when we try and use the same code on Safari we get this error displayed on the screen in place of the live video: "Well, this is embarrassing. A connection error occurred."

It's failing on the calls to https://scribe2.bombbomb.com/socket.io/?EIO=4&transport=polling&t=..&sid=... with this error returned:

{
    "code": 1,
    "message": "Session ID unknown"
}

Is there a workaround to get it working on Safari?

Thanks