srs
srs copied to clipboard
SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
当推流端开始推流,拉流端超过一段时间(默认为3分钟)仍没有人观看则主动断开推流端,以节省流量。 1. 可通过宏定义“SRS_PERF_KICKOFF_AS_NO_ONE_WATCHING”来开启或屏蔽所有与自动踢流相关的代码逻辑。 2. 可通过如下配置来开启或关闭自动踢流功能,以及设置超时时长: vhost __defaultVhost__ { publish { kickoff_enabled on; kickoff_timeout 60000; } } 3. 无人观看的场景包括: a. 第一次推流后,超过一段时间未检测到拉流端进入 b. 当前所有拉流端断开后,超过一段时间内检测到无新的拉流端进入
- Fixed several spelling errors in the code comments. --------- `TRANS_BY_GPT3`
add http fragment-mp4 live streaming feature, which maybe more friendly for current browers than http-flv.
#3041 当 rtc 推流后,rtc source对应的video payload type会因sdp协商结果发生变化; 此后如果发生rtmp to rtc或者srt to rtc时,bridge构造rtp packet的video payload type为默认值 102,这与此前存在不匹配的情况,从而导致webrtc拉流端不能正确获取video track 修正办法:把bridge构造rtp packet的video payload type的值设置为rtc source对应的video payload type
https://github.com/ossrs/srs/issues/3034 1. It can be seen from SrsRtmpFromRtcBridger::packet_video_rtmp (this=0x10ddc420, start=0, end=22704) that there is a fault, under normal circumstances it is not possible to have so many packet losses (distance(0,...
# Whether enable hls_ctx. # hls_ctx used to keep track of subsequent m3u8 requests. # if on, hls client info can be collected in stat module, # if on, on_play/on_stop...
[HTTP-FLV: 播放无流的流,没有超时或404](https://github.com/ossrs/srs/issues/1134) 1.如果origin找不到流时,直接404处理 2.如果origin可以找到流,但消费者15秒没有消费到数据时,http-flv返回流结束 3.对于edge,由于找不到流后会回源到origin,这里添加回源重试次数限制(默认不限制),由于origin支持多个备份源站,因此重试次数限制是指将所有源站都重试一轮的次数 4.修改了备份源间重试的等待时间改为0,每一轮重试间隔用原来的3s,保证备份源快速查找
Some player start to play from the first ts file, which might be cleanup. It's better to delay cleanup the ts files. issues [#2999](https://github.com/ossrs/srs/issues/2999)
## Summary fix crash in edge mode. ## Details crash if run edge, use `conf/edge.conf` or this config ``` cluster { mode remote; origin xxx; } ```