[Freeswitch-users] Meaning of CF_AVPF

Johannes Singler johannes.singler at qnective.com
Fri Oct 30 17:47:41 MSK 2015


What does it mean exactly when the CF_AVPF flag is set for a channel?  Apparently, it was called CF_WEBRTC formerly, and indeed, it seems to be set when either ICE or media_webrtc are enable.

However, the most specific thing about it is the "F", which stands for "early feedback", and that could be specified for non-WebRTC streams as well AFAIK (RFC4585).


* Is is really set if and only if the profile type is AVPF?

** At least it seems to also be triggered by SAVPF.


There are many checks that skip (SDES-based) SRTP setup if CF_AVPF is set, e.g. in switch_core_session_parse_crypto_prefs and switch_core_session_check_outgoing_crypto. Is this based on the fact that WebRTC uses DTLS and thus SDES should be disabled?

IMHO, "Early feedback" should not trigger these decisions, though.

Isn't it mostly the assumed implied DTLS that motivates those decisions?  Shouldn't they rather be based on CF_DTLS or CF_DTLS_OK then?

Should we maybe rename it back to CF_WEBRTC for some less confusion?


And then there is also CF_AVPF_MOZ, which seems to work around Firefox particularities!?


--

Johannes Singler
Software Engineer

Qnective

Thurgauerstrasse 54 | 8050 Zürich | Switzerland
www.qnective.com<http://www.qnective.com/> | johannes.singler at qnective.com<mailto:johannes.singler at qnective.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151030/17fa6779/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list