Skip to content

Crash when livestreaming using SRT #10256

Description

@Abeja27

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.0-beta1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/FOhy1iAx3mvWB7Gr

OBS Studio Crash Log URL

https://obsproject.com/logs/QCCBqe12ciKu0RWR

Expected Behavior

Being able to live stream using SRT without any issues.

Current Behavior

After streaming smoothly for a while, the server stops receiving packets from OBS. At this point, OBS sometimes crashes directly, while other times it appears not to, but as soon as you click "Stop Streaming," it freezes completely, requiring manual process termination.

Steps to Reproduce

  1. Initiate a live stream using the SRT protocol. I haven't been able to find a configuration where this issue doesn't occur.
  2. Wait until the issue occurs. The time it takes to fail has varied for me, ranging from 1 minute to 1 hour.

Anything else we should know?

This problem seems to be related to #9438. That issue was still happening to me until this version when finally no packets are lost at all. However that was replaced for the crash/freezing that I'm reporting now.

The previous issue was closed at the time, and I didn't have time to continue investigating. The only discovery I made is that the problem worsens significantly when setting the SRT option "sendbuf" to a high value. With small values, there were almost no lost packets, but it wasn't a viable workaround as the effective bitrate decreased due to the small buffer size. In this version, I'm unsure if that option has any impact anymore.

It would be great to know the exact commit where the behavior changed. Do you have any idea which one could I check? I wouldn't like to test one by one.

I would be great If you could reproduce it but that wasn't the case with #9438. Maybe it could be related to some specific hardware or configuration, but after testing different configurations in 3 machines It could find the issue. Ask me for any further information you may need.

Thank you for your time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions