Skip to content

Commit

Permalink
Merge pull request #26 from marcin-zbijowski/master
Browse files Browse the repository at this point in the history
fix(streaming): Removed setLogToBrowserConsole call in Dash directive
  • Loading branch information
IxquitilisSaid authored Aug 13, 2020
2 parents ec98803 + 7f81fbf commit 5cbac7d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ declare let dashjs: {
(): { (): any; new (): any; create: { (): any; new (): any } };
events: { STREAM_INITIALIZED: any };
};
Debug: { LOG_LEVEL_NONE: any };
};

@Directive({
Expand Down Expand Up @@ -90,7 +91,7 @@ export class VgDashDirective implements OnInit, OnChanges, OnDestroy {
}

this.dash = dashjs.MediaPlayer().create();
this.dash.getDebug().setLogToBrowserConsole(false);
this.dash.updateSettings({ 'debug': { 'logLevel': dashjs.Debug.LOG_LEVEL_NONE } });
this.dash.initialize(this.ref.nativeElement);
this.dash.setAutoPlay(false);

Expand Down

0 comments on commit 5cbac7d

Please sign in to comment.