package com.inspect.tcpserver.sip.gb28181;
|
|
|
|
public class PsHeader {
|
|
|
|
public static byte[] packHeader() {
|
|
return new byte[]{
|
|
0x00,0x00,0x01,(byte)0xBA,
|
|
0x44,0x00,0x04,0x00,
|
|
0x04,0x01,(byte)0x89,(byte)0xC3,
|
|
(byte)0xF8
|
|
};
|
|
}
|
|
|
|
public static byte[] systemHeader() {
|
|
return new byte[]{
|
|
0x00,0x00,0x01,(byte)0xBB,
|
|
0x00,0x0C,
|
|
(byte)0x80,0x04,
|
|
(byte)0xE0,0x07,
|
|
(byte)0xE0,(byte)0xC0,
|
|
0x20,(byte)0xBD,(byte)0xE0
|
|
};
|
|
}
|
|
|
|
public static byte[] psmHeader() {
|
|
return new byte[]{
|
|
0x00,0x00,0x01,(byte)0xBC,
|
|
0x00,0x12,
|
|
0x00,0x00,
|
|
(byte)0xE0,0x00,
|
|
0x1B,0x00,0x00,
|
|
0x00,0x00
|
|
};
|
|
}
|
|
}
|