[asterisk-bugs] [JIRA] (ASTERISK-26936) how to initialize rtp engine ice?

Rachel (JIRA) noreply at issues.asterisk.org
Tue Apr 11 04:21:59 CDT 2017


Rachel created ASTERISK-26936:
---------------------------------

             Summary: how to initialize rtp engine ice?
                 Key: ASTERISK-26936
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26936
             Project: Asterisk
          Issue Type: Information Request
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 14.4.0
            Reporter: Rachel


Hi, I tried to set up p2p between 2 imsdroid which supports ice, stun, turn itself, but asterisk will remove candidates info from original INVITE messages. is it possible that Asterisk doesn't remove candidates info and let clients do p2p based on candidates info? I tried asterisk directrtpsetup, directmedia, it couldn't work as good as it should be. sometimes there is no video or audio at all, which means the p2p behavior is not correct. Asterisk should have taken public IP, turn relay IP in candidates info into consideration if it really wants to help clients set up p2p instead of just removing candidates info, which leaves clients no option.

I found in rtp_engine.c, 
struct ast_rtp_engine_ice *ast_rtp_instance_get_ice(struct ast_rtp_instance *instance)
{
    return instance->engine->ice;
}
but I didn't find any codes to initialize engine->ice, so ice will never be added to sdp, am I right?



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list