Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(live-streaming): trim the entered stream key

Leonard Kimb57eaed940c9
diff --git a/react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js b/react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js
index cd80db46b6..29e8415f37 100644
--- a/react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js
+++ b/react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js
@@ -194,7 +194,8 @@ export default class AbstractStartLiveStreamDialog<P: Props>
*/
_onSubmit() {
const { broadcasts, selectedBoundStreamID } = this.state;
- const key = this.state.streamKey || this.props._streamKey;
+ const key
+ = (this.state.streamKey || this.props._streamKey || '').trim();
if (!key) {
return false;