aboutsummaryrefslogtreecommitdiffstats
path: root/Input/IDASHReceiverObserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'Input/IDASHReceiverObserver.h')
-rw-r--r--Input/IDASHReceiverObserver.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Input/IDASHReceiverObserver.h b/Input/IDASHReceiverObserver.h
new file mode 100644
index 00000000..0a334aa2
--- /dev/null
+++ b/Input/IDASHReceiverObserver.h
@@ -0,0 +1,35 @@
+/*
+ * IDASHReceiverObserver.h
+ *****************************************************************************
+ * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
+ *
+ * Email: libdash-dev@vicky.bitmovin.net
+ *
+ * This source code and its use and distribution, is subject to the terms
+ * and conditions of the applicable license agreement.
+ *****************************************************************************/
+
+#ifndef LIBDASH_FRAMEWORK_INPUT_IDASHRECEIVEROBSERVER_H_
+#define LIBDASH_FRAMEWORK_INPUT_IDASHRECEIVEROBSERVER_H_
+
+namespace libdash
+{
+namespace framework
+{
+namespace input
+{
+class IDASHReceiverObserver
+{
+public:
+ virtual ~IDASHReceiverObserver() {}
+
+ virtual void onSegmentDownloaded() = 0;
+ virtual void notifyStatistics(int segNum, uint32_t bitrate, int fps, uint32_t quality) = 0;
+ virtual void notifyQualityDownloading(uint32_t quality) = 0;
+ virtual bool canPush() = 0;
+ virtual int getBufferLevel() = 0;
+};
+}
+}
+}
+#endif /* LIBDASH_FRAMEWORK_INPUT_IDASHRECEIVEROBSERVER_H_ */