Skip to content

Commit

Permalink
ステータスコードが異常になる原因っぽいもの
Browse files Browse the repository at this point in the history
  • Loading branch information
tnoho committed Jan 15, 2025
1 parent 8a3ef34 commit 9315afb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sora_video_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ SoraVideoSource::SoraVideoSource(
}));
}

SoraVideoSource::~SoraVideoSource() {
Disposed();
}

void SoraVideoSource::Disposed() {
if (!finished_) {
finished_ = true;
Expand Down
1 change: 1 addition & 0 deletions src/sora_video_source.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class SoraVideoSource : public SoraTrackInterface {
SoraVideoSource(DisposePublisher* publisher,
rtc::scoped_refptr<sora::ScalableVideoTrackSource> source,
rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> track);
~SoraVideoSource();

void Disposed() override;
void PublisherDisposed() override;
Expand Down

0 comments on commit 9315afb

Please sign in to comment.