Update README.md

This commit is contained in:
JW
2023-08-22 21:03:55 +02:00
committed by GitHub
parent af209fc2ca
commit b9a4fb193e

View File

@@ -62,7 +62,7 @@ Do you prefer other programming languages?
public static void main(String[] args) public static void main(String[] args)
{ {
// Username of someone who is currently live // Username of someone who is currently live
var tiktokUsername = "officialgeilegisela"; var tiktokUsername = "jwdevtiktok";
TikTokLive.newClient(tiktokUsername) TikTokLive.newClient(tiktokUsername)
.onConnected(event -> .onConnected(event ->
@@ -97,7 +97,7 @@ public class ConfigurationExample
{ {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
TikTokLive.newClient(Main.TEST_TIKTOK_USER) TikTokLive.newClient("jwdevtiktok")
.configure(clientSettings -> .configure(clientSettings ->
{ {
clientSettings.setHostName(Main.TEST_TIKTOK_USER); //tiktok user clientSettings.setHostName(Main.TEST_TIKTOK_USER); //tiktok user