CMSV6Help Center
/
839 DOCS · 213 VIDEOS中文

1078 protocol WIFI automatic download

Author 谢周轩Updated 2026-04-02 11:43:19Doc ID 2344656 words · 3 min readView original ↗

1. Functional Description

1078 protocol WIFI automatic download
A. Report network status
After authentication, the 808 device actively reports the network status. When the server determines that the device is in a wifi state, the server actively downloads the video file in a playback mode.
B. There is no limit to the speed of uploading audio and video data
Standard 1078 protocol video playback, the device will carry out speed limit upload data. A flag is added to the playback parameter, and when the device determines that there is some identifier, the speed of uploading audio and video data is not limited.

1.1 Network Status Reporting Resolution

The pass- through message type is 0xA1, and the data content is as follows:

// Audio type definition
# define TTX_AUDIO_TYPE_G726_40KBPS 1 // Use Hess format
# define TTX_AUDIO_TYPE_ADPCM 2 // Use Hesse format
# define TTX_AUDIO_TYPE_G726_MEDIA_40KBPS 3 // Use Hess format
# define TTX_AUDIO_TYPE_G726_MEDIA_32KBPS 4 // Use Hess format
# define TTX_AUDIO_TYPE_G726_MEDIA_24KBPS 5 // Use Hesse format
# define TTX_AUDIO_TYPE_G726_MEDIA_16KBPS 6 // Use Hess format
# define TTX_AUDIO_TYPE_G726_32KBPS 7 // Use Hess format
# define TTX_AUDIO_TYPE_G726_24KBPS 8 // Use Hess format
# define TTX_AUDIO_TYPE_G726_16KBPS 9 // Use Hess format
# define TTX_AUDIO_TYPE_G711A 10 // Use Hisi format
# define TTX_AUDIO_TYPE_G711U 11 // Use Hess format
#define TTX_AUDIO_TYPE_AAC_8KBPS 12
#define TTX_AUDIO_TYPE_AAC_16KBPS 13
# define TTX_AUDIO_TYPE_ARM 14 // Use HiSi format
#define TTX_AUDIO_TYPE_AAC_24KBPS 15
# define TTX_AUDIO_TYPE_ADPCM_IMA 16 // Use Hisi format
# define TTX_AUDIO_TYPE_G711A_EX 17 // non- Hith format
# define TTX_AUDIO_TYPE_G711U_EX 18 // non- Hith format
#define TTX_AUDIO_TYPE_NELLY_8KBPS 19 //Nellymoser
# define TTX_AUDIO_TYPE_PCM_8K 20 // PCM bare stream format 2 channels
# define TTX_AUDIO_TYPE_PCM_16K 21 // PCM bare stream format 2 channels
#define TTX_AUDIO_TYPE_AAC_32KBPS 22
#define TTX_AUDIO_TYPE_AAC_40KBPS 23
#define TTX_AUDIO_TYPE_AAC_44KBPS 24
#define TTX_AUDIO_TYPE_AAC_48KBPS 25

1.2 1078 Video playback increase parameter expressed as download mode

In the playback command, we will add parameters to distinguish the download mode. At this time, the device should not limit the upload speed.
When the playback mode is 0, the value of fast forward or fast rewind is FF, which means download mode, and the device should not limit the upload speed.

Data format of remote video playback request issued by the platform- extended

Start byte Field Data type Description and requirements
0 Length of server IP address BYTE Length n
1 Server IP address STRING Real- time audio and video server IP address
1 n Server audio and video channel listening port number (TCP) WORD Real- time audio and video server port number, set to 0 when TCP transmission is not used
3 n Server audio and video channel listening port number (UDP) WORD Real- time audio and video server port number, set to 0 when UDP is not used
5 n Logical Channel Number BYTE See JT/T XXXX- XXXX Table 2
6 n Audio/Video Type BYTE 0: Audio/Video
1: Audio
2: Video
3: Video or Audio/Video
7 n Code Stream Type BYTE 0: Main Code Stream or Sub Code Stream,
1: Main Code Stream,
2: Sub Code Stream;
If this channel only transmits audio, this field is set to 0
8 n Memory Type BYTE 0: Main Memory or Disaster Recovery Memory
1: Main Memory
2: Disaster Recovery Memory
9 n Playback Mode BYTE 0: Normal Playback;
1: Fast Forward Playback;
2: Key Frame Rewind Playback;
3: Key Frame Playback;
4. Single Frame Upload;
10 n fast forward or fast rewind multiple BYTE when playback mode is 1 and 2, the content of this field is valid, otherwise set 0
0: invalid;
1:1 times;
2 times;
3:4 times;
4:8 times;
5:16 times;
**FF: Download Mode **
11 n Start time BCD[6] YY- MM- DD- HH- MM- SS, when playback mode is 4, this field indicates the upload time of a single frame
17 n End time BCD[6] YY- MM- DD- HH- MM- SS. A value of 0 indicates constant playback. When the playback mode is 4, this field is invalid.
Source help.cmsv7.com
839 documents · 213 videos · docs.alwaycare.com