webOS Userland
Native system APIs for webOS
common.hpp
1 #pragma once
2 
3 #include <stdint.h>
4 
5 typedef enum {
6  MEDIA_CUSTOM_SRC_TYPE_ES = 7
7 } MEDIA_CUSTOM_SRC_TYPE_T;
8 
9 typedef struct MEDIA_CUSTOM_CONTENT_INFO {
10  int32_t mediaTransportType;
11  int32_t mediaSourceType;
12  int32_t container;
13  uint64_t size;
14  uint32_t videoCodec;
15  uint32_t audioCodec;
16  int32_t esCh;
17  int64_t ptsToDecode;
18  int32_t restartStreaming;
19  int32_t separatedPTS;
20  uint8_t svpVersion;
21  int32_t preBufferTime;
22  int32_t useBufferCtrl;
23  int32_t userBufferCtrl;
24  int32_t bufferingMinTime;
25  int32_t bufferingMaxTime;
26  uint8_t bufferMinPercent;
27  uint8_t bufferMaxPercent;
28  uint8_t padding[2];
29  uint8_t videoDataInfo[104];
30  uint8_t audioDataInfo[56];
31  uint16_t unknown;
32  uint32_t delayOffset;
33  uint32_t drmType;
34  char* drmTypeExtension;
35  char* drmClientID;
36  uint32_t startBPS;
37  uint32_t unknown2;
38  uint32_t unknown3;
39  int32_t unknown4;
40  int32_t unknown5;
41  uint32_t startTime;
42  uint8_t unknown6[20];
43  int32_t unknown7;
Definition: common.hpp:9