648540858
2024-05-29 764d04b497356ba6bcbb75fd42b51eca750f7223
src/main/java/com/genersoft/iot/vmp/media/service/IMediaServerService.java
@@ -2,7 +2,6 @@
import com.genersoft.iot.vmp.common.CommonCallback;
import com.genersoft.iot.vmp.common.StreamInfo;
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
import com.genersoft.iot.vmp.media.bean.MediaInfo;
import com.genersoft.iot.vmp.media.bean.MediaServer;
@@ -76,6 +75,8 @@
    boolean stopSendRtp(MediaServer mediaInfo, String app, String stream, String ssrc);
    boolean initStopSendRtp(MediaServer mediaInfo, String app, String stream, String ssrc);
    boolean deleteRecordDirectory(MediaServer mediaServerItem, String app, String stream, String date, String fileName);
    List<StreamInfo> getMediaList(MediaServer mediaInfo, String app, String stream, String callId);
@@ -139,7 +140,16 @@
    Boolean isStreamReady(MediaServer mediaServer, String rtp, String streamId);
    void startSendRtpPassive(MediaServer mediaServer, ParentPlatform platform, SendRtpItem sendRtpItem, Integer timeout);
    void startSendRtpPassive(MediaServer mediaServer, SendRtpItem sendRtpItem, Integer timeout);
    void startSendRtpStream(MediaServer mediaServer, ParentPlatform platform, SendRtpItem sendRtpItem);
    void startSendRtp(MediaServer mediaServer, SendRtpItem sendRtpItem);
    SendRtpItem createSendRtpItem(MediaServer mediaServerItem, String addressStr, int port, String ssrc, String requesterId, String deviceId, String channelId, boolean mediaTransmissionTCP, boolean rtcp);
    SendRtpItem createSendRtpItem(MediaServer serverItem, String ip, int port, String ssrc, String platformId,
                                  String app, String stream, String channelId, boolean tcp, boolean rtcp);
    MediaServer getMediaServerByAppAndStream(String app, String stream);
    Long updateDownloadProcess(MediaServer mediaServerItem, String app, String stream);
}