jitsi / docker-jitsi-meet

Jitsi Meet on Docker
https://hub.docker.com/u/jitsi/
Apache License 2.0
3.09k stars 1.37k forks source link

Address RTP in SDP & PROXY PORT #42

Closed XHAGBARD closed 5 years ago

XHAGBARD commented 5 years ago

Hello, I have an installation with docker-compose in a Centos7, I'm having problems with jigasi, exactly two: The option PROXY_PORT in .env is omitted in practice, I need the port to be 5062 but ignore it and continue transmitting to 5060.

The address in SDP to transmit RTP is the IP of the Docker container:

v = 0
o = 117225-jitsi.org 0 0 IN IP4 **172.18.0.6**
s = -
c = IN IP4 172.18.0.6
t = 0 0
m = audio 20004 RTP / AVP 96 97 9 0 8 98 101
a = rtpmap: 96 opus / 48000/2
a = fmtp: 96 usedtx = 1
a = ptime: 20
a = rtpmap: 97 AMR-WB / 16000
a = rtpmap: 9 G722 / 8000
a = rtpmap: 0 PCMU / 8000
a = rtpmap: 8 PCMA / 8000
a = rtpmap: 98 iLBC / 8000
a = rtpmap: 101 telephone-event / 8000
a = extmap: 1 urn: ietf: params: rtp-hdrext: csrc-audio-level
a = extmap: 2 urn: ietf: params: rtp-hdrext: ssrc-audio-level
a = rtcp-xr: voip-metrics

This causes that there is no audio in one direction of the call.

saghul commented 5 years ago

The option PROXY_PORT in .env is omitted in practice

No image has been pushed with this option yet, you can either wait for updated images or build your own by using the provided Makefile.

The address in SDP to transmit RTP is the IP of the Docker container:

Your server should be able to handle this properly if you enable "NAT mode" of some kind.

XHAGBARD commented 5 years ago

The option PROXY_PORT in .env is omitted in practice

No image has been pushed with this option yet, you can either wait for updated images or build your own by using the provided Makefile.

Sorry, I was referring to the "JIGASI_SIP_PORT" option in .env. When compiled, the entry "net.java.sip.communicator.impl.protocol.sip.acc1.PROXY_PORT = {{.Env.JIGASI_SIP_PORT}}" is generated in sip-communicator.properties

saghul commented 5 years ago

Same answer, unless you build the images yourself this option is ignored. Or are you referring to something else?

XHAGBARD commented 5 years ago

Same answer, unless you build the images yourself this option is ignored. Or are you referring to something else?

But this variable is already implemented in the .env.example, it is not my own variable.

# Basic Jigasi configuration options (needed for SIP gateway support)

# SIP URI for incoming / outgoing calls.
#JIGASI_SIP_URI=test@sip2sip.info

# Password for the specified SIP account as a clear text
#JIGASI_SIP_PASSWORD=passw0rd

# SIP server (use the SIP account domain if in doubt).
#JIGASI_SIP_SERVER=sip2sip.info

# SIP server port
#JIGASI_SIP_PORT=5060

# SIP server transport
#JIGASI_SIP_TRANSPORT=UDP

Sorry Saúl for my bad English. I think I'm not explaining correctly.

saghul commented 5 years ago

Yes, it's there, but the Docker image doesn't currently read it. The image in DockerHub, that is. That is because I haven't pushed new images after that change was introduced.

saghul commented 5 years ago

Updated the Docker images. You can pull now and the settings will work. Don't forget to wipe your config first.