When I try to connect to my application, I can connect and start sending and receiving ICE candidates. But the negotiations do not conclude that the state of the rtc connection ultimately goes to "Check", and then after about 30 seconds drops to "Failed"
This works for me with local configuration, but as soon as I deploy to AWS, it will start crashing. I went and placed the settings in AWS and opened all the ports, and now I can get to the coturn service (returns 200 when requested via http), and the Trickle service works fine here .
I am using a Kurento media server and hope to connect to this service through websocket. As I mentioned, this works locally, so I'm sure there is nothing wrong with the way I make the request, but instead it is a configuration option with AWS or my docker compose file.
I have a file for docker with three applications in it:
version: "3.4"
services:
media-controller:
image: my-custom-images/my-server:latest.version
volumes:
- "tmp-video-storage:/tmp"
ports:
- "8899:8899"
kurento-media-service:
image: kurento/kurento-media-server:6.6.0
volumes:
- "tmp-video-storage:/tmp"
ports:
- "8888:8888"
coturn:
image: my-custom-images/coturn:lastest.version
ports:
- "3478:3478/udp"
- "3478:3478/tcp"
volumes:
tmp-video-storage:
coturn / etc / turnserver.conf
min-port=49152
max-port=65535
fingerprint
lt-cred-mech
realm=my-domain.com
log-file stdout
user=username-placeholder:password-placeholder
external-ip=public-ip/private-ip
listening-port=3478
Exiting Drops Ice Ice:
0.004 1 host 1019731727 udp 192.168.1.104 64702 126 | 32543 | 0
0.068 1 srflx 3180321211 udp 10.255.0.2 64702 100 | 32542 | 255
0.091 1 relay 610197926 udp 35.183.10.44 50008 2 | 32542 | 255
0.106 1 host 1917068287 tcp 192.168.1.104 9 90 | 32542 | 255
0.106 Done
0.120
source
share