Allessandro,
Thanks for the feedback, however things are still not working for me. On one hand, I believe I am very close, on the other hand, maybe I am missing a critical component.
What I am hoping for is some specific suggestions for what variables (nat_1_1_mapping, ice_enforce_list, and anything else I may need). In most ways, I think my setup is far simpler than most of the other things that this tool can do.
For background, let's assume my server is in AWS and thus has a fixed globally available IP address. However, it is also the case that I have locked down most all the ports in my current instantiation. AWS server is at IP 172.31.A.B. Janus and my web server are running on the AWS server and the AWS server has a point to point connection to each of my devices which are behind some NAT. Let's assume I have only one device talking to my server. It is at IP 10.129.4.2 (from the context of the AWS server) and the AWS server is at IP address 10.129.4.1 as well as at its public IP address 173.31.A.B. All of the ports on the 10.129.x.y network are open. And then, of course, we have the browser somewhere else. The rtsp_url that janus uses for streaming is rtsp://
10.129.4.1:8554/stream1.
In the above framework, I can get the stream completely set up, but the media data never arrives. My question is what should the configuration file look like since janus can clearly address everything directly.
I also have a server on my home network which is the same subnet as the device. That works fine and I assume that is because the ice candidates can all talk directly to each other using local addresses.
My home server can also be addressed with a global IP address (63.X.Y.Z) which is behind my router and forwards only a few ports (80, 443, and one other) to my server. I think whatever would work for AWS should also work for my home setup.
I am not sure if my problem is ports not being open. If so, where do I specify the ports that are opened?
And I am not sure what the ice candidates really want to look like given my setup.
Finally, I dont even think I understand if there is a STUN and/or TURN server running as part of the Janus setup? Or is this something I need to setup if it is even necessary? Data could flow on the point to point 10.129. network which is what I thought would happen, but obviously isnt.
Welcome back from holiday janus team!! And thanks for trying to help this webrtc novice.
-brian