aboutsummaryrefslogtreecommitdiff
path: root/talk/app/webrtc/videotrack.cc
diff options
context:
space:
mode:
authordeadbeef <deadbeef@webrtc.org>2015-11-20 11:43:22 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-20 19:43:27 +0000
commit5def7b9fdea0d027bca3df734d86fb877a83bdbf (patch)
tree1200e252365e99eaa8f680908f9127da8526dd2d /talk/app/webrtc/videotrack.cc
parent7add0584390dcfb236165a6472ede6c2a94eaeed (diff)
downloadwebrtc-5def7b9fdea0d027bca3df734d86fb877a83bdbf.tar.gz
Revert of Adding the ability to create an RtpSender without a track. (patchset #3 id:300001 of https://codereview.webrtc.org/1413983004/ )
Reason for revert: Still breaking CallAndModifyStream. Chromium CL intended to fix it (https://codereview.chromium.org/1435713002/) wasn't sufficient, because I forgot to call addStream/removeStream on the second connection. Original issue's description: > Reland of Adding the ability to create an RtpSender without a track. (patchset #1 id:1 of https://codereview.webrtc.org/1426443007/ ) > > Reason for revert: > Relanding, after changing the expectations of WebRtcBrowserTest.CallAndModifyStream. > > Original issue's description: > > Revert of Adding the ability to create an RtpSender without a track. (patchset #8 id:140001 of https://codereview.webrtc.org/1413713003/ ) > > > > Reason for revert: > > Causing a compiler warning, and causing WebRtcBrowserTest.CallAndModifyStream to fail. > > > > Original issue's description: > > > Adding the ability to create an RtpSender without a track. > > > > > > This CL also changes AddStream to immediately create a sender, rather > > > than waiting until the track is seen in SDP. And the PeerConnection now > > > builds the list of "send streams" from the list of senders, rather than > > > the collection of local media streams. > > > > > > Committed: https://crrev.com/ac9d92ccbe2b29590c53f702e11dc625820480d5 > > > Cr-Commit-Position: refs/heads/master@{#10414} > > > > TBR=pthatcher@webrtc.org,pthatcher@chromium.org > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > > > Committed: https://crrev.com/8f46c63f6f764254892f4111b54aa1cc8f32eeeb > > Cr-Commit-Position: refs/heads/master@{#10417} > > TBR=pthatcher@webrtc.org,pthatcher@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://crrev.com/6834fa10f142bf5e2275142acb834898911d09ae > Cr-Commit-Position: refs/heads/master@{#10730} TBR=pthatcher@webrtc.org,pthatcher@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.webrtc.org/1460323002 Cr-Commit-Position: refs/heads/master@{#10732}
Diffstat (limited to 'talk/app/webrtc/videotrack.cc')
-rw-r--r--talk/app/webrtc/videotrack.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/talk/app/webrtc/videotrack.cc b/talk/app/webrtc/videotrack.cc
index f138240068..7c78aea91f 100644
--- a/talk/app/webrtc/videotrack.cc
+++ b/talk/app/webrtc/videotrack.cc
@@ -31,7 +31,7 @@
namespace webrtc {
-const char MediaStreamTrackInterface::kVideoKind[] = "video";
+static const char kVideoTrackKind[] = "video";
VideoTrack::VideoTrack(const std::string& label,
VideoSourceInterface* video_source)
@@ -47,7 +47,7 @@ VideoTrack::~VideoTrack() {
}
std::string VideoTrack::kind() const {
- return kVideoKind;
+ return kVideoTrackKind;
}
void VideoTrack::AddRenderer(VideoRendererInterface* renderer) {