srt: re-enable passphrase
authorJustin Kim <jeongseok.kim@sk.com>
Fri, 25 Jan 2019 07:25:10 +0000 (16:25 +0900)
committerOlivier CrĂȘte <olivier.crete@ocrete.ca>
Mon, 11 Feb 2019 23:40:02 +0000 (23:40 +0000)
commite8fd000af0ba1568cfbbf3ccbdadaa1be21d0fbb
tree7e4f55009c14b2248ac3efc71ef61bd3d64fe0c7
parentf1d5f1faab97b63f5ce0a38996196fb2aec94672
srt: re-enable passphrase

With refactoring, supporting passphrase was removed accidently.
This commit re-enables srt encryption and validates 'passphrase'
by checking the return value of 'srt_setsockopt'.

fix: #694
ext/srt/gstsrt-enums.h
ext/srt/gstsrtobject.c
ext/srt/gstsrtobject.h