修复无人观看关闭流相关bug (#4334)
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
PioLing 2025-07-02 14:58:12 +08:00 committed by GitHub
parent fd34b5526b
commit fb2a3f5179
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: windows-2019 runs-on: windows-2022
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1

View File

@ -514,6 +514,7 @@ EventPoller::Ptr MultiMediaSourceMuxer::getOwnerPoller(MediaSource &sender) {
} }
bool MultiMediaSourceMuxer::close(MediaSource &sender) { bool MultiMediaSourceMuxer::close(MediaSource &sender) {
MediaSourceEventInterceptor::close(sender);
_rtmp = nullptr; _rtmp = nullptr;
_rtsp = nullptr; _rtsp = nullptr;
_fmp4 = nullptr; _fmp4 = nullptr;