| 555 | } |
| 556 | |
| 557 | static void checkAutoStartRecording() |
| 558 | { |
| 559 | if (switcher->obsIsShuttingDown) { |
| 560 | return; |
| 561 | } |
| 562 | |
| 563 | if (switcher->autoStartEvent == SwitcherData::AutoStart::RECORDING || |
| 564 | switcher->autoStartEvent == |
| 565 | SwitcherData::AutoStart::RECORINDG_OR_STREAMING) { |
| 566 | switcher->Start(); |
| 567 | } |
| 568 | } |
| 569 | |
| 570 | static void checkAutoStartStreaming() |
| 571 | { |