Description
I use a custom WHIP proxy to publish WebRTC towards a Wowza server. It works with OBS-WHIP PR (obsproject/obs-studio#7926) without problems.
`frhb64652ds FFmpeg-n4.3.3 # ./ffmpeg -re -i /root/bbb/bbb_720p_2mbps_aac.mp4 -vcodec libx264 -acodec opus -strict -2 -ar 48000 -f webrtc "http://fr.karsiyaka.com:8080/api/whip?stream=ff_mur_test?token=85a33eea-821e-443d-a1b2-c012c8614905" -loglevel info
ffmpeg version 681b587 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 8 (Debian 8.3.0-6)
configuration: --enable-libx264 --enable-gpl --extra-libs='-L./metartc6 -lmetartccore6 -lpthread -lsrtp2 -lssl -lcrypto -ldl' --enable-openssl --enable-version3 --enable-libx264 --enable-nonfree --enable-libopus
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/root/bbb/bbb_720p_2mbps_aac.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
composer : Sacha Goedegebure
encoder : Lavf58.76.100
comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
genre : Animation
Duration: 00:10:34.60, start: 0.000000, bitrate: 2240 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2136 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
handler_name : GPAC ISO Audio Handler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> opus (native))
Press [q] to stop, [?] for help
[libx264 @ 0x55ec94141a80] using SAR=1/1
[libx264 @ 0x55ec94141a80] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x55ec94141a80] profile High, level 3.1
[libx264 @ 0x55ec94141a80] 264 - core 155 r2917 0a84d98 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
webrtc init>>>>>>>>>>>>>>>>>>>http://fr.karsiyaka.com:8080/api/whip?stream=ff_mur_test?token=85a33eea-821e-443d-a1b2-c012c8614905
[webrtc @ 0x55ec94143940] webrtc_open http://fr.karsiyaka.com:8080/api/whip?stream=ff_mur_test?token=85a33eea-821e-443d-a1b2-c012c8614905
srtp init success!
avinfo->sys.whipUrl==api/whip?stream=ff_mur_test?token=85a33eea-821e-443d-a1b2-c012c8614905
session->context.avinfo->sys.whipUrl=api/whip?stream=ff_mur_test?token=85a33eea-821e-443d-a1b2-c012c8614905
startRtc,port=22341
candidate:ip==69.165.102.143,type=host,port=6978
Segmentation fault`