| | |
| | | package com.genersoft.iot.vmp.common; |
| | | |
| | | import com.genersoft.iot.vmp.service.bean.SSRCInfo; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | |
| | | /** |
| | | * 记录每次发送invite消息的状态 |
| | |
| | | private StreamInfo streamInfo; |
| | | |
| | | |
| | | public static InviteInfo getinviteInfo(String deviceId, String channelId, String stream, SSRCInfo ssrcInfo, |
| | | public static InviteInfo getInviteInfo(String deviceId, String channelId, String stream, SSRCInfo ssrcInfo, |
| | | String receiveIp, Integer receivePort, String streamMode, |
| | | InviteSessionType type, InviteSessionStatus status) { |
| | | InviteInfo inviteInfo = new InviteInfo(); |
| | |
| | | public void setStreamMode(String streamMode) { |
| | | this.streamMode = streamMode; |
| | | } |
| | | |
| | | |
| | | /*=========================设备主子码流逻辑START====================*/ |
| | | @Schema(description = "是否为子码流(true-是,false-主码流)") |
| | | private boolean subStream; |
| | | |
| | | public boolean isSubStream() { |
| | | return subStream; |
| | | } |
| | | |
| | | public void setSubStream(boolean subStream) { |
| | | this.subStream = subStream; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |