Another fix for Safari AudioContext
This commit is contained in:
1 parent
2e09cc76d7
commit
417f7ec3e8
1 file changed
+4
-2
@@ -36,6 +36,10 @@ const VIDEO_CONSTRAINS =
|
||||
|
||||
let store;
|
||||
|
||||
const AudioContext = window.AudioContext // Default
|
||||
|| window.webkitAudioContext // Safari and old versions of Chrome
|
||||
|| false;
|
||||
|
||||
export default class RoomClient
|
||||
{
|
||||
/**
|
||||
@@ -144,8 +148,6 @@ export default class RoomClient
|
||||
|
||||
this._startKeyListener();
|
||||
|
||||
this._audioContext = null;
|
||||
|
||||
this.join();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user