接口 ZlmMediaHttpClient
@FeignClient(name="zlmMediaServerProxy",
url="${media.url}",
configuration=IgnoreSSLFeignClientConfig.class)
public interface ZlmMediaHttpClient
-
方法概要
修饰符和类型方法说明addFFmpegSource(String secret, AddFFmpegSource params) addStreamProxy(String secret, AddStreamProxy params) addStreamPusherProxy(String secret, AddStreamPusherProxy params) closeRtpServer(String secret, CloseRtpServer params) deleteRecordDirectory(String secret, DeleteRecordDirectory params) delFFmpegSource(String secret, String key) delStreamProxy(String secret, String key) delStreamPusherProxy(String secret, String key) getApiList(String secret) getMediaList(String secret, GetMediaList params) getMp4RecordFile(String secret, GetMp4RecordFile params) getRtpInfo(String secret, String streamId) getServerConfig(String secret) org.springframework.http.ResponseEntity<String>getServerConfigResponseEntity(String secret) org.springframework.http.ResponseEntity<byte[]>isRecording(String secret, IsRecording params) listRtpServer(String secret) openRtpServer(String secret, OpenRtpServer params) restartServer(String secret) setServerConfig(String secret, ServerConfig config) startRecord(String secret, StartRecord params) startSendRtp(String secret, StartSendRtp params) startSendRtpPassive(String secret, StartSendRtpPassive params) stopRecord(String secret, StopRecord params) stopSendRtp(String secret, StopSendRtp params)
-
方法详细资料
-
getApiList
@GetMapping("/index/api/getApiList") ZlmResponse<List<String>> getApiList(@RequestParam String secret) -
getServerConfig
@GetMapping("/index/api/getServerConfig") ZlmResponse<List<ServerConfig>> getServerConfig(@RequestParam String secret) -
getServerConfigResponseEntity
-
setServerConfig
@PostMapping("/index/api/setServerConfig") String setServerConfig(@RequestParam String secret, @RequestBody ServerConfig config) -
openRtpServer
@PostMapping("/index/api/openRtpServer") OpenRtpServerResp openRtpServer(@RequestParam String secret, @RequestBody OpenRtpServer params) -
closeRtpServer
@PostMapping("/index/api/closeRtpServer") CloseRtpServerResp closeRtpServer(@RequestParam String secret, @RequestBody CloseRtpServer params) -
listRtpServer
@GetMapping("/index/api/listRtpServer") ZlmResponse<List<RtpServer>> listRtpServer(@RequestParam String secret) -
version
-
addStreamPusherProxy
@PostMapping("/index/api/addStreamPusherProxy") ZlmResponse<AddStreamPusherProxyResp> addStreamPusherProxy(@RequestParam String secret, @RequestBody AddStreamPusherProxy params) -
delStreamPusherProxy
@PostMapping("/index/api/delStreamPusherProxy") ZlmResponse<DelStreamPusherProxyResp> delStreamPusherProxy(@RequestParam String secret, @RequestParam String key) -
startSendRtp
@PostMapping("/index/api/startSendRtp") StartSendRtpResp startSendRtp(@RequestParam String secret, @RequestBody StartSendRtp params) -
startSendRtpPassive
@PostMapping("/index/api/startSendRtpPassive") StartSendRtpResp startSendRtpPassive(@RequestParam String secret, @RequestBody StartSendRtpPassive params) -
stopSendRtp
@PostMapping("/index/api/stopSendRtp") ZlmResponse<Void> stopSendRtp(@RequestParam String secret, @RequestBody StopSendRtp params) -
getSnap
-
restartServer
@GetMapping("/index/api/restartServer") ZlmResponse<Void> restartServer(@RequestParam String secret) -
addStreamProxy
@PostMapping("/index/api/addStreamProxy") ZlmResponse<AddStreamProxyResp> addStreamProxy(@RequestParam String secret, @RequestBody AddStreamProxy params) -
delStreamProxy
@GetMapping("/index/api/delStreamProxy") ZlmResponse<DelStreamProxyResp> delStreamProxy(@RequestParam String secret, @RequestParam String key) -
getMediaList
@PostMapping("/index/api/getMediaList") ZlmResponse<List<MediaResp>> getMediaList(@RequestParam String secret, @RequestBody GetMediaList params) -
getRtpInfo
@GetMapping("/index/api/getRtpInfo") GetRtpInfoResp getRtpInfo(@RequestParam String secret, @RequestParam("stream_id") String streamId) -
addFFmpegSource
@PostMapping("/index/api/addFFmpegSource") ZlmResponse<AddFFmpegSourceResp> addFFmpegSource(@RequestParam String secret, @RequestBody AddFFmpegSource params) -
delFFmpegSource
@GetMapping("/index/api/delFFmpegSource") ZlmResponse<DelFFmpegSourceResp> delFFmpegSource(@RequestParam String secret, @RequestParam String key) -
startRecord
@PostMapping("/index/api/startRecord") StartRecordResp startRecord(@RequestParam String secret, @RequestBody StartRecord params) -
stopRecord
@PostMapping("/index/api/stopRecord") StopRecordResp stopRecord(@RequestParam String secret, @RequestBody StopRecord params) -
isRecording
@PostMapping("/index/api/isRecording") IsRecordingResp isRecording(@RequestParam String secret, @RequestBody IsRecording params) -
getMp4RecordFile
@PostMapping("/index/api/getMp4RecordFile") GetMp4RecordFileResp getMp4RecordFile(@RequestParam String secret, @RequestBody GetMp4RecordFile params) -
deleteRecordDirectory
@PostMapping("/index/api/deleteRecordDirectory") DeleteRecordDirectoryResp deleteRecordDirectory(@RequestParam String secret, @RequestBody DeleteRecordDirectory params)
-