Skip to content

Commit

Permalink
Release 1.1.0 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloFuente committed Oct 4, 2017
1 parent 8804803 commit 748e33a
Show file tree
Hide file tree
Showing 5 changed files with 12,505 additions and 11,345 deletions.
2 changes: 1 addition & 1 deletion openvidu-hello-world/web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function joinSession() {
session = OV.initSession("wss://" + location.hostname + ":8443/" + sessionId + '?secret=MY_SECRET');

session.on('streamCreated', function (event) {
var subscriber = session.subscribe(event.stream, 'subscriber');
session.subscribe(event.stream, 'subscriber');
});

session.connect(null, function (error) {
Expand Down
3 changes: 1 addition & 2 deletions openvidu-insecure-angular/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export class AppComponent {
// Set the main video in the page to display our webcam
this.mainVideoStream = this.localStream;


// --- 5) Publish your stream ---

this.session.publish(publisher);
Expand All @@ -114,7 +113,7 @@ export class AppComponent {

leaveSession() {
// --- 6) Leave the session by calling 'disconnect' method over the Session object ---
if (this.OV) { this.session.disconnect(); };
if (this.session) { this.session.disconnect(); };

// Empty all properties...
this.remoteStreams = [];
Expand Down
2 changes: 1 addition & 1 deletion openvidu-insecure-js/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- Bootstrap -->

<link rel="stylesheet" href="style.css" type="text/css" media="screen">
<script src="openvidu-browser-1.1.1-dev.js"></script>
<script src="openvidu-browser-1.1.0.js"></script>
<script src="app.js"></script>
</head>

Expand Down
Loading

0 comments on commit 748e33a

Please sign in to comment.