ossrs / srs

SRS is a simple, high-efficiency, real-time media server supporting RTMP, WebRTC, HLS, HTTP-FLV, HTTP-TS, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
25.32k stars 5.33k forks source link

WebRTC: Server crashes on AV1 Encoder #4132

Open Diras226 opened 1 month ago

Diras226 commented 1 month ago

While streaming with an AV1 encoder the server crashes after some time ~5min. Using OBS there were a lot of warnings as well and the stream couldn't be played. Using chrome the stream is playable, but the server still crashes.

Version SRS:6

To Reproduce

  1. Start stream via OBS with AV1 Encoder and stream to https://rtclocal.test.de/rtc/v1/whip/?app=live&stream=XXXX&codec=av1 endpoint.
  2. Wait until error occurs.

Expected behavior Expect the server to stay stable when using AV1 Encoder

Screenshots webrtc_errors webrtc_warnings

winlinvip commented 1 month ago

Please never ignore other information to reproduce the issue, like the config and logs.

I guess you should disable the rtc_to_rtmp, because RTMP does not support AV1 right now.

Diras226 commented 1 month ago

Okay, thanks. I cannot use the dvr feature then am i right?