repo
stringclasses
1k values
file_url
stringlengths
96
373
file_path
stringlengths
11
294
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
6 values
commit_sha
stringclasses
1k values
retrieved_at
stringdate
2026-01-04 14:45:56
2026-01-04 18:30:23
truncated
bool
2 classes
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/DeviceControlPosition.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/DeviceControlPosition.java
package io.github.lunasaw.gb28181.common.entity.control; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlRootElement; import lombok.AllArgsConstructor; import lombok.Getter; impor...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/DeviceControlTeleBoot.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/DeviceControlTeleBoot.java
package io.github.lunasaw.gb28181.common.entity.control; import jakarta.xml.bind.annotation.XmlAccessType; import jakarta.xml.bind.annotation.XmlAccessorType; import jakarta.xml.bind.annotation.XmlElement; import jakarta.xml.bind.annotation.XmlRootElement; import lombok.AllArgsConstructor; import lombok.Getter; impor...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionFormat.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionFormat.java
package io.github.lunasaw.gb28181.common.entity.control.instruction; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * PTZ指令格式基础类 * 根据 A.3.1 指令格式 规范实现 * <p> * 字节1: A5H (指令首字节) * 字节2: 组合码1 (高4位版本信息 + 低4位校验位) * 字节3: 地址低8位 * 字节4: 指令码 * 字节5: 数据1 * 字节6: 数据2 * 字节7: 组合码2 ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionDemo.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionDemo.java
package io.github.lunasaw.gb28181.common.entity.control.instruction; import io.github.lunasaw.gb28181.common.entity.control.instruction.builder.PTZInstructionBuilder; import io.github.lunasaw.gb28181.common.entity.control.instruction.enums.PTZControlEnum; import io.github.lunasaw.gb28181.common.entity.control.instruct...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionCoreValidation.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionCoreValidation.java
package io.github.lunasaw.gb28181.common.entity.control.instruction; import io.github.lunasaw.gb28181.common.entity.control.instruction.builder.PTZInstructionBuilder; import io.github.lunasaw.gb28181.common.entity.control.instruction.enums.*; import io.github.lunasaw.gb28181.common.entity.control.instruction.manager.P...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionCompleteValidation.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/PTZInstructionCompleteValidation.java
package io.github.lunasaw.gb28181.common.entity.control.instruction; import io.github.lunasaw.gb28181.common.entity.control.instruction.builder.PTZInstructionBuilder; import io.github.lunasaw.gb28181.common.entity.control.instruction.enums.*; import io.github.lunasaw.gb28181.common.entity.control.instruction.manager.P...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/builder/PTZInstructionBuilder.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/builder/PTZInstructionBuilder.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.builder; import io.github.lunasaw.gb28181.common.entity.control.instruction.PTZInstructionFormat; import io.github.lunasaw.gb28181.common.entity.control.instruction.enums.*; /** * PTZ指令构建器 - Builder设计模式实现 * 提供流式API构建各种PTZ控制指令 */ public class PTZIn...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/manager/PTZInstructionManager.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/manager/PTZInstructionManager.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.manager; import io.github.lunasaw.gb28181.common.entity.control.instruction.enums.*; import lombok.Getter; import lombok.extern.slf4j.Slf4j; import java.util.*; import java.util.concurrent.ConcurrentHashMap; /** * PTZ指令映射管理器 * 统一管理所有PTZ控制指令的映射关系和静...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/serializer/PTZInstructionSerializer.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/serializer/PTZInstructionSerializer.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.serializer; import io.github.lunasaw.gb28181.common.entity.control.instruction.PTZInstructionFormat; import lombok.extern.slf4j.Slf4j; import java.io.*; import java.nio.ByteBuffer; import java.util.Base64; /** * PTZ指令序列化器 * 提供多种序列化/反序列化方式 */ @Slf...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/examples/PTZInstructionExamples.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/examples/PTZInstructionExamples.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.examples; import io.github.lunasaw.gb28181.common.entity.control.instruction.PTZInstructionFormat; import io.github.lunasaw.gb28181.common.entity.control.instruction.builder.PTZInstructionBuilder; import io.github.lunasaw.gb28181.common.entity.control...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/crypto/PTZInstructionCrypto.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/crypto/PTZInstructionCrypto.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.crypto; import io.github.lunasaw.gb28181.common.entity.control.instruction.PTZInstructionFormat; import lombok.extern.slf4j.Slf4j; import javax.crypto.Cipher; import javax.crypto.KeyGenerator; import javax.crypto.SecretKey; import javax.crypto.spec.G...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/PTZControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/PTZControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * PTZ控制指令枚举 * 根据 A.3.2 PTZ指令 规范实现 * <p> * 字节4位定义: * Bit7-B...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/PresetControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/PresetControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * 预置位指令枚举 * 根据 A.3.4 预置位指令 规范实现 * <p> * 预置位数目最大为255,0号预留 *...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/ScanControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/ScanControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * 扫描指令枚举 * 根据 A.3.6 扫描指令 规范实现 */ @Getter @AllArgsConstructor...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/FIControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/FIControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * FI(聚焦Focus/光圈Iris)控制指令枚举 * 根据 A.3.3 FI指令 规范实现 * <p> * 字节4...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/AuxiliaryControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/AuxiliaryControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * 辅助开关控制指令枚举 * 根据 A.3.7 辅助开关控制指令 规范实现 */ @Getter @AllArgsCon...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/CruiseControlEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/control/instruction/enums/CruiseControlEnum.java
package io.github.lunasaw.gb28181.common.entity.control.instruction.enums; import lombok.AllArgsConstructor; import lombok.Getter; import java.util.Arrays; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; /** * 巡航指令枚举 * 根据 A.3.5 巡航指令 规范实现 */ @Getter @AllArgsConstructor...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/TransModeEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/TransModeEnum.java
package io.github.lunasaw.gb28181.common.entity.enums; /** * @author luna * @date 2023/10/13 */ public enum TransModeEnum { /** * 传输模式 */ UDP("UDP", "UDP"), TCP("TCP", "TCP"), ; private final String type; private final String desc; TransModeEnum(String type, String desc) { ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/StreamModeEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/StreamModeEnum.java
package io.github.lunasaw.gb28181.common.entity.enums; /** * @author luna * @date 2023/10/13 */ public enum StreamModeEnum { /** * 数据流传输模式 */ UDP("UDP", "UDP"), TCP_ACTIVE("TCP-ACTIVE", "TCP主动"), TCP_PASSIVE("TCP-PASSIVE", "TCP被动"), ; private final String type; private final...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/CmdTypeEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/CmdTypeEnum.java
package io.github.lunasaw.gb28181.common.entity.enums; /** * @author luna * @date 2023/10/13 */ public enum CmdTypeEnum { /** * server请求类型 */ DEVICE_INFO("DeviceInfo", "查询设备信息"), DEVICE_STATUS("DeviceStatus", "查询设备状态"), CATALOG("Catalog", "设备目录"), RECORD_INFO("RecordInfo", "查询设备录像信息")...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/InviteSessionNameEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/InviteSessionNameEnum.java
package io.github.lunasaw.gb28181.common.entity.enums; /** * @author luna * @date 2023/10/13 */ public enum InviteSessionNameEnum { /** * */ PLAY("Play", "点播"), PLAY_BACK("PlayBack", "回放"), ; private final String type; private final String desc; InviteSessionNameEnum(Strin...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/ManufacturerEnum.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/ManufacturerEnum.java
package io.github.lunasaw.gb28181.common.entity.enums; /** * @author luna * @date 2023/10/13 */ public enum ManufacturerEnum { /** * 硬件厂家 */ TP_LINK("TP-LINK", "TP-LINK"), ; private final String type; private final String desc; ManufacturerEnum(String type, String desc) { ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/DeviceGbType.java
gb28181-common/src/main/java/io/github/lunasaw/gb28181/common/entity/enums/DeviceGbType.java
package io.github.lunasaw.gb28181.common.entity.enums; import java.util.HashMap; import java.util.Map; public enum DeviceGbType { CENTER_SERVER(200, "中心服务器"), DVR(111, "DVR"), NVR(118, "NVR"), CAMERA(132, "摄像机"), VIRTUAL_ORGANIZATION_DIRECTORY(215, "虚拟组织目录"), CENTER_SIGNAL_CONTROL_SERVER(216, ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/service/impl/TimeSyncServiceImplTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/service/impl/TimeSyncServiceImplTest.java
package io.github.lunasaw.sip.common.service.impl; import io.github.lunasaw.sip.common.config.SipCommonProperties; import io.github.lunasaw.sip.common.service.TimeSyncService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mocki...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/test/ApplicationTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/test/ApplicationTest.java
package io.github.lunasaw.sip.common.test; import com.luna.common.os.SystemInfoUtil; import io.github.lunasaw.sip.common.layer.SipLayer; import io.github.lunasaw.sip.common.transmit.CustomerSipListener; import org.junit.jupiter.api.BeforeEach; /** * @author luna * @date 2023/10/13 */ public class ApplicationTest {...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/utils/TraceUtilsTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/utils/TraceUtilsTest.java
package io.github.lunasaw.sip.common.utils; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.slf4j.MDC; import static org.junit.jupiter.api.Assertions.*; /** * TraceUtils测试类 * * @author luna */ @Slf4j ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/SipSenderRefactorTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/SipSenderRefactorTest.java
package io.github.lunasaw.sip.common.transmit; import com.luna.common.os.SystemInfoUtil; import gov.nist.javax.sip.SipProviderImpl; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.ToDevice; import io.github.lunasaw.sip.common.layer.SipLayer; import io.github.lunasaw.si...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/ResponseCmdTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/ResponseCmdTest.java
package io.github.lunasaw.sip.common.transmit; import com.luna.common.os.SystemInfoUtil; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.enums.ContentTypeEnum; import io.github.lunasaw.sip.common.test.ApplicationTest; import lombok.SneakyThrows; import org.junit.jupiter.api.BeforeEach...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/request/SipRequestBuilderFactoryTest.java
sip-common/src/test/java/io/github/lunasaw/sip/common/transmit/request/SipRequestBuilderFactoryTest.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.message.Request; import gov.nist.javax.sip.message.SIPRequest; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.junit.jupiter.MockitoExtension; import io.github.lunasaw.sip.common.entity.Fr...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/SipCommonApplication.java
sip-common/src/main/java/io/github/lunasaw/sip/common/SipCommonApplication.java
package io.github.lunasaw.sip.common; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * @author luna * @date 2023/10/12 */ @SpringBootApplication public class SipCommonApplication { public static void main(String[] args) { Spr...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/constant/Constant.java
sip-common/src/main/java/io/github/lunasaw/sip/common/constant/Constant.java
package io.github.lunasaw.sip.common.constant; /** * @author luna * @date 2023/10/12 */ public class Constant { public static final String TCP = "TCP"; public static final String UDP = "UDP"; public static final String AGENT = "LunaSaw-GB28181-Proxy"; public static final String PASSWORD_HEADER =...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/constant/package-info.java
sip-common/src/main/java/io/github/lunasaw/sip/common/constant/package-info.java
/** * Contains constants used in the SIP protocol. * 包含SIP协议中使用的常量 * * @author luna * @date 2023/11/20 */ package io.github.lunasaw.sip.common.constant;
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/ClientDeviceSupplier.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/ClientDeviceSupplier.java
package io.github.lunasaw.sip.common.service; import io.github.lunasaw.sip.common.entity.FromDevice; /** * 客户端设备提供器接口 * 扩展DeviceSupplier接口,提供客户端特定的设备获取能力 * <p> * 设计原则: * 1. 继承基础设备提供器接口,保持接口的一致性 * 2. 提供客户端发送方设备信息获取能力 * 3. 支持客户端SIP消息发送时的设备标识 * * @author luna * @date 2025/01/23 */ public interface ClientDevic...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/TimeSyncService.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/TimeSyncService.java
package io.github.lunasaw.sip.common.service; import java.time.LocalDateTime; /** * 时间同步服务接口 * 支持SIP和NTP两种校时方式 * * @author luna */ public interface TimeSyncService { /** * SIP校时 - 从Date头域解析时间并同步 * * @param dateHeaderValue Date头域的值 (格式: yyyy-MM-dd'T'HH:mm:ss.SSS) * @return 是否同步成功 */ ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/SipUserGenerate.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/SipUserGenerate.java
package io.github.lunasaw.sip.common.service; import javax.sip.RequestEvent; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.entity.Device; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.utils.SipUtils; /** * @author luna * @date 2023/10...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/DeviceSupplier.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/DeviceSupplier.java
package io.github.lunasaw.sip.common.service; import io.github.lunasaw.sip.common.entity.Device; import io.github.lunasaw.sip.common.entity.ToDevice; import org.springframework.util.Assert; import java.util.List; /** * 设备提供器接口 * 用于动态获取设备列表的hook机制,支持外部实现自定义的设备获取逻辑 * <p> * 设计原则: * 1. 业务方通过userId获取设备数据,项目本身不关心设备类型...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/ServerDeviceSupplier.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/ServerDeviceSupplier.java
package io.github.lunasaw.sip.common.service; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.utils.SipUtils; import javax.sip.RequestEvent; /** * 服务端设备提供器接口 * 扩展DeviceSupplier接口,提供服务端特定的设备获取能力 * <p> * 设计原则: * 1. 继承基础设备提供器接...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/impl/TimeSyncServiceImpl.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/impl/TimeSyncServiceImpl.java
package io.github.lunasaw.sip.common.service.impl; import io.github.lunasaw.sip.common.config.SipCommonProperties; import io.github.lunasaw.sip.common.service.TimeSyncService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service;...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/service/impl/NtpTimeSyncScheduler.java
sip-common/src/main/java/io/github/lunasaw/sip/common/service/impl/NtpTimeSyncScheduler.java
package io.github.lunasaw.sip.common.service.impl; import io.github.lunasaw.sip.common.config.SipCommonProperties; import io.github.lunasaw.sip.common.service.TimeSyncService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/cache/CacheConfig.java
sip-common/src/main/java/io/github/lunasaw/sip/common/cache/CacheConfig.java
package io.github.lunasaw.sip.common.cache; import com.github.benmanes.caffeine.cache.Caffeine; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.cache.CacheManager; import org.springframework.cache.annotation.EnableCaching; import org.springframework.cache.co...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/cache/CacheService.java
sip-common/src/main/java/io/github/lunasaw/sip/common/cache/CacheService.java
package io.github.lunasaw.sip.common.cache; import com.github.benmanes.caffeine.cache.Cache; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotype.Service; import lombok.extern.slf4j.Slf4j; import java.util.Optional; /** * 缓存服务类 - 统一管理Caffeine缓存操作 * * @author luna *...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolConfig.java
sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolConfig.java
package io.github.lunasaw.sip.common.pool; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; import lombok.Data; /** * SIP连接池配置 * 定义连接池的各种参数和行为 * * @author luna * @date 2024/01/01 */ @Data @Component @ConfigurationProperties(prefix = "s...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolManager.java
sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolManager.java
package io.github.lunasaw.sip.common.pool; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; import org.springframework.beans.factory.annota...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipConnectionPool.java
sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipConnectionPool.java
package io.github.lunasaw.sip.common.pool; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicInteger; import jakarta.annotation.PreDestroy; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolStatus.java
sip-common/src/main/java/io/github/lunasaw/sip/common/pool/SipPoolStatus.java
package io.github.lunasaw.sip.common.pool; import java.util.ArrayList; import java.util.List; import lombok.Data; /** * SIP连接池状态信息 * 用于监控和诊断连接池的运行状态 * * @author luna * @date 2024/01/01 */ @Data public class SipPoolStatus { /** * 总连接数 */ private int totalConnections; /** ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipErrorType.java
sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipErrorType.java
package io.github.lunasaw.sip.common.exception; /** * SIP错误类型枚举 * 定义SIP协议处理过程中可能出现的各种错误类型 * * @author luna * @date 2024/01/01 */ public enum SipErrorType { /** * 未知错误 */ UNKNOWN("未知错误"), /** * 协议解析错误 */ PROTOCOL_PARSE("协议解析错误"), /** * 消息格式错误 */ MESSAGE_FOR...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipConfigurationException.java
sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipConfigurationException.java
package io.github.lunasaw.sip.common.exception; /** * SIP配置异常 * 用于SIP配置相关的异常处理 * * @author luna * @date 2024/01/01 */ public class SipConfigurationException extends SipException { private static final long serialVersionUID = 1L; /** * 配置项名称 */ private final String configKey; pub...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipProcessorException.java
sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipProcessorException.java
package io.github.lunasaw.sip.common.exception; /** * SIP处理器异常 * 用于SIP消息处理器执行过程中的异常处理 * * @author luna * @date 2024/01/01 */ public class SipProcessorException extends SipException { private static final long serialVersionUID = 1L; /** * 处理器名称 */ private final String processorName; ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipException.java
sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipException.java
package io.github.lunasaw.sip.common.exception; /** * SIP异常基类 * 提供统一的SIP协议相关异常处理 * * @author luna * @date 2024/01/01 */ public class SipException extends RuntimeException { private static final long serialVersionUID = 1L; /** * 错误代码 */ private final String errorCode; /** ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipExceptionHandler.java
sip-common/src/main/java/io/github/lunasaw/sip/common/exception/SipExceptionHandler.java
package io.github.lunasaw.sip.common.exception; import javax.sip.RequestEvent; import javax.sip.message.Response; import org.springframework.stereotype.Component; import io.github.lunasaw.sip.common.transmit.ResponseCmd; import lombok.extern.slf4j.Slf4j; /** * SIP异常处理器 * 提供统一的异常处理和错误响应生成 * * @author luna * @da...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/metrics/SipMetrics.java
sip-common/src/main/java/io/github/lunasaw/sip/common/metrics/SipMetrics.java
package io.github.lunasaw.sip.common.metrics; import io.micrometer.core.instrument.*; import org.springframework.stereotype.Component; import lombok.extern.slf4j.Slf4j; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.ConcurrentHashMap; import java.util.Map; /** * SIP性能监控指标 - 使用Micromet...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeTask.java
sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeTask.java
package io.github.lunasaw.sip.common.subscribe; /** * @author lin */ public interface SubscribeTask extends Runnable { void stop(); }
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeInfo.java
sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeInfo.java
package io.github.lunasaw.sip.common.subscribe; import javax.sip.header.EventHeader; import gov.nist.javax.sip.message.SIPRequest; import gov.nist.javax.sip.message.SIPResponse; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * @author luna */ @Data @NoArgsConstructor @Al...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeHolder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/subscribe/SubscribeHolder.java
package io.github.lunasaw.sip.common.subscribe; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ConcurrentHashMap; import org.apache.commons.collections4.MapUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import io....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/TraceUtils.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/TraceUtils.java
package io.github.lunasaw.sip.common.utils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; import org.slf4j.MDC; import java.util.Objects; import java.util.Optional; import java.util.UUID; /** * Trace跟踪工具类 * 提供traceId的ThreadLocal管理和MDC集成功能 * * @author luna */ @Slf4j public class ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SipRequestUtils.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SipRequestUtils.java
package io.github.lunasaw.sip.common.utils; import java.text.ParseException; import java.util.List; import java.util.UUID; import javax.sdp.SdpFactory; import javax.sdp.SdpParseException; import javax.sdp.SessionDescription; import javax.sip.InvalidArgumentException; import javax.sip.PeerUnavailableException; import ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SipUtils.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SipUtils.java
package io.github.lunasaw.sip.common.utils; import java.net.InetAddress; import java.nio.charset.Charset; import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.Optional; import java.util.OptionalInt; import javax.sdp.SessionDescription; import javax.sip.RequestEvent; import javax.sip.ResponseE...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SpringBeanFactory.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/SpringBeanFactory.java
package io.github.lunasaw.sip.common.utils; import lombok.Getter; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; /** * @author luna * @description: be...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/DynamicTask.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/DynamicTask.java
package io.github.lunasaw.sip.common.utils; import java.time.Instant; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import jakarta.annotation.PostConstruct; import org.slf4j.Logger; import ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/utils/XmlUtils.java
sip-common/src/main/java/io/github/lunasaw/sip/common/utils/XmlUtils.java
package io.github.lunasaw.sip.common.utils; import java.io.File; import java.io.StringReader; import java.io.StringWriter; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.List; import jakarta.xml.bind.JAXBContext; imp...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/layer/package-info.java
sip-common/src/main/java/io/github/lunasaw/sip/common/layer/package-info.java
/** * SIP layers. * 添加SIP监听端口 * * @author luna * @date 2023/11/20 */ package io.github.lunasaw.sip.common.layer;
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/layer/SipLayer.java
sip-common/src/main/java/io/github/lunasaw/sip/common/layer/SipLayer.java
package io.github.lunasaw.sip.common.layer; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.TooManyListenersException; import java.util.concurrent.ConcurrentHashMap; import javax.sip.*; import com.google.common.collect.Lists; import jakarta.annotat...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipSender.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipSender.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.ToDevice; import io.github.lunasaw.sip.common.subscribe.SubscribeInfo; import io.github.lunasaw.sip.common.transmit.event.Event; import io.github.lunasaw.sip.common.transmit....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/TransactionAwareResponseCmd.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/TransactionAwareResponseCmd.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.transmit.SipTransactionContext.TransactionContextInfo; import lombok.extern.slf4j.Slf4j; import javax.sip.RequestEvent; import javax.sip.ServerTransaction; import javax.sip.TransactionState; import javax.sip.header.ContentTypeHeader; i...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/AbstractSipListener.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/AbstractSipListener.java
package io.github.lunasaw.sip.common.transmit; import com.alibaba.fastjson2.JSON; import io.github.lunasaw.sip.common.context.SipTransactionContext; import io.github.lunasaw.sip.common.metrics.SipMetrics; import io.github.lunasaw.sip.common.transmit.event.Event; import io.github.lunasaw.sip.common.transmit.event.Event...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/AsyncSipListener.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/AsyncSipListener.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.utils.TraceUtils; import io.micrometer.core.instrument.Timer; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.springframework.scheduling.annotation.Async; import org.springframework.scheduling.co...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipTransactionContext.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipTransactionContext.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.entity.SipTransaction; import lombok.Data; import lombok.extern.slf4j.Slf4j; import org.apache.skywalking.apm.toolkit.trace.TraceContext; import javax.sip.RequestEvent; import javax.sip.ServerTransaction; import javax.sip.TransactionSt...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipMessageTransmitter.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipMessageTransmitter.java
package io.github.lunasaw.sip.common.transmit; import gov.nist.javax.sip.SipProviderImpl; import io.github.lunasaw.sip.common.constant.Constant; import io.github.lunasaw.sip.common.layer.SipLayer; import io.github.lunasaw.sip.common.transmit.event.Event; import io.github.lunasaw.sip.common.transmit.event.SipSubscribe;...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipTransactionManager.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/SipTransactionManager.java
package io.github.lunasaw.sip.common.transmit; import gov.nist.javax.sip.SipProviderImpl; import gov.nist.javax.sip.SipStackImpl; import gov.nist.javax.sip.message.SIPRequest; import gov.nist.javax.sip.stack.SIPServerTransaction; import io.github.lunasaw.sip.common.constant.Constant; import io.github.lunasaw.sip.commo...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/DefaultSipListener.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/DefaultSipListener.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.metrics.SipMetrics; import lombok.AllArgsConstructor; import lombok.NoArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.scheduling.concurrent.Thr...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/ResponseCmd.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/ResponseCmd.java
package io.github.lunasaw.sip.common.transmit; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.sip.RequestEvent; import javax.sip.ServerTransaction; import javax.sip.address.SipURI; import javax.sip.header.*; import javax.sip.message.Request; import javax.sip.message.Response;...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/CustomerSipListener.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/CustomerSipListener.java
package io.github.lunasaw.sip.common.transmit; import lombok.extern.slf4j.Slf4j; /** * SIP信令处理类观察者 * 继承AbstractSipListener,提供默认的SIP事件处理实现 * * @author luna */ @Slf4j public class CustomerSipListener extends AbstractSipListener { /** * 单实例 */ private static volatile AbstractSipListener instance;...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/TransactionAwareAsyncSipListener.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/TransactionAwareAsyncSipListener.java
package io.github.lunasaw.sip.common.transmit; import io.github.lunasaw.sip.common.layer.SipLayer; import io.github.lunasaw.sip.common.transmit.SipTransactionContext.TransactionContextInfo; import io.github.lunasaw.sip.common.utils.TraceUtils; import io.micrometer.core.instrument.Timer; import lombok.Getter; import lo...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/Event.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/Event.java
package io.github.lunasaw.sip.common.transmit.event; public interface Event { /** * 回调 * * @param eventResult */ void response(EventResult eventResult); }
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/SipMethod.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/SipMethod.java
package io.github.lunasaw.sip.common.transmit.event; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * SIP方法注解,用于标记处理器支持的SIP方法类型 * 替代反射获取method字段的方式,提升性能和安全性 * * @author luna * @date 2024/01/01 *...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/EventResultType.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/EventResultType.java
package io.github.lunasaw.sip.common.transmit.event; import javax.sip.IOExceptionEvent; /** * 事件类型 * @author luna */ public enum EventResultType { // ack ack, // 超时 timeout, // 回复 response, // 事务已结束 transactionTerminated, // 会话已结束 dialogTerminated, // 设备未找到 deviceNot...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/SipSubscribe.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/SipSubscribe.java
package io.github.lunasaw.sip.common.transmit.event; import lombok.Getter; import lombok.Setter; import lombok.extern.slf4j.Slf4j; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import javax.sip.RequestEvent; import javax.sip.ResponseEvent; import javax.si...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/EventResult.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/EventResult.java
package io.github.lunasaw.sip.common.transmit.event; import javax.sip.*; import javax.sip.header.CallIdHeader; import javax.sip.message.Response; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.transmit.event.result.DeviceNotFoundEvent; import lombok.Data; /** * 事件结果 * * @author...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/result/DeviceNotFoundEvent.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/result/DeviceNotFoundEvent.java
package io.github.lunasaw.sip.common.transmit.event.result; import lombok.Getter; import java.util.EventObject; import javax.sip.Dialog; /** * @author luna */ @Getter public class DeviceNotFoundEvent extends EventObject { private String callId; /** * Constructs a prototypical Event. * * @...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/MessageHandler.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/MessageHandler.java
package io.github.lunasaw.sip.common.transmit.event.message; import io.github.lunasaw.sip.common.transmit.event.handler.RequestHandler; import javax.sip.RequestEvent; import javax.sip.ServerTransaction; /** * 对message类型的请求单独抽象,根据cmdType进行处理 */ public interface MessageHandler extends RequestHandler { String Q...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/SipMessageRequestProcessorAbstract.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/SipMessageRequestProcessorAbstract.java
package io.github.lunasaw.sip.common.transmit.event.message; import io.github.lunasaw.sip.common.transmit.event.request.SipRequestProcessorAbstract; import lombok.extern.slf4j.Slf4j; /** * @author luna */ @Slf4j public abstract class SipMessageRequestProcessorAbstract extends SipRequestProcessorAbstract { }
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/TransactionAwareMessageHandlerAbstract.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/TransactionAwareMessageHandlerAbstract.java
package io.github.lunasaw.sip.common.transmit.event.message; import com.luna.common.text.StringTools; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.constant.Constant; import io.github.lunasaw.sip.common.entity.DeviceSession; import io.github.lunasaw.sip.common.transmit.ResponseCmd; ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/MessageHandlerAbstract.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/message/MessageHandlerAbstract.java
package io.github.lunasaw.sip.common.transmit.event.message; import com.luna.common.text.StringTools; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.constant.Constant; import io.github.lunasaw.sip.common.entity.DeviceSession; import io.github.lunasaw.sip.common.transmit.ResponseCmd; ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/handler/RequestHandler.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/handler/RequestHandler.java
package io.github.lunasaw.sip.common.transmit.event.handler; /** * @author luna * @version 1.0 * @date 2023/12/12 * @description: */ public interface RequestHandler { }
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/response/AbstractSipResponseProcessor.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/response/AbstractSipResponseProcessor.java
package io.github.lunasaw.sip.common.transmit.event.response; import gov.nist.javax.sip.message.SIPResponse; import org.springframework.stereotype.Component; import javax.sip.ResponseEvent; /** * @author luna */ @Component public abstract class AbstractSipResponseProcessor implements SipResponseProcessor { ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/response/SipResponseProcessor.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/response/SipResponseProcessor.java
package io.github.lunasaw.sip.common.transmit.event.response; import javax.sip.ResponseEvent; /** * 处理接收IPCamera发来的SIP协议响应消息 * * @author swwheihei */ public interface SipResponseProcessor { /** * 是否需要处理 */ default boolean isNeedProcess(ResponseEvent evt) { return true; } /** * 获取SIP方法类型 * * @re...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/request/SipRequestProcessorAbstract.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/request/SipRequestProcessorAbstract.java
package io.github.lunasaw.sip.common.transmit.event.request; import com.alibaba.fastjson2.JSON; import com.google.common.collect.Maps; import com.luna.common.text.StringTools; import gov.nist.javax.sip.message.SIPRequest; import io.github.lunasaw.sip.common.constant.Constant; import io.github.lunasaw.sip.common.entity...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/request/SipRequestProcessor.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/request/SipRequestProcessor.java
package io.github.lunasaw.sip.common.transmit.event.request; import javax.sip.RequestEvent; import javax.sip.ServerTransaction; /** * 对SIP事件进行处理,包括request, response, timeout, ioException, transactionTerminated,dialogTerminated * * @author luna */ public interface SipRequestProcessor { /** * 对SIP事件进行处理 ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/timeout/ITimeoutProcessor.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/event/timeout/ITimeoutProcessor.java
package io.github.lunasaw.sip.common.transmit.event.timeout; import javax.sip.TimeoutEvent; public interface ITimeoutProcessor { void process(TimeoutEvent event); }
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/response/SipResponseProvider.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/response/SipResponseProvider.java
package io.github.lunasaw.sip.common.transmit.response; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; import io.github.lunasaw.sip.common.entity.ToDevice; import io.github.lunasaw.sip.common.utils.SipRequestUtils; import org.assertj.core.util.Lists; impo...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/InviteRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/InviteRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.header.ContactHeader; import javax.sip.header.SubjectHeader; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SubscribeRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SubscribeRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.header.ContactHeader; import javax.sip.header.EventHeader; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import com.luna.common.check.Assert; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lu...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/AbstractSipRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/AbstractSipRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import java.util.List; import java.util.Optional; import javax.sip.address.SipURI; import javax.sip.header.*; import javax.sip.message.Request; import org.assertj.core.util.Lists; import com.luna.common.check.Assert; import gov.nist.javax.sip.message.SIPReques...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SipRequestProvider.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SipRequestProvider.java
package io.github.lunasaw.sip.common.transmit.request; import java.text.ParseException; import java.util.List; import java.util.Optional; import java.util.UUID; import javax.sip.address.SipURI; import javax.sip.address.URI; import javax.sip.header.*; import javax.sip.message.Request; import org.apache.commons.lang3....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/AckRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/AckRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.address.SipURI; import javax.sip.header.ContactHeader; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import org.apache.commons.lang3.StringUtils; import gov.nist.javax.sip.message.SIPResponse; import io.github.lunasa...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/NotifyRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/NotifyRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.header.ContactHeader; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; import io.github.lunasaw.sip.common.ent...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SipRequestBuilderFactory.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/SipRequestBuilderFactory.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.message.Request; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; import io.github.lunasaw.sip.common.entity.ToDevice; import io.github.lunasaw.sip.common.subscribe.SubscribeInfo; /** ...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/MessageRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/MessageRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; import io.github.lunasaw.sip.common.entity.ToDevice; import io.github.lunasaw....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/InfoRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/InfoRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import javax.sip.header.ContactHeader; import javax.sip.header.UserAgentHeader; import javax.sip.message.Request; import io.github.lunasaw.sip.common.entity.FromDevice; import io.github.lunasaw.sip.common.entity.SipMessage; import io.github.lunasaw.sip.common.ent...
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false
lunasaw/gb28181-proxy
https://github.com/lunasaw/gb28181-proxy/blob/540577abe2124425b68b6288de9e9fc341b1f1fc/sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/RegisterRequestBuilder.java
sip-common/src/main/java/io/github/lunasaw/sip/common/transmit/request/RegisterRequestBuilder.java
package io.github.lunasaw.sip.common.transmit.request; import java.text.ParseException; import java.util.UUID; import javax.sip.address.URI; import javax.sip.header.AuthorizationHeader; import javax.sip.header.ContactHeader; import javax.sip.header.ExpiresHeader; import javax.sip.header.UserAgentHeader; import javax....
java
Apache-2.0
540577abe2124425b68b6288de9e9fc341b1f1fc
2026-01-05T02:36:27.870323Z
false