Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whip 不支持https #14

Open
funbinary opened this issue Nov 1, 2023 · 0 comments
Open

whip 不支持https #14

funbinary opened this issue Nov 1, 2023 · 0 comments

Comments

@funbinary
Copy link

日志如下:
/workspace/learn/ffmpeg-webrtc/FFmpeg-n4.3.3/ffmpeg_g -f video4linux2 -i /dev/video0 -g 50 -pix_fmt yuv420p -framerate 5 -c:v libx264 -profile:v baseline -tune zerolatency -preset ultrafast -bf 0 -f webrtc https://192.168.3.247:9061/index/api/whip?app=live&stream=test
ffmpeg version 681b587-patrickz Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
configuration: --prefix=/opt/ffmpeg_ubuntu --extra-libs='-lpthread -lm' --bindir=/opt/ffmpeg_ubuntu/bin --extra-cflags=-static --extra-ldflags=-static --pkg-config-flags=--static --extra-cflags=-I/opt/ffmpeg_deps/include --extra-cflags=-I/opt/ffmpeg_deps/include/fdk-aac --extra-ldflags=-L/opt/ffmpeg_deps/lib --extra-libs='-lmetartccore6 -lpthread -lsrtp2 -lssl -lcrypto -ldl' --enable-gpl --enable-libvorbis --enable-pic --enable-static --enable-nonfree --enable-libx264 --enable-libvpx --enable-libopus --disable-optimizations --disable-stripping --enable-openssl --enable-runtime-cpudetect --extra-version=patrickz
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, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 835.039518, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x3501d40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 0x3501d40] profile Constrained Baseline, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x3501d40] 264 - core 164 r3106 eaa68fa - H.264/MPEG-4 AVC codec - Copyleft 2003-2023 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 lookahead_threads=8 sliced_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=50 keyint_min=5 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
[webrtc @ 0x35006c0] webrtc_open https://192.168.3.247:9061/index/api/whip?app=live&stream=test

webrtc init>>>>>>>>>>>>>>>>>>>https://192.168.3.247:9061/index/api/whip?app=live&stream=test

srtp init success!

avinfo->sys.whipUrl==index/api/whip?app=live&stream=test
[webrtc @ 0x35006c0] connect failed! uri= https://192.168.3.247:9061/index/api/whip?app=live&stream=test
[webrtc @ 0x35006c0] webrtc_open exit
[webrtc @ 0x35006c0] webrtc_write_header, filename https://192.168.3.247:9061/index/api/whip?app=live&stream=test

@funbinary funbinary changed the title whip 不支持http whip 不支持https Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant