[asterisk-bugs] [JIRA] (ASTERISK-26937) rtp ice is never initialized?

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


Rachel created ASTERISK-26937:
---------------------------------

             Summary: rtp ice is never initialized?
                 Key: ASTERISK-26937
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26937
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
            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?
How can I initialize rtp engine ice to make sure a=candidate:*** will be added back to sdp?



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



More information about the asterisk-bugs mailing list