zighouse / doubango

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

Allows RTP port range #77

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

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

Please use labels and text to provide additional information.

Original issue reported on code.google.com by boss...@yahoo.fr on 13 Oct 2011 at 12:29

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 13 Oct 2011 at 12:29

GoogleCodeExporter commented 9 years ago
Fixed by revision 663.

To set RTP port range using tinyWRAP (C++, C#, java):
// Boghe, iDoubs and IMSDroid
#include "MediaSessionMgr.h"
bool ok = MediaSessionMgr::defaultsSetRtpPortRange(1024, 65535);

To set RTP port using ANSI-C code:
#include "tinymedia/tmedia_defaults.h"
tsk_bool_t ok = (tmedia_defaults_set_rtp_port_range(1024, 65535) == 0);

Original comment by boss...@yahoo.fr on 13 Oct 2011 at 10:44