修复无人观看关闭流相关bug (#4334)

This commit is contained in:
PioLing
2025-07-02 14:58:12 +08:00
committed by GitHub
parent fd34b5526b
commit fb2a3f5179
2 changed files with 2 additions and 1 deletions

View File

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

View File

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