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

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


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rachel updated ASTERISK-26936:
------------------------------

    Issue Type: Bug  (was: Information Request)

> how to initialize rtp engine ice?
> ---------------------------------
>
>                 Key: ASTERISK-26936
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26936
>             Project: Asterisk
>          Issue Type: Bug
>      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?
> 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