MediaStreamer.h revision 218a8c03
1/*
2 * Copyright 2017, Dario Casalinuovo. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _MEDIA_STREAMER_H
6#define _MEDIA_STREAMER_H
7
8
9#include <Url.h>
10
11#include "StreamerPlugin.h"
12
13
14namespace BPrivate {
15namespace media {
16
17
18class MediaStreamer {
19public:
20								MediaStreamer(BUrl url);
21								~MediaStreamer();
22
23			status_t			CreateAdapter(BDataIO** adapter);
24
25private:
26			BUrl				fUrl;
27			Streamer*			fStreamer;
28};
29
30
31}; // namespace media
32}; // namespace BPrivate
33
34using namespace BPrivate::media;
35
36#endif
37