For why media stream is not showing in video element, there can be many reason like not consuming correctly or may be not setting stream to video element correctly or may be autoplay issue.
To find you whether track is being received you need to go to chrome://webrtc-internals and see in the stats.
Also try logging track to console and see if it is paused or ended,
Make sure you are producing, consuming correctly. Also check producer, consumer scores on server side to verify the track input, output.
As IP can i do 0.0.0.0 ?
I had protocol to udp to test to test both already, i make so new tests still.
When i console log i have the media but it’s not showing.
“Also check producer, consumer scores on server side to verify the track input, output.”
Do you have some idea how to debug and log it ?
On server I use public ip of server as annoucedIp, but for local I set 127.0.0.1 or my local ip as ‘ip’ and use 0.0.0.0 as ‘annoucedIp’ to make it work.
Before checking scores on server, do check incoming/outgoing tracks from chrome://webrtc-internals it is lot simpler.
Kindly show the track from console log with object expanded.
I didn’t at the beginning, but i added one because it can maybe help.
I have this running on docker container running on the same network.
But i still can’t play the media stream in the consumer side.
So for now i don’t know i to fix my issue.
Why media stream is not playing on consumer side ?
I have an error when i use udp protocol i have a connection failed and an error who said i have a turn error on firefox for exemple:
WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details .
yes i guess, but i already make sure that my front end and back ends are on the same network, so everything should work, but it doesn’t i don’t know why
show me the track object you console logged. Also make a video for me of your chrome://webrtc-internals. If possible upload it somewhere to have a look. It is difficult to judge just from conversations.