DescriptionReturn false if PeerConnection::GetStats() is called on invalid tracks
Before calling StatsCollctor::GetStats() in PeerConnection::GetStats(), check if the track is valid. If not, return false.
A track is invalid if it is not a nullptr and there is no report data for it.
BUG=webrtc:6652
Committed: https://crrev.com/e9e94c3fee79b0b590e2e0fd40f8c55398d8f548
Cr-Commit-Position: refs/heads/master@{#14934}
Patch Set 1 #
Total comments: 2
Patch Set 2 : CR comments #
Total comments: 1
Patch Set 3 : Change the function parameter. #
Messages
Total messages: 15 (9 generated)
|