Skip to content

Commit

Permalink
fix crash in impl::PeerConnection::negotiationNeeded()
Browse files Browse the repository at this point in the history
  • Loading branch information
yurp committed Oct 25, 2024
1 parent f8ffbe3 commit ad68bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl/peerconnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ bool PeerConnection::negotiationNeeded() const {
if (!media->isRemoved())
if (auto it = mTracks.find(media->mid()); it != mTracks.end())
if (auto track = it->second.lock(); !track || track->isClosed()) {
PLOG_DEBUG << "Negotiation needed to remove track, mid=" << track->mid();
PLOG_DEBUG << "Negotiation needed to remove track, mid=" << media->mid();
return true;
}
}
Expand Down

0 comments on commit ad68bb4

Please sign in to comment.