File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -303,10 +303,12 @@ function (_EventEmitter) {
303
303
switch ( _context3 . prev = _context3 . next ) {
304
304
case 0 :
305
305
this . obsStreaming = false ;
306
- _context3 . next = 3 ;
306
+ this . nginxVideoMeta = null ;
307
+ this . bitrate = null ;
308
+ _context3 . next = 5 ;
307
309
return this . canSwitch ( ) ;
308
310
309
- case 3 :
311
+ case 5 :
310
312
_ref3 = _context3 . sent ;
311
313
canSwitch = _ref3 . canSwitch ;
312
314
@@ -316,7 +318,7 @@ function (_EventEmitter) {
316
318
} ) ;
317
319
}
318
320
319
- case 6 :
321
+ case 8 :
320
322
case "end" :
321
323
return _context3 . stop ( ) ;
322
324
}
Original file line number Diff line number Diff line change @@ -177,6 +177,8 @@ class ObsSwitcher extends EventEmitter {
177
177
178
178
async streamStopped ( ) {
179
179
this . obsStreaming = false ;
180
+ this . nginxVideoMeta = null ;
181
+ this . bitrate = null ;
180
182
181
183
const { canSwitch } = await this . canSwitch ( ) ;
182
184
You can’t perform that action at this time.
0 commit comments