DescriptionUse scoped_refptr for On(Add|Remove)Stream and OnDataChannel.
This will make it much less likely for application developers to not
realize the object is reference counted.
It also fixes a bug in the Java PeerConnection binding, by allowing a
reference to be transferred in the OnRemoveStream call via std::move.
BUG=webrtc:5128
R=pthatcher@webrtc.org, tkchin@webrtc.org
Committed: https://crrev.com/98cde26c7875497273f6bdde4b4dcb3e719386f2
Cr-Commit-Position: refs/heads/master@{#12976}
Patch Set 1 #Patch Set 2 : Adding "deprecated" comments. #
Total comments: 2
Messages
Total messages: 12 (5 generated)
|