Introduce new experimental class MediaStreamer
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user