1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/renderer/media/media_stream_track.h"
7 #include "base/logging.h"
8 #include "third_party/WebKit/public/platform/WebMediaStreamSource.h"
9 #include "third_party/libjingle/source/talk/app/webrtc/mediastreaminterface.h"
14 MediaStreamTrack
* MediaStreamTrack::GetTrack(
15 const blink::WebMediaStreamTrack
& track
) {
18 return static_cast<MediaStreamTrack
*>(track
.extraData());
21 MediaStreamTrack::MediaStreamTrack(bool is_local_track
)
22 : is_local_track_(is_local_track
) {
25 MediaStreamTrack::~MediaStreamTrack() {
28 webrtc::AudioTrackInterface
* MediaStreamTrack::GetAudioAdapter() {
33 } // namespace content