Hey all,
Is there any way to restart the ICE session after a call has been started?
Aside from what happens when the STUN-mapped address changes.
Assuming there's not (I don't think there is), what's the right way to
destroy and recreate media transports for an active call? I assume this
should work?
Best,
Colin
Hi Colin,
Please check out this code... this will destroy the whole pjsua stack,
then you can rebuild it ?
// we could be in another thread... make sure we init pjsua within it
pj_thread_desc thread_desc;
pj_bzero(&thread_desc, sizeof(pj_thread_desc));
pj_thread_t *thread = 0;
pj_status_t status;
status = pj_thread_register("OnTimer", thread_desc, &thread);
pj_init();
pj_shutdown();
PJDestroy();
PJCreate();
Colin Morelli wrote:
Hey all,
Is there any way to restart the ICE session after a call has been
started? Aside from what happens when the STUN-mapped address changes.
Assuming there's not (I don't think there is), what's the right way to
destroy and recreate media transports for an active call? I assume
this should work?
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org