Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
QOL: Display a message when multiple streamers are detected, notifyin…
Browse files Browse the repository at this point in the history
…g users to select the stream they want (#94)
  • Loading branch information
Belchy06 committed Feb 15, 2023
1 parent a9e52d4 commit 1b86e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Frontend/library/src/WebRtcPlayer/WebRtcPlayerController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,8 @@ export class WebRtcPlayerController {
} else if (urlParams.has(OptionParameters.StreamerId) && messageStreamerList.ids.includes(urlParams.get(OptionParameters.StreamerId))) {
// If there's a streamer ID in the URL and a streamer with this ID is connected, set it as the selected streamer
this.config.setOptionSettingValue(OptionParameters.StreamerId, urlParams.get(OptionParameters.StreamerId));
} else {
this.application.showTextOverlay('Multiple streamers detected. Use the dropdown in the settings menu to select the streamer.');
}
}

Expand Down

0 comments on commit 1b86e0f

Please sign in to comment.