Skip to content

Commit

Permalink
Fix calls to obs-api
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyStreamlabs committed Oct 12, 2018
1 parent 84ea031 commit ab31b8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/services/auto-config/brand-device.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import electron from 'electron';
import { nodeObs } from '../obs-api';
import * as obs from '../../../obs-api';
import { execSync } from 'child_process';
import { mutation, StatefulService } from '../stateful-service';
import { Inject } from '../../util/injector';
Expand Down Expand Up @@ -106,8 +106,8 @@ export class BrandDeviceService extends StatefulService<IBrandDeviceState> {
}

// force SLOBS to reload config files
nodeObs.OBS_service_resetVideoContext();
nodeObs.OBS_service_resetAudioContext();
obs.NodeObs.OBS_service_resetVideoContext();
obs.NodeObs.OBS_service_resetAudioContext();

return true;
} catch (e) {
Expand Down

0 comments on commit ab31b8f

Please sign in to comment.