obsproject / obsproject/obs-studio
Media source input removal causing audio cut off and monitoring desync on stream / recordings
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
30.2.0-beta4
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/ZWSEUFbSezIGCyNo
OBS Studio Crash Log URL
No response
Expected Behavior
Removing a media source once it has finished playing should have the audio output to stream / recording the exact same as what monitoring hears.
Current Behavior
Audio monitoring and audio mixer show audio playing but the last 0.5-1s of audio is being clipped off the end of the media source even though the broadcaster can still hear it through monitoring and see it in the mixer. If the clip is short enough no audio will output to the stream / recording at all while the broadcaster will hear the audio in monitoring.
Steps to Reproduce
- create a media source in OBS
- put monitor and output on for that source
- use OBS ws to remove the input on media playback ended event
- be live or recording too file
- play the media source and then have it removed right as the playback ends
- the last bit of the media file will be clipped off and not heard in the recording or broadcast.
Anything else we should know?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the media-source removal sequence in OBS Studio 30.2.0-beta4 using OBS ws and the provided OBS Studio log. Compare monitoring with the stream or recording when the source is removed on media playback ended. Done means the final 0.5–1 seconds are retained in the broadcast or recording and match what monitoring hears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100