111
k94314517
2025-02-28 04dba6a17f836b5fbdf0eedff8a129c6785fd8a2
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package org.yzh.protocol.t1078;
 
import io.github.yezhihao.protostar.annotation.Field;
import io.github.yezhihao.protostar.annotation.Message;
import org.yzh.protocol.basics.JTMessage;
import org.yzh.protocol.commons.JT1078;
 
/**
 * @author yezhihao
 * https://gitee.com/yezhihao/jt808-server
 */
@Message(JT1078.终端上传音视频属性)
public class T1003 extends JTMessage {
 
    @Field(length = 1, desc = "输入音频编码方式")
    private int audioFormat;
    @Field(length = 1, desc = "输入音频声道数")
    private int audioChannels;
    @Field(length = 1, desc = "输入音频采样率:0.8kHz 1.22.05kHz 2.44.1kHz 3.48kHz")
    private int audioSamplingRate;
    @Field(length = 1, desc = "输入音频采样位数:0.8位 1.16位 2.32位")
    private int audioBitDepth;
    @Field(length = 2, desc = "音频帧长度")
    private int audioFrameLength;
    @Field(length = 1, desc = "是否支持音频输出")
    private int audioSupport;
    @Field(length = 1, desc = "视频编码方式")
    private int videoFormat;
    @Field(length = 1, desc = "终端支持的最大音频物理通道")
    private int maxAudioChannels;
    @Field(length = 1, desc = "终端支持的最大视频物理通道")
    private int maxVideoChannels;
 
    public int getAudioFormat() {
        return audioFormat;
    }
 
    public void setAudioFormat(int audioFormat) {
        this.audioFormat = audioFormat;
    }
 
    public int getAudioChannels() {
        return audioChannels;
    }
 
    public void setAudioChannels(int audioChannels) {
        this.audioChannels = audioChannels;
    }
 
    public int getAudioSamplingRate() {
        return audioSamplingRate;
    }
 
    public void setAudioSamplingRate(int audioSamplingRate) {
        this.audioSamplingRate = audioSamplingRate;
    }
 
    public int getAudioBitDepth() {
        return audioBitDepth;
    }
 
    public void setAudioBitDepth(int audioBitDepth) {
        this.audioBitDepth = audioBitDepth;
    }
 
    public int getAudioFrameLength() {
        return audioFrameLength;
    }
 
    public void setAudioFrameLength(int audioFrameLength) {
        this.audioFrameLength = audioFrameLength;
    }
 
    public int getAudioSupport() {
        return audioSupport;
    }
 
    public void setAudioSupport(int audioSupport) {
        this.audioSupport = audioSupport;
    }
 
    public int getVideoFormat() {
        return videoFormat;
    }
 
    public void setVideoFormat(int videoFormat) {
        this.videoFormat = videoFormat;
    }
 
    public int getMaxAudioChannels() {
        return maxAudioChannels;
    }
 
    public void setMaxAudioChannels(int maxAudioChannels) {
        this.maxAudioChannels = maxAudioChannels;
    }
 
    public int getMaxVideoChannels() {
        return maxVideoChannels;
    }
 
    public void setMaxVideoChannels(int maxVideoChannels) {
        this.maxVideoChannels = maxVideoChannels;
    }
}