diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2012-07-19 14:13:58 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-23 16:32:07 +0300 |
commit | acd554c103459ae7a5d89caa611e91bbc9bf695f (patch) | |
tree | 7e591295c7f7057bc6e8c3da4ef7d825611c868b /configure | |
parent | 0e31088b6c57e7d495deda0abaf5de5adb2c18fa (diff) | |
download | ffmpeg-acd554c103459ae7a5d89caa611e91bbc9bf695f.tar.gz |
RTMPE protocol support
This adds two protocols, but one of them is an internal implementation
detail just used as an abstraction layer/generalization in the code. The
RTMPE protocol implementation uses ffrtmpcrypt:// as an alternative to the
tcp:// protocol. This allows moving most of the lower level logic out
from the higher level generic rtmp code.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -950,6 +950,7 @@ CONFIG_LIST=" fastdiv fft frei0r + gcrypt gnutls gpl gray @@ -982,6 +983,7 @@ CONFIG_LIST=" mdct memalign_hack mpegaudiodsp + nettle network nonfree openssl @@ -1543,6 +1545,9 @@ vfwcap_indev_extralibs="-lavicap32" x11_grab_device_indev_deps="x11grab XShmCreateImage" # protocols +ffrtmpcrypt_protocol_deps="!librtmp_protocol" +ffrtmpcrypt_protocol_deps_any="gcrypt nettle openssl" +ffrtmpcrypt_protocol_select="tcp_protocol" ffrtmphttp_protocol_deps="!librtmp_protocol" ffrtmphttp_protocol_select="http_protocol" gopher_protocol_deps="network" @@ -1560,6 +1565,7 @@ mmsh_protocol_select="http_protocol" mmst_protocol_deps="network" rtmp_protocol_deps="!librtmp_protocol" rtmp_protocol_select="tcp_protocol" +rtmpe_protocol_select="ffrtmpcrypt_protocol" rtmps_protocol_deps="!librtmp_protocol" rtmps_protocol_select="tls_protocol" rtmpt_protocol_select="ffrtmphttp_protocol" @@ -3014,6 +3020,11 @@ enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto check_lib openssl/ssl.h SSL_library_init -lssl -lcrypto -lws2_32 -lgdi32 || die "ERROR: openssl not found"; } +if enabled gnutls; then + { check_lib nettle/bignum.h nettle_mpz_get_str_256 -lnettle -lhogweed -lgmp && enable nettle; } || + { check_lib gcrypt.h gcry_mpi_new -lgcrypt && enable gcrypt; } +fi + # libdc1394 check if enabled libdc1394; then { check_lib dc1394/dc1394.h dc1394_new -ldc1394 -lraw1394 && |