Discussions

Ask a Question
Back to All

Agent SDK Question

Hi!

I have a Pro account and I'm using your Agent SDK to embed one embeddable agent in my site. I followed your instructions one by one, but this is what happends:

1 I create the auth, using my Client-key and my Agent-Id, and I call the "await sdk.createAgentManager" function. Everything looks right. Then I call the "connect()" function.

2 It begins the creation of the agentManager, but in my firefox console I read this message: "WebRTC: Using five or more STUN/TURN servers slows down discovery". I supose it's alright, maybe it's not...

3 It starts to appear this messages in my Firefox console: "onVideoStateChange(): START", "onVideoStateChange(): STOP". Up to ten times! During this process (about 30 seconds) the video object displays something like a loading screen, flickering with the idle video, in a very disturbing way.

How can I get rid off this flickering effect? Is it normal to Start and Stop so many times during one single connection?

Please, I need help as I need to show something to my boss.

Thanks!