xref: /haiku/src/add-ons/media/plugins/rtsp_streamer/RTSPStreamerPlugin.h (revision 89f1fd6512c10854013d231a85289797e47c7543)
1 /*
2  * Copyright 2016-2019, Dario Casalinuovo
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _RTSP_STREAMER_PLUGIN_H
6 #define _RTSP_STREAMER_PLUGIN_H
7 
8 #include <Streamer.h>
9 
10 using BCodecKit::BStreamer;
11 using BCodecKit::BStreamerPlugin;
12 
13 
14 class RTSPStreamer : public BStreamer
15 {
16 public:
17 								RTSPStreamer();
18 	virtual						~RTSPStreamer();
19 
20 	virtual status_t			Sniff(const BUrl& url, BDataIO** source);
21 };
22 
23 
24 class RTSPStreamerPlugin : public BStreamerPlugin {
25 public:
26 	virtual	BStreamer*			NewStreamer();
27 };
28 
29 #endif // _RTSP_STREAMER_PLUGIN_H
30