瀏覽代碼

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

master
Leonard Kim 6 年之前
父節點
當前提交
b57eaed940
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js

+ 2
- 1
react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js 查看文件

194
      */
194
      */
195
     _onSubmit() {
195
     _onSubmit() {
196
         const { broadcasts, selectedBoundStreamID } = this.state;
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
         if (!key) {
200
         if (!key) {
200
             return false;
201
             return false;

Loading…
取消
儲存