Hi!
I’m incurring in a infrastructural necessity but i cannot seem to find documentation if i can do it or not.
When i’m sending an offer for connection to clients we also send the sdp that they’ll use to establish that.
In the sdp is present the ip/port of the videoserver as an IP4.
For security reasons we would like to avoid exposing directly that ip for clients to connect, but route it inside our service mesh so basically change that ip to the infrastructure doman + query param ( unique for each videoserver) that inside will then be translated and routed to the specific server.
Is it possibile to do that programmatically via a janus configuration or something that we can do when creating the offert to send to clients? Do we have to do that “by hand” parsing the sdp and changing where needed before sending it to clients ( and doing that will break something inside janus)?
based on my knowledge, this may not be possible to modify SDP from that Janus instance when sending to clients, maybe review the code see what you can contribute to for Janus directly, and maybe make use of domains or subdomains to shield the IP address. also review other modes of transports as well .I maybe wrong here as I am not sure on that part .
Thanks Kinsley for trying to answer, sadly i’ve not found a way for customizing the answer that janus sends back after a client makes an offer. We would really like to avoid using ip since that’s a great problem being our infrastructure not static and having to manage rules like that for every client could lead to potential problems.