Browse Source

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

master
Leonard Kim 6 years ago
parent
commit
b57eaed940

+ 2
- 1
react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js View File

@@ -194,7 +194,8 @@ export default class AbstractStartLiveStreamDialog<P: Props>
194 194
      */
195 195
     _onSubmit() {
196 196
         const { broadcasts, selectedBoundStreamID } = this.state;
197
-        const key = this.state.streamKey || this.props._streamKey;
197
+        const key
198
+            = (this.state.streamKey || this.props._streamKey || '').trim();
198 199
 
199 200
         if (!key) {
200 201
             return false;

Loading…
Cancel
Save