Pārlūkot izejas kodu

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

master
Leonard Kim 6 gadus atpakaļ
vecāks
revīzija
b57eaed940

+ 2
- 1
react/features/recording/components/LiveStream/AbstractStartLiveStreamDialog.js Parādīt failu

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;

Notiek ielāde…
Atcelt
Saglabāt