srs icon indicating copy to clipboard operation
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.

Results 391 srs issues
Sort by recently updated
recently updated
newest added

bugfix: hls ts segment does not start with key frame for a stream with audio and video. - my hls config as below: ``` vhost __defaultVhost__ { hls { enabled...

EnglishNative

## Summary 1. Problem Reproduction: The camera pushes the audio and video streams through SRT to SRS. During the testing process, it was found that the browser playback end cannot...

TransByAI

## Summary Fix Stream statistics bug ## Details Error number of clients is displayed after the stream is pushed again。[#2903](https://github.com/ossrs/srs/issues/2903)

Bug

For https://github.com/ossrs/srs/pull/2844

Feature

Fixes this issue https://github.com/ossrs/srs/issues/2672

WebRTC
TransByAI

WebRtc推流正常连接,mp4.tmp或mp4文件正常创建,如果正常生成mp4文件,则时长小于WebRtc推流连接时长 1. SRS Version(版本): `4.0.251` 1. SRS Log(日志): ``` [2022-06-22 10:08:32.357][Trace][1445][48u84345] Hybrid cpu=2.00%,24MB, cid=10,4, timer=62,9,42, clock=0,47,1,0,1,0,0,0,0, free=1, objs=(pkt:108,raw:45,fua:62,msg:174,oth:1,buf:76) [2022-06-22 10:08:32.357][Trace][1445][48u84345] RTC: Server conns=1, rpkts=(1,rtp:1,stun:1,rtcp:1), spkts=(1,rtp:0,stun:1,rtcp:1), rtcp=(pli:1,twcc:1,rr:1), snk=(1,a:1,v:1,h:1), fid=(id:1,fid:1,ffid:0,addr:1,faddr:1) [2022-06-22 10:08:32.462][Trace][1445][23i5h673]...

WebRTC
DVR

**描述(Description)** Not possible to compile on Apple Silicon (m1 pro). **openssl** installed and has proper PATH: ``` export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig" ``` 1. SRS版本(Version): `4` 2. SRS的日志如下(Log): `./configure...

Feature

如果重推RTMP流,对于HLS的影响是什么? # SRS Single Origin 对于SRS单进程来说,会插入一个DISCONTINUTY后继续切片和更新M3u8,客户端会继续播放。 > Note: 注意Source清理,不能立刻清理,会导致丢失HLS的切片信息。而应该使用延迟清理,比如延迟1小时候清理,这样在1小时内重推流,可以继续切片。 > Note: 注意有`hls_dispose`,在停止推流后,会清理切片,同样应该考虑实现延迟处理,而不应该直接清理。 而对于非单进程,比如NGINX RTMP多进程结构,或者SRS源站集群,重推可能会导致流推送到不同的进程,或者不同的SRS,这时候对于HLS会发生什么? ## NGINX RTMP 先说结论:多进程的NGINX-RTMP解决过了重新推流对HLS的影响,但是如果要组多机器的NGINX RTMP源站集群,也一样存在HLS的序号不连续等问题。 搭建[NGINX](https://github.com/nginx/nginx)和[NGINX-RTMP](https://github.com/arut/nginx-rtmp-module)。 ``` #EXTM3U #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:2 #EXT-X-TARGETDURATION:10 #EXTINF:2.108, livestream-2.ts #EXT-X-DISCONTINUITY #EXTINF:5.000, livestream-3.ts...

Enhancement
Feature
DVR

**Description(描述)** 1.推流端断流后偶尔连续多次回调on_unpublish: ``` [2022-05-23 09:55:41.716][Warn][336111][25dbt266][0] http: ignore on_unpublish failed, client_id=25dbt266, url=http://127.0.0.1:8080/api/on_unpublish, request={"server_id":"vid-kl3et78","action":"on_unpublish","client_id":"25dbt266","ip":"172.17.60.201","vhost":"tv.qntv.net","app":"channellive","stream":"ch1","param":"?vhost=tv.qntv.net"}, response={ "code" : -1, "data" : "" } ``` 2.推流端断流后重新推流导致srs偶尔没有on_publish回调: 在如下日志中tv.qntv.net/channellive/ch1流http_hooks 回调on_unpublish 后,没有回调on_publish,直接回调了on_hls ``` [2022-05-23 09:55:41.720][Trace][336111][7r541816] http: on_hls...

Please describe the issue you are facing. Two servers, named A and B, are set up on the edge. Server A is down, while server B is functioning normally. The...

TransByAI