Debian Codegraph @

ext/adaptivedemux2/dash/gstmpdrootnode.h

raw
1 /* GStreamer
2 *
3 * Copyright (C) 2019 Collabora Ltd.
4 * Author: Stéphane Cerveau <[email protected]>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library (COPYING); if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 */
21 #ifndef __GSTMPDROOTNODE_H__
22 #define __GSTMPDROOTNODE_H__
23
24 #include <gst/gst.h>
25 #include "gstmpdhelper.h"
26
27 G_BEGIN_DECLS
28
29 #define GST_TYPE_MPD_ROOT_NODE gst_mpd_root_node_get_type ()
30 G_DECLARE_FINAL_TYPE (GstMPDRootNode2, gst_mpd_root_node, GST, MPD_ROOT_NODE, GstMPDNode)
31
32 typedef GstMPDRootNode2 GstMPDRootNode;
33 typedef GstMPDRootNode2Class GstMPDRootNodeClass;
34
35 struct _GstMPDRootNode2
36 {
37 GstObject parent_instance;
38 gchar *default_namespace;
39 gchar *namespace_xsi;
40 gchar *namespace_ext;
41 gchar *schemaLocation;
42 gchar *id;
43 gchar *profiles;
44 GstMPDFileType type;
45 GstDateTime *availabilityStartTime;
46 GstDateTime *availabilityEndTime;
47 GstDateTime *publishTime;
48 guint64 mediaPresentationDuration; /* [ms] */
49 guint64 minimumUpdatePeriod; /* [ms] */
50 guint64 minBufferTime; /* [ms] */
51 guint64 timeShiftBufferDepth; /* [ms] */
52 guint64 suggestedPresentationDelay; /* [ms] */
53 guint64 maxSegmentDuration; /* [ms] */
54 guint64 maxSubsegmentDuration; /* [ms] */
55 /* list of BaseURL nodes */
56 GList *BaseURLs;
57 /* list of Location nodes */
58 GList *Locations;
59 /* List of ProgramInformation nodes */
60 GList *ProgramInfos;
61 /* list of Periods nodes */
62 GList *Periods;
63 /* list of Metrics nodes */
64 GList *Metrics;
65 /* list of GstUTCTimingNode nodes */
66 GList *UTCTimings;
67 };
68
69 GstMPDRootNode * gst_mpd_root_node_new (void);
70 void gst_mpd_root_node_free (GstMPDRootNode* self);
71
72 G_END_DECLS
73 #endif /* __GSTMPDROOTNODE_H__ */