meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8.17k stars 2.47k forks source link

1.2.2 --enable-post-processing #3397

Closed qet119 closed 2 months ago

qet119 commented 3 months ago

./configure --prefix=/opt/janus --enable-post-processing --enable-libsrtp2 --enable-json-logger -disable-aes-gcm

When compiling version 1.2.2 --enable-json-logger, the following problem occurs

postprocessing/pp-av1.c: In function 'janus_pp_av1_close': postprocessing/pp-av1.c:531:14: error: 'AVFormatContext {aka struct AVFormatContext}' has no member named 'url' g_free(fctx->url); ^~ postprocessing/pp-av1.c:532:7: error: 'AVFormatContext {aka struct AVFormatContext}' has no member named 'url' fctx->url = NULL; ^~ Makefile:2651: recipe for target 'postprocessing/janus_pp_rec-pp-av1.o' failed make[2]: [postprocessing/janus_pp_rec-pp-av1.o] Error 1 make[2]: Leaving directory '/opt/janus-gateway-1.2.2/src' Makefile:1386: recipe for target 'all' failed make[1]: [all] Error 2 make[1]: Leaving directory '/opt/janus-gateway-1.2.2/src' Makefile:566: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

This issue has been confirmed to not exist in versions 1.2.0 and 1.2.1

Have you tested a more recent version of Janus too? YES

atoppi commented 3 months ago

You're probably linking against an old version of ffmpeg.