Android Streaming using RTP

1,206 views
Skip to first unread message

youteng li

unread,
Mar 29, 2018, 2:54:13 AM3/29/18
to meetecho-janus
Hi, everyone

I am new here.
I had trying to using janusclientapi in android.
And I got some problem, can you tell me where should I go? 

↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

I found github issues and I tried Stream example.

Here are my parameters what I send to Janus server.

  body.put("request", "start");
  body
.put("type", "rtp");
//  body.put("description", "testRTP");
  body
.put("video", true);
  body
.put("audio", true);
  body
.put("videopt", 100);
  body
.put("audiopt", 111);
  body
.put("audiortpmap", "opus/48000/2");
  body
.put("videortpmap", "VP8/90000");
  body
.put("videoport", 5006);
  body
.put("audioport", 5004);

When I do 

  janusServer.Connect()

Server show this up.

Creating new session: 6394124031750775
Creating new handle in session 6394124031750775: 8623344747351038
[8623344747351038] Creating ICE agent (ICE Full mode, controlling)
[WARN] [8623344747351038]  Hashing algorithm not the one we expected (sha-1 instead of sha-256), but that's ok
[WARN] [8623344747351038]     Missing valid SRTP session (packet arrived too early?), skipping...
[8623344747351038] The DTLS handshake has been completed
WebRTC media is now available

And then I got nothing in local demo page.
Like this















Youteng


Alessandro Toppi

unread,
Mar 29, 2018, 4:30:03 AM3/29/18
to meetecho-janus
Check in browser webrtc internals the Peer Connection status.
- Is ICE connected?
- Is media flowing?
Then check the media you are using to feed the RTP mountpoint in Janus. Is it playable outside of webrtc?
If H264 check if you are using the only profile supported in webrtc (baseline).

youteng li

unread,
Mar 29, 2018, 4:46:31 AM3/29/18
to meetecho-janus

OK, It's sounds like connection or configure problem.

I'll try to find out how to check that.

Forgive me, I'm new in webRTC and poor english.

Thanks for reply.


Youteng

youteng li

unread,
Mar 29, 2018, 4:55:21 AM3/29/18
to meetecho-janus
Another Question--

I found a library libstreaming.

It can feed streaming to janus mountpoint.

But it only support H264 codec and work for me.

Is there has library support rtp with vp8/opus?

Youteng

youteng li

unread,
Apr 2, 2018, 1:13:58 AM4/2/18
to meetecho-janus
Finally, I found rtp_forward method from videoroom.

Janus is cool and fun.

Thanks.

Alessandro Toppi

unread,
Apr 3, 2018, 10:19:13 AM4/3/18
to meetecho-janus
Glad to hear!
Have fun :-)
Message has been deleted

sajid....@gmail.com

unread,
May 26, 2021, 5:57:00 AM5/26/21
to meetecho-janus

@Youteng, When you tried this example Stream example.
It asked for Username and password at start screen. What have you entered to proceed in?
Reply all
Reply to author
Forward
0 new messages