[jitsi-dev] Can't use audio/video in Jitsi meet mobile app


#1

Hi !

We've implemented a Jitsi instance on our servers using an external
authentication.

To make a long story short, Jitsi is accessible using
'/jitsi-meet?name=confname&.....' with many params that enables the user
to log in another platform.

But today I'v made a rewrite rule: '/jitsi-meet/mycustomconf' to
'/jitsi-meet?name=mycustomconf'. When we use this kind of URL, custom
scripts are bypassed to use standard Jitsi behavior.

It works well on my computer, when someone joins the room using the
short URL, he gets into the room with the username 'External User' and a
random ejabberd ID, but when I try with the mobile app, I get the focus
(see others and they see me), but I don't have access to audio/video
(both side affected).

Here are some logs I found in jvb.log:

juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: RECV: <iq to=“videobridge.xxx.com
from="admin@xxx.com/admin1720247250100474" type=“get”
id=“5Eg9d-787”><conference xmlns=“http://jitsi.org/protocol/colibri
id=“1ac178e67b7bd82b” name=“testconfjerome”><content
name=“audio”><channel endpoint=“18400344” initiator=“true”
channel-bundle-id=“18400344” last-n="-1" adaptive-last-n=“false”
adaptive-simulcast=“true” simulcast-mode=“REWRITING”><payload-type
id=“111” name=“opus” clockrate=“48000” channels=“2”><parameter
name=“minptime” value=“10”/><parameter name=“useinbandfec”
value=“1”/></payload-type><payload-type id=“103” name=“ISAC”
clockrate=“16000”/><payload-type id=“104” name=“ISAC”
clockrate=“32000”/><payload-type id=“126” name=“telephone-event”
clockrate=“8000”/><rtp-hdrext id=“1”
uri=“urn:ietf:params:rtp-hdrext:ssrc-audio-level”/><rtp-hdrext id=“3”
uri=“http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time”/></channel></content><content
name=“video”><channel endpoint=“18400344” initiator=“true”
channel-bundle-id=“18400344” last-n="-1" adaptive-last-n=“false”
adaptive-simulcast=“true” simulcast-mode=“REWRITING”><payload-type
id=“100” name=“VP8” clockrate=“90000”><rtcp-fb
xmlns=“urn:xmpp:jingle:apps:rtp:rtcp-fb:0” type=“ccm”
subtype=“fir”/><rtcp-fb xmlns=“urn:xmpp:jingle:apps:rtp:rtcp-fb:0”
type=“nack”/><rtcp-fb xmlns=“urn:xmpp:jingle:apps:rtp:rtcp-fb:0”
type=“nack” subtype=“pli”/><rtcp-fb
xmlns=“urn:xmpp:jingle:apps:rtp:rtcp-fb:0” type=“goog-remb”/><parameter
name=“x-google-start-bitrate” value=“800”/></payload-type><rtp-hdrext
id=“3”
uri=“http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time”/></channel></content><content
name=“data”><sctpconnection endpoint=“18400344” initiator=“true”
channel-bundle-id=“18400344” port=“5000”/></content><channel-bundle
id=“18400344”><transport
xmlns=“urn:xmpp:jingle:transports:ice-udp:1”><fingerprint
xmlns=“urn:xmpp:jingle:apps:dtls:0”
required=“false”/></transport></channel-bundle></conference></iq>
juin 27, 2017 10:52:15 AM org.ice4j.util.Logger log
INFOS: Gathering candidates for component stream.RTP. Local ufrag
d9rd21bjkc0j99
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat create_ice_tm,conf_id=1ac178e67b7bd82b
ufrag=d9rd21bjkc0j99,bundle=18400344,initiator=true
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat
create_stream,conf_id=1ac178e67b7bd82b,content=audio,ch_id=32cf071141852714,endp_id=null,stream=468002122
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat
create_channel,conf_id=1ac178e67b7bd82b,content=audio,ch_id=32cf071141852714,endp_id=null,stream=468002122
transport=default,bundle=18400344,initiator=true,media_type=audio,relay_type=null
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat
create_stream,conf_id=1ac178e67b7bd82b,content=video,ch_id=77ad006a6af9a0ab,endp_id=null,stream=1854622694
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat
create_channel,conf_id=1ac178e67b7bd82b,content=video,ch_id=77ad006a6af9a0ab,endp_id=null,stream=1854622694
transport=default,bundle=18400344,initiator=true,media_type=video,relay_type=null
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: Creating a BandwidthEstimator for stream
org.jitsi.impl.neomedia.VideoMediaStreamImpl@6e8b4be6
juin 27, 2017 10:52:15 AM org.jitsi.util.LoggerImpl log
INFOS: SENT: <iq id=“5Eg9d-787”
to="admin@xxx.com/admin1720247250100474" from=“videobridge.xxx.com
type=“result”><conference xmlns=“http://jitsi.org/protocol/colibri
id=“1ac178e67b7bd82b” name=“testconfjerome”><content
name=“audio”><channel endpoint=“18400344” expire=“60”
id=“32cf071141852714” initiator=“true” channel-bundle-id=“18400344”
rtp-level-relay-type=“translator”><source
xmlns=“urn:xmpp:jingle:apps:rtp:ssma:0”
ssrc=“1912837649”></source></channel></content><content
name=“video”><channel endpoint=“18400344” expire=“60”
id=“77ad006a6af9a0ab” initiator=“true” channel-bundle-id=“18400344”
last-n="-1" simulcast-mode=“REWRITING”
rtp-level-relay-type=“translator”><source
xmlns=“urn:xmpp:jingle:apps:rtp:ssma:0”
ssrc=“3675725862”></source></channel></content><content
name=“data”><sctpconnection endpoint=“18400344” expire=“60”
id=“7ee3994d5c9ea911” initiator=“true” channel-bundle-id=“18400344”
port=“5000”/></content><channel-bundle id=“wAzQH85t-c3d191”><transport
xmlns=“urn:xmpp:jingle:transports:ice-udp:1”
pwd=“3jnfgjqm5t579faic4u79c47p4”
ufrag=“8eb781bjkajjnf”><rtcp-mux/><fingerprint
xmlns=“urn:xmpp:jingle:apps:dtls:0” hash=“sha-1”
setup=“actpass”>5A:C7:8B:CF:F0:59:C1:68:0F:5F:72:E5:BC:78:CD:2F:64:CE:0B:B3</fingerprint><candidate
component=“1” foundation=“1” generation=“0”
id=“1ac178e67b7bd82b39752ea0768fddc50d92fdc8” network=“0”
priority=“2130706431” protocol=“ssltcp” tcptype=“passive” type=“host”
ip=“167.114.254.211” port=“4443”/><candidate component=“1”
foundation=“2” generation=“0”
id=“1ac178e67b7bd82b39752ea0768fddc50d93137d” network=“0”
priority=“2130706431” protocol=“udp” type=“host” ip=“167.114.254.211”
port=“10000”/></transport></channel-bundle><channel-bundle
id=“hcUUlUXY-a6a1b4”><transport
xmlns=“urn:xmpp:jingle:transports:ice-udp:1”
pwd=“lcqtt9i5k02akmskm9bivpi4r”
ufrag=“145251bjkajjhu”><rtcp-mux/><fingerprint
xmlns=“urn:xmpp:jingle:apps:dtls:0” hash=“sha-1”
setup=“active”>5A:C7:8B:CF:F0:59:C1:68:0F:5F:72:E5:BC:78:CD:2F:64:CE:0B:B3</fingerprint><candidate
component=“1” foundation=“1” generation=“0”
id=“1ac178e67b7bd82b186dc4fd7d5fbee40ffffffffdaa31e40” network=“0”
priority=“2130706431” protocol=“ssltcp” tcptype=“passive” type=“host”
ip=“167.114.254.211” port=“4443”/><candidate component=“1”
foundation=“2” generation=“0”
id=“1ac178e67b7bd82b186dc4fd7d5fbee40ffffffffdaa333f5” network=“0”
priority=“2130706431” protocol=“udp” type=“host” ip=“167.114.254.211”
port=“10000”/></transport></channel-bundle><channel-bundle
id=“18400344”><transport xmlns=“urn:xmpp:jingle:transports:ice-udp:1”
pwd=“e1ptqkh9kc4jafauvejp71874”
ufrag=“d9rd21bjkc0j99”><rtcp-mux/><fingerprint
xmlns=“urn:xmpp:jingle:apps:dtls:0” hash=“sha-1”
setup=“actpass”>5A:C7:8B:CF:F0:59:C1:68:0F:5F:72:E5:BC:78:CD:2F:64:CE:0B:B3</fingerprint><candidate
component=“1” foundation=“1” generation=“0”
id=“1ac178e67b7bd82b7a2914e275be2e800ffffffffee75caff” network=“0”
priority=“2130706431” protocol=“ssltcp” tcptype=“passive” type=“host”
ip=“167.114.254.211” port=“4443”/><candidate component=“1”
foundation=“2” generation=“0”
id=“1ac178e67b7bd82b7a2914e275be2e800ffffffffee75e0b4” network=“0”
priority=“2130706431” protocol=“udp” type=“host” ip=“167.114.254.211”
port=“10000”/></transport></channel-bundle></conference></iq>
...
juin 27, 2017 10:53:39 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:41 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:41 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:43 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:43 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:45 AM org.jitsi.util.LoggerImpl log
AVERTISSEMENT: SCTP connection with 18400344 not ready yet.
juin 27, 2017 10:53:45 AM org.jitsi.util.LoggerImpl log
...
INFOS: RECV: <iq to=“videobridge.xxx.com
from="admin@xxx.com/admin1720247250100474" type=“get”
id=“5Eg9d-836”><healthcheck
xmlns=“http://jitsi.org/protocol/healthcheck”/></iq>
juin 27, 2017 10:53:48 AM org.jitsi.util.LoggerImpl log
INFOS: CAT=stat create_conf,conf_id=fae750c22ca2492a
conf_name=null,logging=false,conf_count=2,ch_count=9,v_streams=9
juin 27, 2017 10:53:48 AM org.jitsi.util.LoggerImpl log

Thanks a lot in advance !

Regards,