Skip to content

Commit

Permalink
Fix gunDB not assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
QVDev committed Sep 18, 2019
1 parent 40ae677 commit ce2cbd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta charset="utf-8">
<title></title>
<script src="https://cdn.jsdelivr.net/npm/gun/gun.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].4/js/GunRecorder.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].4/js/GunStreamer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].4/js/GunViewer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].4/js/mediabuffer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].5/js/GunRecorder.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].5/js/GunStreamer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].5/js/GunViewer.js"></script>
<script src="https://cdn.jsdelivr.net/gh/QVDev/[email protected].5/js/mediabuffer.js"></script>
</head>

<body>
Expand Down
4 changes: 2 additions & 2 deletions js/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ gunDB.get("qvdev").on(function (data) {
var streamer_config = {
dbRecord: "gunmeeting",//The root of the streams
streamId: "qvdev",//The user id you wanna stream
// gun: gunDB,//Gun instance
gun: gunDB,//Gun instance
debug: false,//For debug logs
// onStreamerData: gunViewer.onStreamerData,//If you want manually handle the data manually
url: "https://cdn.jsdelivr.net/gh/QVDev/[email protected].4/js/parser_worker.js"//webworker load remote
url: "https://cdn.jsdelivr.net/gh/QVDev/[email protected].5/js/parser_worker.js"//webworker load remote
}

//GUN Streamer is the data side. It will convert data and write to GUN db
Expand Down

0 comments on commit ce2cbd9

Please sign in to comment.