新增RPC录像回放暂停和恢复

This commit is contained in:
648540858
2024-12-13 17:28:38 +08:00
parent 381d92e047
commit e16ca179a6
9 changed files with 135 additions and 13 deletions

View File

@@ -41,6 +41,8 @@ import java.net.URL;
import java.text.ParseException;
import java.util.UUID;
import static sun.audio.AudioDevice.device;
/**
* @author lin
*/
@@ -166,8 +168,7 @@ public class PlaybackController {
@Parameter(name = "streamId", description = "回放流ID", required = true)
@GetMapping("/pause/{streamId}")
public void playPause(@PathVariable String streamId) {
log.info("playPause: "+streamId);
log.info("[回放暂停] streamId: {}", streamId);
try {
playService.pauseRtp(streamId);
} catch (ServiceException e) {