srs-librtmp icon indicating copy to clipboard operation
srs-librtmp copied to clipboard

The client library srs-librtmp of SRS(https://github.com/ossrs/srs)

Results 13 srs-librtmp issues
Sort by recently updated
recently updated
newest added

**描述** 推rtmp流到腾讯云直播地址失败:rtmp://xxx.com/live/stream0?txSecret=aaab771d837ffc586f6b51402caf47aa&txTime=5E63C4FF 用wireshark抓包看到srs-librtmp发的是publish('stream0') ![image](https://user-images.githubusercontent.com/19166586/76138513-da705a80-6083-11ea-9a8e-53cd57b74104.png) ffmpeg推流正常,发的是public('stream0?txSecret=aaab771d837ffc586f6b51402caf47aa&txTime=5E63C4FF') ![image](https://user-images.githubusercontent.com/19166586/76138528-fecc3700-6083-11ea-9cba-257d5dc91a58.png)

SRS is a dedicated server project, please use [librtmp](https://github.com/ossrs/librtmp) instead. srs-librtmp是从[SRS](https://github.com/ossrs/srs)服务器中导出的一个客户端库,当初做这个库的原因: 1. 觉得rtmpdump/librtmp的代码太难读了,而SRS的代码可读性很好。 > 决定开源项目正义的绝对不是技术多好,而是能跑多久。技术很牛,性能很强,代码风格很好,固然是个好事,但是这些都顶不上一个“不维护”的大罪过,代码放出来不维护,怎么跟进业内技术的不断发展呢。 > 而决定能跑多久的,首先是技术热情,然后是维护者的领域背景。SRS的维护者都是服务器背景,大家的工作都是在服务器,客户端经验太少了,无法长久维护客户端的库。 > 因此,SRS决定果断放弃srs-librtmp,不再维护客户端库,聚焦于服务器的快速迭代。客户端并非不重要,而是要交给专业的客户端的开源项目和朋友维护,比如FFmpeg也自己实现了librtmp。 2. 压测工具[srs-bench](https://github.com/ossrs/srs-bench/blob/srs-librtmp/src/app/srs_librtmp.h)是个客户端,需要一个客户端库。 > 由于[pion](https://github.com/ossrs/srs-bench/tree/feature/rtc)的出现,压测工具完全可以用Go来写,比如RTC的压测就是用pion写的,所以这个理由也不再存在。 3. 膨胀了,觉得服务器能搞好,客户端也不在话下。 > 知错就改,善莫大焉。

如题, 此时,如果用flv播放,就会只看到部分画面 如果是ffmpeg播放,会看到一个拉伸的画面 比如,在麒麟950芯片的手机编码出的H264,中高分辨率下,I&P都是两个slice ![image](https://user-images.githubusercontent.com/48466/108590615-71bae480-739f-11eb-8d25-3a8cf8d04192.png)

客户端连接上srs后,发布流到SRS了,过程中如果超时了,srs会自动断开客户端的连接,但是客户端无法自动重连,并推流到SRS

Application using srs-librtmp push rtmp to antmedia server failed when creatstream. The application can work well with Youtube, Nginx rtmp. Please check it. Thanks. https://antmedia.io/

Hi.` I'm not able to publish an audio file from windows . I have used code from srs_audio_raw_publish.c , but it always fails at `if ((nb_read = read(raw_fd, audio_raw, file_size))...

I don't know if I'm saying a stupid thing. Is it possible to convert srs-librtmp to WebAssembly? So the problem of streaming in browsers would be solved once and for...

握手成功,使用 srs_h264_write_raw_frames 发送几帧之后,会被服务器断开连接,收到 netstream.bad.request; 同样的地址,使用librtmp 推流则没有问题

返回的 error code, 在哪里找到定义, 比如 返回1007,代表什么错误?

string srs_dns_resolve(string host, int& family) { addrinfo hints; memset(&hints, 0, sizeof(hints)); hints.ai_family = family; addrinfo* r = NULL; SrsAutoFree(addrinfo, r); if(getaddrinfo(host.c_str(), NULL, NULL, &r)) { return ""; } char saddr[64];...