Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording stops before the set duration #150

Open
ashketchumpk opened this issue Oct 11, 2024 · 1 comment
Open

Recording stops before the set duration #150

ashketchumpk opened this issue Oct 11, 2024 · 1 comment

Comments

@ashketchumpk
Copy link

I have been getting this issue since the beginning of use of the script, which is : the recording process stops before the end of the duration that I set.

each time it stops at a random duration and all of them were shorter than the duration I specified.

tiktok live recorder

Ps : Whenever the recording stops, I check my internet connection, and if the live I am recording is still going on - and everything was alright, so the issue is coming from the script.

@sotero1113
Copy link

if the live loses connection, or the user pauses the live, or the user joins another live room this can cause the recording to end early since TT generates a new room.

What I did was added a loop so that it rechecks if a user is still live in which it will try 5 times every 10 seconds, if a user is still live then it starts a new recording

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants