Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
fix for streamQuality without options
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandawg93 committed Aug 2, 2020
1 parent b52cc92 commit 8ee1062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streamer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export class NexusStreamer {
});

let index = -1;
switch (this.config.options.streamQuality) {
switch (this.config.options?.streamQuality || 3) {
case 1:
this.log.debug('Using LOW quality stream.');
primaryProfile = StreamProfile.VIDEO_H264_100KBIT_L30;
Expand Down

0 comments on commit 8ee1062

Please sign in to comment.