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

add llive guest join / talk feature #229

Open
ymerkos opened this issue Sep 4, 2024 · 1 comment
Open

add llive guest join / talk feature #229

ymerkos opened this issue Sep 4, 2024 · 1 comment

Comments

@ymerkos
Copy link

ymerkos commented Sep 4, 2024

B"H

I spent some time inspecting the tiktok live webpage with network tab to try to track the requests for when a new guest joins a live, and when guests switch speaking. I couldn't figure it out.

What I want to do is be able to know when a specific new guest joins or leaves, or when either a guest or the host starts or stops talking.

Ultiamtely I want to recreate the entire live stream on a new web page to be able to customize it with other features and designs and then record it to publish it without the default tiktok layout

But in order to do that I want to be able to determine when a new guest joins, when a guest leaves, or when any guest starts or stops talking.

Do you know if its at all possible to track this with this library?

At least in the app, it shows visual signs when a guest starts speaking, typically with certain blue indicators like box borders or expanding rings around the guest boxes / bubbles to indicate if they are speaking. However, in the final default live recording, these indicators don't show up, making the entire video diffiuclt to follow especially with many guests

(which is why I want to completely recreate the experience on another web page).

I noticed that in the tiktok live webpage in a browser it does not show any such indicators. But the fact that the indicators are shown in the app to determine when someone starts talking or stops, implies that it should be possible to detect / connect to the requests needed to determine that.

In addition, knowing when a new guest joins or leaves should be trivial

How can this be done?

@TopDogger1
Copy link

This library works by connecting to the websocket opened when joining a livestream. In the network tab you won't see any of this because the only thing that pops up is you joining the websocket, when you click on that it will show all things sent through it. Now whether or not it will display what you need I am not sure.

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