I can't view the webrtc stream I am using Ant Media Server Version: Enterprise Edition 2.14.0 #7394
Unanswered
waltertabuyan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description
WebRTC streaming is not working in Ant Media Server, while DASH and HLS streaming protocols work perfectly. Video appears black/fails to connect in WebRTC mode, but the same streams work fine when accessed via DASH/HLS protocols.
I just disabled the dash and hls because what I need is webrtc.
Environment Details
Ant Media Server Version: Enterprise Edition 2.14.0
Deployment: Docker containers via GitLab CI/CD
Architecture: Origin/Edge cluster setup with MongoDB
What Works vs What Doesn't Work
✅ Working:
DASH streaming - perfect playback
HLS streaming - perfect playback
TURN server functionality - verified independently
Ant Media Server web interface - accessible
Authentication endpoints - responding correctly
Container deployment - successful
❌ Not Working:
WebRTC publishing - black screen/no video
WebRTC playback - connection failures
ICE candidate gathering - appears to fail
Camera access in WebRTC mode
Technical Investigation
Network Observations:
API requests to Ant Media Server: ✅ Successful
Authentication requests: ✅ Working
Some network requests showing red/failed status
WebSocket connections to webrtc.domainxx.com:4444 attempting but failing
Current Status & Suspected Issues
This might be the causes but I need assistance from expert:
Application-level TURN configuration not taking effect
Need verification that red5-web.properties was actually updated
Server restart may not have applied changes correctly
WebRTC ICE negotiation failing
TURN server might not be used during ICE candidate gathering
Client-side configuration may still be using default Google STUN
Network connectivity issues
WebRTC UDP traffic may be blocked at network level
Firewall rules may prevent TURN relay traffic
Configuration timing issues
TURN configuration applied after applications already loaded
Restart sequence may not be properly waiting for services
Beta Was this translation helpful? Give feedback.
All reactions