#ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CLIENT_H_
#define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_CLIENT_H_
#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "content/renderer/media/video_frame_provider.h"
class GURL;
namespace content {
class MediaStreamAudioRenderer;
class MediaStreamClient {
public:
virtual bool IsMediaStream(const GURL& url) = 0;
virtual scoped_refptr<VideoFrameProvider> GetVideoFrameProvider(
const GURL& url,
const base::Closure& error_cb,
const VideoFrameProvider::RepaintCB& repaint_cb) = 0;
virtual scoped_refptr<MediaStreamAudioRenderer> GetAudioRenderer(
const GURL& url, int render_frame_id) = 0;
protected:
virtual ~MediaStreamClient() {}
};
}
#endif