Skip to content

Commit

Permalink
🔧 feat: move enums
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzhangyue committed Dec 31, 2023
1 parent 310f4ed commit 9aaddae
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.lunasaw.sip.common.enums;
package io.github.lunasaw.gb28181.common.entity.enums;

/**
* @author luna
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.lunasaw.sip.common.enums;
package io.github.lunasaw.gb28181.common.entity.enums;

/**
* @author luna
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
package io.github.lunasaw.sip.common.enums;

import io.github.lunasaw.sip.common.constant.Constant;
package io.github.lunasaw.gb28181.common.entity.enums;

/**
* @author luna
Expand All @@ -11,8 +9,8 @@ public enum TransModeEnum {
/**
* 传输模式
*/
UDP(Constant.UDP, "UDP"),
TCP(Constant.TCP, "TCP"),
UDP("UDP", "UDP"),
TCP("TCP", "TCP"),

;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package io.github.lunasaw.gbproxy.server.entity;

import io.github.lunasaw.gb28181.common.entity.enums.InviteSessionNameEnum;
import io.github.lunasaw.sip.common.enums.ManufacturerEnum;
import io.github.lunasaw.sip.common.enums.StreamModeEnum;
import io.github.lunasaw.gb28181.common.entity.enums.ManufacturerEnum;
import io.github.lunasaw.gb28181.common.entity.enums.StreamModeEnum;
import org.apache.commons.lang3.StringUtils;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.lunasaw.gbproxy.server.entity;

import io.github.lunasaw.sip.common.enums.ManufacturerEnum;
import io.github.lunasaw.sip.common.enums.StreamModeEnum;
import io.github.lunasaw.gb28181.common.entity.enums.ManufacturerEnum;
import io.github.lunasaw.gb28181.common.entity.enums.StreamModeEnum;
import io.github.lunasaw.sip.common.utils.SipUtils;
import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import io.github.lunasaw.gbproxy.server.enums.PlayActionEnums;
import io.github.lunasaw.sip.common.entity.FromDevice;
import io.github.lunasaw.sip.common.entity.ToDevice;
import io.github.lunasaw.sip.common.enums.StreamModeEnum;
import io.github.lunasaw.gb28181.common.entity.enums.StreamModeEnum;
import io.github.lunasaw.sip.common.subscribe.SubscribeInfo;
import io.github.lunasaw.sip.common.transmit.SipSender;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/
public class Constant {

public static final String TCP = "tcp";
public static final String TCP = "TCP";

public static final String UDP = "udp";
public static final String UDP = "UDP";

public static final String AGENT = "LunaSaw-GB28181-Proxy";

Expand Down

0 comments on commit 9aaddae

Please sign in to comment.