File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ $.getJSON('/token', function(data) {
83
83
84
84
// Successfully connected!
85
85
function roomJoined ( room ) {
86
- activeRoom = room ;
86
+ window . room = activeRoom = room ;
87
87
88
88
log ( "Joined as '" + identity + "'" ) ;
89
89
document . getElementById ( 'button-join' ) . style . display = 'none' ;
@@ -145,7 +145,7 @@ document.getElementById('button-preview').onclick = function() {
145
145
: Video . createLocalTracks ( ) ;
146
146
147
147
localTracksPromise . then ( function ( tracks ) {
148
- previewTracks = tracks ;
148
+ window . previewTracks = previewTracks = tracks ;
149
149
var previewContainer = document . getElementById ( 'local-media' ) ;
150
150
if ( ! previewContainer . querySelector ( 'video' ) ) {
151
151
attachTracks ( tracks , previewContainer ) ;
You can’t perform that action at this time.
0 commit comments