Merge pull request #1492 from iwanlebron/master

修复参数名称
This commit is contained in:
648540858
2024-06-17 10:06:51 +08:00
committed by GitHub

View File

@@ -112,7 +112,7 @@ public class StreamPushController {
@ResponseBody
@Operation(summary = "中止一个推流", security = @SecurityRequirement(name = JwtUtils.HEADER))
@Parameter(name = "app", description = "应用名", required = true)
@Parameter(name = "stream", description = "流id", required = true)
@Parameter(name = "streamId", description = "流id", required = true)
public void stop(String app, String streamId){
if (!streamPushService.stop(app, streamId)){
throw new ControllerException(ErrorCode.ERROR100);