logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
RJF  
#1 Posted : Sunday, July 30, 2023 9:04:33 AM(UTC)
RJF

Rank: Member

Groups: Registered
Joined: 12/4/2016(UTC)
Posts: 18
Man
France
Location: Strasbourg

Thanks: 3 times
Hi everyone !

For the broadcast of an Esport Event in August, I will use 900 secondes (15 minutes... yes very long !) "Stream Delay".
This is requested by the event organizer to avoid cheating.
I already tested such a delay during a 1 hour test event and so far so good.

But now there's a question when the show is over : what is the best way to stop automatically the stream without losing video buffer ?
A simple click on the stream button is bad as you lose the last 15 minutes of the show !
So :
- use a chronometer and click manually on "stop " ? Big fun.
- create a shortcut that will automatically stop streaming after 900 seconds ? How to do this ?
- other way ??

Thank you very much for any answers !
Regards.

nikosman88  
#2 Posted : Sunday, July 30, 2023 7:56:10 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 507
Greece
Location: athens

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Hello. You can make a script like this
sleep (900000)
API.Function("StopStreaming", Value:="1")

Assign it to shortcut,that you will run it when needed and wait for the rest..
RJF  
#3 Posted : Monday, July 31, 2023 9:49:39 PM(UTC)
RJF

Rank: Member

Groups: Registered
Joined: 12/4/2016(UTC)
Posts: 18
Man
France
Location: Strasbourg

Thanks: 3 times
Thanks a lot @nikosman88 !
I use your script / assign to shortcut and it works well !
Small correction though : API.Function("StopStreaming",1)


WaltG12  
#4 Posted : Thursday, August 3, 2023 3:53:31 AM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 307
United States

Thanks: 8 times
Was thanked: 40 time(s) in 35 post(s)
Ending a stream like this, with or without the delay, is generally not recommended, because latency can present issues.

The commands to start/stop the stream aren't sent on the same timeline as the stream itself. So if the server you're streaming to is processing your video with, say, a 1 second delay, stopping the stream the moment it's over from your end will generally kill that stream and drop that last second.

That's why a lot of streams will have those "Thanks for watching" or whatever title cards up at the end for a minute or 2 before killing the stream.
RJF  
#5 Posted : Friday, August 4, 2023 10:20:11 PM(UTC)
RJF

Rank: Member

Groups: Registered
Joined: 12/4/2016(UTC)
Posts: 18
Man
France
Location: Strasbourg

Thanks: 3 times
Hi WaltG12 and "Thanks for helping" !
:-)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.