[FFmpeg-devel] [PATCH] avformat/rtcenc: Add WHIP muxer support for subsecond latency streaming

Michael Niedermayer michael at niedermayer.cc
Mon May 29 16:00:33 EEST 2023


On Mon, May 29, 2023 at 07:50:39PM +0800, Steven Liu wrote:
> Co-authored-by: winlin <winlinvip at gmail.com>
> Co-authored-by: yangrtc <yangrtc at aliyun.com>
> Co-authored-by: cloudwebrtc <duanweiwei1982 at gmail.com>
> Co-authored-by: Haibo Chen <495810242 at qq.com>
> Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
> ---
>  configure                |    1 +
>  doc/muxers.texi          |   50 +
>  libavformat/Makefile     |    1 +
>  libavformat/allformats.c |    1 +
>  libavformat/http.c       |    6 +
>  libavformat/http.h       |    2 +
>  libavformat/rtcenc.c     | 2208 ++++++++++++++++++++++++++++++++++++++
>  7 files changed, 2269 insertions(+)
>  create mode 100644 libavformat/rtcenc.c

breaks build:

CC	libavformat/rtcenc.o
libavformat/rtcenc.c:30:2: error: #error "OpenSSL version 1.1.1b or newer is required"
 #error "OpenSSL version 1.1.1b or newer is required"
  ^~~~~
libavformat/rtcenc.c: In function ‘dtls_context_init’:
libavformat/rtcenc.c:210:34: error: implicit declaration of function ‘EVP_EC_gen’; did you mean ‘EVP_PBE_get’? [-Werror=implicit-function-declaration]
     ctx->dtls_pkey = dtls_pkey = EVP_EC_gen(curve);
                                  ^~~~~~~~~~
                                  EVP_PBE_get
libavformat/rtcenc.c:210:32: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     ctx->dtls_pkey = dtls_pkey = EVP_EC_gen(curve);
                                ^
cc1: some warnings being treated as errors
ffbuild/common.mak:81: recipe for target 'libavformat/rtcenc.o' failed
make: *** [libavformat/rtcenc.o] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230529/86240428/attachment.sig>


More information about the ffmpeg-devel mailing list