srtp: allow user to select desired encryption policy
commitf6d4ee5e2f7f4d58dc3a4ceac8ad7d7525ca3010
authorJakub Adam <jakub.adam@ktknet.cz>
Fri, 23 May 2014 13:08:10 +0000 (23 15:08 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Mon, 1 Jun 2015 12:55:01 +0000 (1 14:55 +0200)
tree680b92e5407f86c1f0d9df2d96cb217489d946da
parentf22a07b99e51f66ff622373a5ace0b96bb4f9e84
srtp: allow user to select desired encryption policy

Supported options are:
 * "Always" - call fails if it can't be encrypted
 * "Optional" - call is encrypted if both parties support it
 * "Disabled" - never use encryption
 * "Obey server policy" (default) - use value from global domain policy
src/api/sipe-backend.h
src/purple/purple-media.c
src/purple/purple-plugin.c