Loukious / TikTokStreamKeyGenerator

TikTok Live Stream Key Generator for OBS Studio
113 stars 38 forks source link

Different ingest servers? #13

Closed nguyenle2457 closed 4 months ago

nguyenle2457 commented 4 months ago

First of all, stellar work. Thank you so much for this. I can't believe it works and I hope it'll continue to (as long as TikTok allows it or provide stream keys no questions asked). I sifted through your code and I can see that there are two ingest servers, both located in US East. Two concerns:

  1. Do these affect regional visibility, or is that dictated by priority_region?
  2. Users not within close proximity of these servers may experience routing issues and thus, dropped frames. Have these always been the only ingest servers available? Or are there more that have yet to be discovered/implemented?
Loukious commented 4 months ago

Thank you.

  1. Do these affect regional visibility, or is that dictated by priority_region?

They don't affect visibility, priority_region is the only one that should affected (with no guarantee as the name suggests)

  1. Users not within close proximity of these servers may experience routing issues and thus, dropped frames. Have these always been the only ingest servers available? Or are there more that have yet to be discovered/implemented?

As far as I know yes. I looked up TikTok hosts here and they seem to be the only ones related the streaming. Also only one of them is supposed to work for you and it's based on the account not the location. Also routing shouldn't be an issue as DNS will auto-resolve it to the closest host. Example: I'm in Africa and when I ping the server webcast16-normal-c-useast1a.tiktokv.com I get 45ms image

nguyenle2457 commented 4 months ago

You're very much correct. It would appear that they use anycast DNS. I didn't even think of pinging it to find out, and sure enough its only 30ms. As for the visibility concern, I suppose that's to be expected since this is a nice enough workaround for now, until they give an option to stream with third party software using streamkey. However, I thought of another potential issue: Do you know if this effectively bypasses the content moderation system that's seen in TikTok Live Studio? Normally, you'd get a warning for any guidelines violations from within Live Studio. If the answer is no then is there a way to broadcast said warning(s) to us?

Loukious commented 4 months ago

As for the visibility concern, I suppose that's to be expected since this is a nice enough workaround for now

It works actually the exact same way as LIVE Studio except it doesn't give you the choice (so in a sense this app is better).

Do you know if this effectively bypasses the content moderation system that's seen in TikTok Live Studio?

No it doesn't.

is there a way to broadcast said warning(s) to us?

Probably yes maybe I'll implement it in the future.

nguyenle2457 commented 4 months ago

It works actually the exact same way as LIVE Studio except it doesn't give you the choice (so in a sense this app is better).

Makes sense now that I think about it, it's literally an OBS knock-off.

Do you know if this effectively bypasses the content moderation system that's seen in TikTok Live Studio?

No it doesn't.

is there a way to broadcast said warning(s) to us?

Probably yes maybe I'll implement it in the future.

Good to know and great that you're considering this as a future feature!