xxx
xiangpei
2024-10-10 48ca11aaf324d017c08fadabf27c753fdd76c9b7
src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerFactory.java
@@ -17,7 +17,7 @@
@Component
public class ZLMServerFactory {
    private Logger logger = LoggerFactory.getLogger("ZLMServerFactory");
    private final static Logger logger = LoggerFactory.getLogger(ZLMServerFactory.class);
    @Autowired
    private ZLMRESTfulUtils zlmresTfulUtils;
@@ -264,4 +264,13 @@
        }
        return result;
    }
    public JSONObject stopSendRtpStream(MediaServer mediaServerItem, SendRtpItem sendRtpItem) {
        Map<String, Object> param = new HashMap<>();
        param.put("vhost", "__defaultVhost__");
        param.put("app", sendRtpItem.getApp());
        param.put("stream", sendRtpItem.getStream());
        param.put("ssrc", sendRtpItem.getSsrc());
        return zlmresTfulUtils.stopSendRtp(mediaServerItem, param);
    }
}