diff --git a/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/proxy/ZlmMediaService.java b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/proxy/ZlmMediaService.java index ee0a680..c737369 100644 --- a/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/proxy/ZlmMediaService.java +++ b/zlmediakit-service/src/main/java/cn/skcks/docking/gb28181/media/proxy/ZlmMediaService.java @@ -159,5 +159,19 @@ public class ZlmMediaService { public GetRtpInfoResp getRtpInfo(String streamId){ return exchange.getRtpInfo(secret, streamId); } + + /** + * 功能:通过 fork FFmpeg 进程的方式拉流代理,支持任意协议 + */ + public ZlmResponse addFfmpegSource(AddFFmpegSource params){ + return exchange.addFFmpegSource(secret, params); + } + + /** + * 功能:关闭 ffmpeg 拉流代理 + */ + public ZlmResponse delFfmpegSource(String key){ + return exchange.delFFmpegSource(secret, key); + } }