#include "pc/media_stream_observer.h"
#include <functional>
#include <string>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
namespace webrtc {
MediaStreamObserver::MediaStreamObserver(
MediaStreamInterface* stream,
std::function<void(AudioTrackInterface*, MediaStreamInterface*)>
audio_track_added_callback,
std::function<void(AudioTrackInterface*, MediaStreamInterface*)>
audio_track_removed_callback,
std::function<void(VideoTrackInterface*, MediaStreamInterface*)>
video_track_added_callback,
std::function<void(VideoTrackInterface*, MediaStreamInterface*)>
video_track_removed_callback)
: … { … }
MediaStreamObserver::~MediaStreamObserver() { … }
void MediaStreamObserver::OnChanged() { … }
}