Welcome! Log In Create A New Profile

Advanced

OBS streaming with condition

Posted by Apos 
OBS streaming with condition
June 12, 2015 12:44AM
Right now, I have the following script to dual stream on both Hitbox and Twitch (You don't need to look at this.):
http://www.reddit.com/r/hitbox/comments/1xqqnz/tutorialhow_to_stream_to_twitch_and_hitbox_at_the/

The script works and is perfect.

What I want is to include a condition to also stream on a 3rd website but only when I want to. The idea is that I would start streaming only on Twitch and Hitbox, and in the middle, I could also make it push to Youtube live without stopping the other two. At anytime, I could stop streaming to Youtube while continuing to stream on the other two.


The only way I can think of seems like a dirty workaround and doesn't even work:

I tried do it with an if statement and detect if a certain file exists. That way, with outside control, I could create or remove a file to make it push to Youtube or not. It seems that I can't put an if statement there though.

Here is what it looked like: http://pastebin.com/dFq5Bk48



Edited 1 time(s). Last edit at 06/12/2015 12:45AM by Apos.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready