Reading through Janus documentation of API, I managed to create room, joined, and passed SDP offer to Janus. Having android as publisher is working. The web displayed successfully my video and audio stream. But when android becomes the listener, the response SDP answer from Janus is incomplete for Video. Android can stream the audio but cannot the display the video stream. I already tried peer-to-peer connection between android to android and web to android, it is working. Below is the SDP offer I passed to Janus
Note
{local ip value} is the ip of android device
{janus server ip} is the ip of Janus server
OFFER:v=0
o=- 8586175510130222931 2 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS ARDAMS
m=audio 49622 RTP/SAVPF 111 103 9 102 0 8 106 105 13 127 126
c=IN IP4 {local ip value}
a=rtcp:35331 IN IP4 {local ip value}
a=candidate:
4092624947 1 tcp 1518280447 {local ip value} 45575 typ host tcptype passive generation 0
a=candidate:
4092624947 2 tcp 1518280446 {local ip value} 44983 typ host tcptype passive generation 0
a=ice-ufrag:AYw6p5OunkObIOEl
a=ice-pwd:AvtydcwVt+bn+4rqkvob3cnP
a=fingerprint:sha-1 71:3C:88:9A:52:7E:49:62:29:80:0C:11:66:BE:39:04:E5:67:1E:35
a=setup:actpass
a=mid:audio
a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
a=sendrecv
a=rtcp-mux
a=rtpmap:111 opus/48000/2
a=fmtp:111 minptime=10; useinbandfec=1
a=rtpmap:103 ISAC/16000
a=rtpmap:9 G722/8000
a=rtpmap:102 ILBC/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:106 CN/32000
a=rtpmap:105 CN/16000
a=rtpmap:13 CN/8000
a=rtpmap:127 red/8000
a=rtpmap:126 telephone-event/8000
a=maxptime:60
a=ssrc:1379003294 cname:jOSFNGtKD4lGkAc8
a=ssrc:1379003294 msid:ARDAMS ARDAMSa0
a=ssrc:1379003294 mslabel:ARDAMS
a=ssrc:1379003294 label:ARDAMSa0
m=video 38070 RTP/SAVPF 100 116 117 120 96
c=IN IP4 {local ip value}
a=rtcp:37395 IN IP4 {local ip value}
a=candidate:
4092624947 1 tcp 1518280447 {local ip value} 48272 typ host tcptype passive generation 0
a=candidate:
4092624947 2 tcp 1518280446 {local ip value} 34374 typ host tcptype passive generation 0
a=ice-ufrag:AYw6p5OunkObIOEl
a=ice-pwd:AvtydcwVt+bn+4rqkvob3cnP
a=fingerprint:sha-1 71:3C:88:9A:52:7E:49:62:29:80:0C:11:66:BE:39:04:E5:67:1E:35
a=setup:actpass
a=mid:video
a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
a=extmap:4 urn:3gpp:video-orientation
a=sendrecv
a=rtcp-mux
a=rtpmap:100 VP8/90000
a=rtcp-fb:100 ccm fir
a=rtcp-fb:100 nack
a=rtcp-fb:100 nack pli
a=rtcp-fb:100 goog-remb
a=rtpmap:116 red/90000
a=rtpmap:117 ulpfec/90000
a=rtpmap:120 H264/90000
a=rtcp-fb:120 ccm fir
a=rtcp-fb:120 nack
a=rtcp-fb:120 nack pli
a=rtcp-fb:120 goog-remb
a=rtpmap:96 rtx/90000
a=fmtp:96 apt=100
a=ssrc:1427619031 cname:jOSFNGtKD4lGkAc8
a=ssrc:1427619031 msid:ARDAMS ARDAMSv0frontFacing
a=ssrc:1427619031 mslabel:ARDAMS
a=ssrc:1427619031 label:ARDAMSv0frontFacing
below is the SDP answer response I got from Janus
ANSWER:v=0
o=- 842506880639 842506880639 IN IP4 127.0.0.1
s=168 asdf
t=0 0
a=group:BUNDLE audio video
a=msid-semantic: WMS janus
m=audio 1 RTP/SAVPF 111
c=IN IP4 {janus server ip}
a=mid:audio
a=sendonly
a=rtcp-mux
a=ice-ufrag:zr5M
a=ice-pwd:3VFlW/q3atDxHbnK4lvbCq
a=ice-options:trickle
a=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B7:34:BE:53:9C:E6:F3:8F:F2:64:15:FB:E8:7F:53:2D:38
a=setup:active
a=connection:new
a=rtpmap:111 opus/48000/2
a=ssrc:778233885 cname:janusaudio
a=ssrc:778233885 msid:janus janusa0
a=ssrc:778233885 mslabel:janus
a=ssrc:778233885 label:janusa0
a=candidate:1 1 udp
2013266431 {janus server ip} 36134 typ host
m=video 0 RTP/SAVPF 0
c=IN IP4 {janus server ip}
This seems to be the issue why the android as listener could not display the video stream but has audio stream only.