648540858
2022-09-09 221f99c764b51c3cd284c6e5a41492c26c5c7ffc
src/main/java/com/genersoft/iot/vmp/gb28181/bean/SendRtpItem.java
@@ -72,9 +72,29 @@
    private String mediaServerId;
    /**
     * 使用的服务的ID
     */
    private String serverId;
    /**
     *  invite的callId
     */
    private String CallId;
    /**
     * 发送时,rtp的pt(uint8_t),不传时默认为96
     */
    private int pt = 96;
    /**
     * 发送时,rtp的负载类型。为true时,负载为ps;为false时,为es;
     */
    private boolean usePs = true;
    /**
     * 当usePs 为false时,有效。为1时,发送音频;为0时,发送视频;不传时默认为0
     */
    private boolean onlyAudio = false;
    /**
     * 播放类型
@@ -221,5 +241,35 @@
        this.dialog = dialog;
    }
    public int getPt() {
        return pt;
    }
    public void setPt(int pt) {
        this.pt = pt;
    }
    public boolean isUsePs() {
        return usePs;
    }
    public void setUsePs(boolean usePs) {
        this.usePs = usePs;
    }
    public boolean isOnlyAudio() {
        return onlyAudio;
    }
    public void setOnlyAudio(boolean onlyAudio) {
        this.onlyAudio = onlyAudio;
    }
    public String getServerId() {
        return serverId;
    }
    public void setServerId(String serverId) {
        this.serverId = serverId;
    }
}