blob: ff4dbead1097355711c6cf4c467e8ff366900a5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/*
* Copyright (C) 2017-2019 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#pragma once
/*!
* @brief the name of the inputstream add-on that should be used by Kodi to
* play the stream denoted by STREAM_PROPERTY_STREAMURL. Leave blank to use
* Kodi's built-in playing capabilities or to allow ffmpeg to handle directly
* set to STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG.
*/
#define STREAM_PROPERTY_INPUTSTREAM "inputstream"
/*!
* @brief Identification string for an input stream.
*
* This value can be used in addition to @ref STREAM_PROPERTY_INPUTSTREAM. It is
* used to provide the respective inpustream addon with additional
* identification.
*
* The difference between this and other stream properties is that it is also
* passed in the associated @ref kodi::addon::CAddonBase::CreateInstance call.
*
* This makes it possible to select different processing classes within the
* associated add-on.
*/
#define STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID "inputstream-instance-id"
/*!
* @brief "true" to denote that the stream that should be played is a
* realtime stream. Any other value indicates that this is not a realtime
* stream.
*/
#define STREAM_PROPERTY_ISREALTIMESTREAM "isrealtimestream"
/*!
* @brief special value for STREAM_PROPERTY_INPUTSTREAM to use
* ffmpeg to directly play a stream URL.
*/
#define STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG "inputstream.ffmpeg"
/*!
* @brief Max number of properties that can be sent to an Inputstream addon
*/
#define STREAM_MAX_PROPERTY_COUNT 30
|