The implementation is borrowed from Chromium. Also change use of raw pointers in VideoSendStreamImpl to use WeakPtr<> BUG= webrtc:6289 Review-Url: https://codereview.webrtc.org/2367853002 Cr-Commit-Position: refs/heads/master@{#14468}