ffmpeg-webrtc
ffmpeg-webrtc copied to clipboard
ffmpeg-webrtc for whip and whep protocol
发现SDP查询端口需要修改才能正确推流: 文件YangZlmConnection.c, 搜索yang_zlm_query调用行,修改端口'80'为zlm服务器实际http端口; 文件yang_sdp_querySrs.c, 搜索yang_sdp_querySrs调用行,修改端口代码'session->context.streamConfig->remotePort'替换为实际srs的httpapi端口; 最后文件webrtc_muxer.c中,第152行: int32_t mediaServer=Yang_Server_Srs; 默认采用srs服务器,修改为 int32_t mediaServer=Yang_Server_Zlm; 即采用zlm服务器。 仅供参考。
将libmetartccore5编译动态库,然后重新配置ffmpeg-meta-main, 就提示c compiler test failed. 查看日志发现有以下错误: /home/russ/file/ffmpeg-metartc-main/FFmpeg-n4.3.3/metartc5/libmetartccore5.so: undefined reference to `yang_destroy_videoEncoder' /home/russ/file/ffmpeg-metartc-main/FFmpeg-n4.3.3/metartc5/libmetartccore5.so: undefined reference to `clip255' /home/russ/file/ffmpeg-metartc-main/FFmpeg-n4.3.3/metartc5/libmetartccore5.so: undefined reference to `yang_create_videoEncoder' 这三函数看起来确实缺少实现。不知道这里面有什么编译技巧,还是需要自己来实现一个encoder.c ? 请专家指导啊
文件 metartc5/metartc5/include/yangipc/YangIpcPublish.h 第8行出现#include 这是对自己的引用 应该去掉吧
srs服务器rtmp推流webrtc,ffplay播放会有声画不同步和部分区域马赛克现象,编译chrome的webrtc播放没有马赛克现象
The playback address of Tencent Cloud Live Streaming is similar to the following. webrtc://.".$domain."/live/".$streamName or webrtc://.".$domain."/live/".$streamName??txSecret=xxxx&txTime=xxx
[h264 @ 0x5638f254b340] nal_unit_type: 7(SPS), nal_ref_idc: 3 [h264 @ 0x5638f254b340] nal_unit_type: 8(PPS), nal_ref_idc: 3 [h264 @ 0x5638f254b340] nal_unit_type: 5(IDR), nal_ref_idc: 0 [h264 @ 0x5638f254b340] A non-intra slice in an IDR...
ubuntu22.04 环境 No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64...
python代码     1、根据metaRTC命令参数运行推送视频时正常的 2、修改为管道推送视频流报错,没有该方法 