Browse Source

use `reset` flag to also reset and restart ICE agents

closes #182

Change-Id: I64e7176eb805157b4d7fd140137db24fe3baa402
pull/194/head
Richard Fuchs 10 years ago
parent
commit
afa46a43a5
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/call.c

+ 4
- 0
daemon/call.c View File

@ -2571,6 +2571,10 @@ int monologue_offer_answer(struct call_monologue *other_ml, GQueue *streams,
if (flags && flags->opmode == OP_OFFER && flags->reset) {
MEDIA_CLEAR(media, INITIALIZED);
MEDIA_CLEAR(other_media, INITIALIZED);
if (media->ice_agent)
ice_restart(media->ice_agent);
if (other_media->ice_agent)
ice_restart(other_media->ice_agent);
}
/* deduct protocol from stream parameters received */


Loading…
Cancel
Save