summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2021-03-04 23:36:40 +0100
committermanuel <manuel@mausz.at>2021-03-04 23:36:40 +0100
commit3cb8aa05f8cee9e860cf83531682ff0ed4af6a4f (patch)
tree921f4829b32126f80f9113c124f2e14c0ebce8d9 /xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h
parentbe933ef2241d79558f91796cc5b3a161f72ebf9c (diff)
downloadkodi-pvr-build-Matrix.tar.gz
kodi-pvr-build-Matrix.tar.bz2
kodi-pvr-build-Matrix.zip
sync with upstreamMatrix
Diffstat (limited to 'xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h')
-rw-r--r--xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h
new file mode 100644
index 0000000..f442d64
--- /dev/null
+++ b/xbmc/addons/kodi-dev-kit/include/kodi/c-api/addon-instance/inputstream/stream_constants.h
@@ -0,0 +1,49 @@
1/*
2 * Copyright (C) 2017-2020 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9#ifndef C_API_ADDONINSTANCE_INPUTSTREAM_STREAMCONSTANTS_H
10#define C_API_ADDONINSTANCE_INPUTSTREAM_STREAMCONSTANTS_H
11
12/// @ingroup cpp_kodi_addon_inputstream_Defs_StreamConstants
13/// @brief The name of the inputstream add-on that should be used by Kodi to
14/// play the stream.
15///
16/// Leave blank to use Kodi's built-in playing capabilities or to allow
17/// ffmpeg to handle directly set to @ref STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG.
18#define STREAM_PROPERTY_INPUTSTREAM "inputstream"
19
20/// @ingroup cpp_kodi_addon_inputstream_Defs_StreamConstants
21/// @brief Identification string for an input stream.
22///
23/// This value can be used in addition to @ref STREAM_PROPERTY_INPUTSTREAM. It is
24/// used to provide the respective inpustream addon with additional
25/// identification.
26///
27/// The difference between this and other stream properties is that it is also
28/// passed in the associated @ref kodi::addon::CAddonBase::CreateInstance call.
29///
30/// This makes it possible to select different processing classes within the
31/// associated add-on.
32#define STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID "inputstream-instance-id"
33
34/// @ingroup cpp_kodi_addon_inputstream_Defs_StreamConstants
35/// @brief "true" to denote that the stream that should be played is a
36/// realtime stream. Any other value indicates that this is not a realtime
37/// stream.
38#define STREAM_PROPERTY_ISREALTIMESTREAM "isrealtimestream"
39
40/// @ingroup cpp_kodi_addon_inputstream_Defs_StreamConstants
41/// @brief Special value for @ref STREAM_PROPERTY_INPUTSTREAM to use
42/// ffmpeg to directly play a stream URL.
43#define STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG "inputstream.ffmpeg"
44
45/// @ingroup cpp_kodi_addon_inputstream_Defs_StreamConstants
46/// @brief Max number of properties that can be sent to an Inputstream addon
47#define STREAM_MAX_PROPERTY_COUNT 30
48
49#endif /* !C_API_ADDONINSTANCE_INPUTSTREAM_STREAMCONSTANTS_H */