chromium/third_party/webrtc/pc/media_stream.cc

/*
 *  Copyright 2011 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#include "pc/media_stream.h"

#include <stddef.h>

#include <utility>

#include "rtc_base/checks.h"

namespace webrtc {

template <class V>
static typename V::iterator FindTrack(V* vector, const std::string& track_id) {}

rtc::scoped_refptr<MediaStream> MediaStream::Create(const std::string& id) {}

MediaStream::MediaStream(const std::string& id) :{}

bool MediaStream::AddTrack(rtc::scoped_refptr<AudioTrackInterface> track) {}

bool MediaStream::AddTrack(rtc::scoped_refptr<VideoTrackInterface> track) {}

bool MediaStream::RemoveTrack(rtc::scoped_refptr<AudioTrackInterface> track) {}

bool MediaStream::RemoveTrack(rtc::scoped_refptr<VideoTrackInterface> track) {}

rtc::scoped_refptr<AudioTrackInterface> MediaStream::FindAudioTrack(
    const std::string& track_id) {}

rtc::scoped_refptr<VideoTrackInterface> MediaStream::FindVideoTrack(
    const std::string& track_id) {}

template <typename TrackVector, typename Track>
bool MediaStream::AddTrack(TrackVector* tracks,
                           rtc::scoped_refptr<Track> track) {}

template <typename TrackVector>
bool MediaStream::RemoveTrack(
    TrackVector* tracks,
    rtc::scoped_refptr<MediaStreamTrackInterface> track) {}

}  // namespace webrtc