Skip to content

Commit

Permalink
Require panner node
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenAudioMc-Bot committed Jun 18, 2023
1 parent 0d34097 commit 6f6f629
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/public/metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"buildMajor":1,"buildMinor":125,"buildRevision":38,"buildTag":"production","buildDate":"00:39:04 GMT+0200 (Central European Summer Time)","build":"1.125.38 production"}
{"buildMajor":1,"buildMinor":125,"buildRevision":39,"buildTag":"production","buildDate":"11:08:18 GMT+0200 (Central European Summer Time)","build":"1.125.39 production"}
6 changes: 6 additions & 0 deletions client/src/components/OpenAudioRouter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ class OpenAudioController extends React.Component {
this.setState({preflightOk: false, errorMessage: "Your browser does not support the WebSocket API. Please use a modern browser like Chrome or Firefox."});
return
}

// check if PannerNode is supported
if (!window.PannerNode) {
this.setState({preflightOk: false, errorMessage: "Your browser does not support the PannerNode API. Please use a modern browser like Chrome or Firefox."});
return
}
}

render() {
Expand Down
2 changes: 1 addition & 1 deletion client/src/metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"buildMajor":1,"buildMinor":125,"buildRevision":38,"buildTag":"production","buildDate":"00:39:04 GMT+0200 (Central European Summer Time)","build":"1.125.38 production"}
{"buildMajor":1,"buildMinor":125,"buildRevision":39,"buildTag":"production","buildDate":"11:08:18 GMT+0200 (Central European Summer Time)","build":"1.125.39 production"}

0 comments on commit 6f6f629

Please sign in to comment.