AmitBu
AmitBu

Reputation: 137

Kurento webrtc video doesn't play from remote server

I've installed kurento media server locally using docker, and created a Node.js app to communicate with it.

I have two types of clients, presenter clients & viewer clients. Everything works on the local environment using self signed SSL certificate, I can also connect from other devices on local network.

Now I want to make it work from AWS, I created CloudFormation stack using template file, from kurento installation guide, and deployed my Node.js server to a different EC2 instance.

The problem is that the video doesn't play on viewer clients. The communication with Node.js app works the same as in local & sdpAnswer arrives.

My first guess was that it's a certificate error, so I linked my domain to CloudFlare, and used its SSL service. But the video still doesn't play.

Also, I checked The TURN server, that the template created, it seems to be working: Trickle ICE check

All ports are currently open on both EC2 instances.

What am I missing here? And how could I troubleshoot it?

Thanks in advance :)

Upvotes: 0

Views: 954

Answers (1)

AmitBu
AmitBu

Reputation: 137

If anyone is interested, in my case I forgot to call:

webRtcPeer.addIceCandidate(candidate);

In my client side app, when candidates arrived from server.

Upvotes: 1

Related Questions