Home Ask Login Register

Developers Planet

Your answer is one click away!

neernay February 2016

Should the android application create SDP by it's own?

I am writing an WebRTC client for Android. I am having my own signalling server.

I have a web API which accepts SDP to create session on web server!
What I want to know is that: How would I create SDP from the Android app which will be used to pass it to the web API?
Is there any 3rd party library which can be used to generate SDP from Android app?


Istvan February 2016

You should receive the SDP directly from the other peer and from your WebRTC stack for the local endpoint. You should not touch this SDP just pass it as is. You need to parse the SDP from signalling message.

Otherwise basic SDP is pretty simple (just a few lines in clear text), however with WebRTC it becomes very complicated because of the ICE offers.

Palash Borhan Uddin February 2016

Assuming you are using Android native for webRTC, in that case your Android app will be the offerer. Invoke createOffer to generate the offer SDP in Android end. Its similar process how you start offer from any web based WebRTC implementation.

Post Status

Asked in February 2016
Viewed 2,745 times
Voted 8
Answered 2 times


Leave an answer

Quote of the day: live life