react-native-webrtc [WARN] Skipping disabled/unsupported media line...

64 views
Skip to first unread message

Frank Desmettre

unread,
Jul 17, 2017, 9:05:23 AM7/17/17
to meetecho-janus
I'm trying to use Janus as an audioroom which connects audio from a web app and a react-native app. The web app works fine and receives & transmits audio perfectly through janus but when the react-native app uses janus, it only receives audio and doesn't send any audio.
This message appears in the logs: [WARN] Skipping disabled/unsupported media line... Here are the full logs when trying to connect from the react-native app: https://pastebin.com/4NJFi5Nd

Anyone that can help me out with this issue? Could it be a codec issue? 
I'm assuming the react-native app tries to send PCM audio (https://github.com/oney/react-native-webrtc).

I've only tried this on Android (physical device and emulator), not iOS.

Lorenzo Miniero

unread,
Jul 17, 2017, 9:09:14 AM7/17/17
to meetecho-janus
You're negotiating video (there's a video m-line) with the AudioBridge plugin, and the AudioBridge plugin rejects it.

L.

Frank Desmettre

unread,
Jul 17, 2017, 9:39:03 AM7/17/17
to meetecho-janus
I'v got this in my offer:
media: { audio: true, video: false }
and for getUserMedia:
getUserMedia({ audio: true, video: false}, ...

So it shouldn't be negotiating video at all. My react & react-native code is almost identical, react works, react-native @ android doesn't with sending audio


Op maandag 17 juli 2017 15:09:14 UTC+2 schreef Lorenzo Miniero:

Lorenzo Miniero

unread,
Jul 17, 2017, 9:49:15 AM7/17/17
to meetecho-janus
I'm not familiar with react or your code so I can't tell, but the SDP I see in the log you pasted includes a video m-line, and that's the cause.

L.
Reply all
Reply to author
Forward
0 new messages