haiku/headers/os/codec/MediaStreamer.h
Barrett17 1275248a77 codec_kit: First half
* Move all codec stuff into libcodec.so
2018-10-24 16:12:03 +02:00

37 lines
545 B
C++

/*
* Copyright 2017, Dario Casalinuovo. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _MEDIA_STREAMER_H
#define _MEDIA_STREAMER_H
#include <Url.h>
#include "StreamerPlugin.h"
namespace BPrivate {
namespace media {
class MediaStreamer {
public:
MediaStreamer(BUrl url);
~MediaStreamer();
status_t CreateAdapter(BDataIO** adapter);
private:
BUrl fUrl;
Streamer* fStreamer;
};
}; // namespace media
}; // namespace BPrivate
using namespace BPrivate::media;
#endif