liyuanwei / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

Which method may send RTP message and Option message(SIP)? #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I will implement content share.I need send Option(SIP),then INVITE.After 
INVITE,finish video share by RTP
2.How to do it?
3.A demo is better.Thank you.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
IMSDroid of the newest version. on Android 2.2

Please provide any additional information below.

Original issue reported on code.google.com by Splash.P...@gmail.com on 11 Feb 2011 at 4:40

GoogleCodeExporter commented 9 years ago
This attachment file shows the process of Video Share and OPTIONS message 
example.

Original comment by Splash.P...@gmail.com on 14 Feb 2011 at 11:56

Attachments:

GoogleCodeExporter commented 9 years ago
How to transmit video by RTP?

Original comment by Splash.P...@gmail.com on 14 Feb 2011 at 3:19

GoogleCodeExporter commented 9 years ago
To send OPTIONS:
final OptionsSession mOptSession = new OptionsSession(mSipStack);
mOptSession .send();
The response the the option will be received in onOptionsEvent(). For more info 
please refer to SipService.java.
To send RTP:
Right now you don't have the wrappers function in java side and you must add 
them into tinyWRAP using SWIG.
Here is how to send RTP messages (ANSI-C): 
http://code.google.com/p/doubango/source/browse/trunk/tinyRTP/test/test_manager.
h 

Original comment by boss...@yahoo.fr on 20 Feb 2011 at 3:03