Open nitsik opened 9 months ago
// Create a new wrapper object and pass the username
//let tiktokLiveConnection = new WebcastPushConnection(tiktokUsername);
const { ProxyAgent } = require('proxy-agent');
let tiktokLiveConnection = new WebcastPushConnection('@1223', {
requestOptions: {
httpAgent: new ProxyAgent('http://login:pass@123.123.123.123:123'),
timeout: 10000 // 10 seconds
},
websocketOptions: {
agent: new ProxyAgent('http://login:pass@123.123.123.123:123'),
timeout: 10000 // 10 seconds
}
});
I use somthing like this:
But I see:
Why? Thank you