change Listen ip H323plus
change Listen ip H323plus
Use in the project h323plus OpenMcu is a big problem when the video server is behind NAT. Where in the source code can be corrected to h323plus sent my external ip address. I do not want to use the GK is too much I want to substitute a link to the source code of your external IP address and then it will work well behind a NAT. Thanks in advance.
Re: change Listen ip H323plus
There is a function in H323EndPoint
virtual void TranslateTCPAddress(
PIPSocket::Address & /*localAddr*/,
const PIPSocket::Address & /*remoteAddr */
) { }
Override and change the localAddr to that of your public IP address.
Don't forget to port forward in the router.
virtual void TranslateTCPAddress(
PIPSocket::Address & /*localAddr*/,
const PIPSocket::Address & /*remoteAddr */
) { }
Override and change the localAddr to that of your public IP address.
Don't forget to port forward in the router.
Re: change Listen ip H323plus
Dear Shorne. I go to line 2207 in file h323ep.h then go lineshorne wrote:There is a function in H323EndPoint
virtual void TranslateTCPAddress(
PIPSocket::Address & /*localAddr*/,
const PIPSocket::Address & /*remoteAddr */
) { }
Override and change the localAddr to that of your public IP address.
Don't forget to port forward in the router.
PIPSocket :: Address & / * localAddr * /,
If my public ip 2.2.2.2, how to change this line?
Re: change Listen ip H323plus
tried to change the code:
Compilation is successful but nothing has changed.
There is another question ... This change will only transmit port 1720? whether to broadcast RTP ports to the specified public ip?
Code: Select all
virtual void TranslateTCPAddress(
PIPSocket::Address & localAddr,
const PIPSocket::Address & /* remoteAddr */
) {
localAddr = "my.ext.ip";
}
There is another question ... This change will only transmit port 1720? whether to broadcast RTP ports to the specified public ip?