#4653·ZLMediaKit

[BUG] OSB WHIP 无法推流,SRS推流正常

Author: KongZouXiangCreated Jan 25, 2026Updated Aug 13, 2026
Labelsbug

现象描述

OSB WHIP 无法推流,SRS推流正常

如何复现?

通过OSB最新版推流

Image

相关日志或截图

展开查看详细日志
'advanced_video_stream'] settings:
12:40:53.537: 	codec:        H264
12:40:53.537: 	rate_control: CBR
12:40:53.537: 	bitrate:      10000
12:40:53.537: 	keyint:       250
12:40:53.537: 	preset:       p5
12:40:53.537: 	tuning:       hq
12:40:53.537: 	multipass:    qres
12:40:53.537: 	profile:      high
12:40:53.537: 	width:        1920
12:40:53.537: 	height:       1080
12:40:53.537: 	b-frames:     0
12:40:53.537: 	b-ref-mode:   0
12:40:53.537: 	lookahead:    true (8 frames)
12:40:53.537: 	aq:           true
12:40:53.537: 
12:40:53.574: ---------------------------------
12:40:53.574: [FFmpeg libopus encoder: 'adv_stream_audio'] bitrate: 160, channels: 2, channel_layout: stereo, track: 1
12:40:53.574: 
12:40:53.687: [obs-webrtc] [whip_output: 'adv_stream'] PeerConnection state is now: Connecting
12:40:53.696: ==== Streaming Start ===============================================
12:41:33.191: [obs-webrtc] [whip_output: 'adv_stream'] PeerConnection state is now: Failed
12:41:33.191: Output 'adv_stream': stopping
12:41:33.191: Output 'adv_stream': Total frames output: 1170
12:41:33.191: Output 'adv_stream': Total drawn frames: 1188
12:41:33.191: [obs-webrtc] [whip_output: 'adv_stream'] PeerConnection state is now: Closed
12:41:33.197: ==== Streaming Stop ================================================
12:41:33.307: [obs-webrtc] [whip_output: 'adv_stream'] DELETE request for resource URL failed. HTTP Code: 404

配置

展开查看详细配置
ini
#config.ini内容粘在这里!

各种环境信息

#崩溃信息backtrace粘贴至此

Source: ZLMediaKit/ZLMediaKit

View original on GitHubView discussion on GitHub