2 * Copyright 2016, Dario Casalinuovo
3 * Distributed under the terms of the MIT License.
7 #include "HTTPStreamerPlugin.h"
9 #include "HTTPMediaIO.h"
14 HTTPStreamer::HTTPStreamer()
20 HTTPStreamer::~HTTPStreamer()
27 HTTPStreamer::Sniff(const BUrl
& url
, BDataIO
** source
)
31 HTTPMediaIO
* outSource
= new HTTPMediaIO(url
);
33 status_t ret
= outSource
->Open();
44 HTTPStreamerPlugin::NewStreamer()
46 return new HTTPStreamer();
50 MediaPlugin
*instantiate_plugin()
52 return new HTTPStreamerPlugin();