From 91073c64aae82363bbf02fae8287ad42573cb401 Mon Sep 17 00:00:00 2001 From: DavidVentura Date: Sat, 27 Jan 2024 16:23:22 +0100 Subject: [PATCH] add stream_head_t from pdf --- types/all.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/types/all.h b/types/all.h index 05cf5fc..0286eaf 100644 --- a/types/all.h +++ b/types/all.h @@ -79,3 +79,23 @@ struct sysopr_t { uint8_t wifiEnable; uint8_t ircut; }; + +struct stream_head_t { + unsigned int startcode; // 0xa815aa55 + char type; + char streamid; + unsigned short militime; + unsigned int sectime; + unsigned int frameno; + unsigned int len; + unsigned char version; + unsigned char resolution; + unsigned char sessid; + unsigned char currsit; + unsigned char endflag; + char byzone; + char channel; //for user in sit + char type1; + short sample; + short index; +};