DescriptionFixing a segfault that can occur when changing the track of an RtpSender.
The reference to the old track needs to be kept alive until SetAudioSend/
SetSource is called, because otherwise it could be deleted while the audio/
video engine is still trying to use the track.
BUG=webrtc:5796
Committed: https://crrev.com/5dd42fd849062373cab757605824254fc16db6b6
Cr-Commit-Position: refs/heads/master@{#12598}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|