@Service(value="recordWebService") @Produces(value="application/json") @Path(value="/record") public class RecordingWebService extends BaseWebService
Constructor and Description |
---|
RecordingWebService() |
Modifier and Type | Method and Description |
---|---|
ServiceResult |
delete(String sid,
Long id)
Deletes a flv recording
|
List<RecordingDTO> |
getExternal(String sid,
String externalType,
String externalId)
Gets a list of flv recordings
|
List<RecordingDTO> |
getExternalByRoom(String sid,
Long roomId)
Get list of recordings
|
List<RecordingDTO> |
getExternalByType(String sid,
String externalType)
Gets a list of flv recordings
|
@DELETE @Path(value="/{id}") public ServiceResult delete(@QueryParam(value="sid") String sid, @PathParam(value="id") Long id)
sid
- The SID of the User. This SID must be marked as Loggedinid
- the id of the recordingServiceResult
with result type@GET @Path(value="/{externaltype}/{externalid}") public List<RecordingDTO> getExternal(@QueryParam(value="sid") String sid, @PathParam(value="externaltype") String externalType, @PathParam(value="externalid") String externalId)
sid
- The SID of the User. This SID must be marked as LoggedinexternalId
- the externalUserIdexternalType
- the externalUserType@GET @Path(value="/{externaltype}") public List<RecordingDTO> getExternalByType(@QueryParam(value="sid") String sid, @PathParam(value="externaltype") String externalType)
sid
- The SID of the User. This SID must be marked as LoggedinexternalType
- externalType specified when creating the room@GET @Path(value="/room/{roomid}") public List<RecordingDTO> getExternalByRoom(@QueryParam(value="sid") String sid, @PathParam(value="roomid") Long roomId)
sid
- The SID of the User. This SID must be marked as LoggedinroomId
- the room idCopyright © 2012–2018 Apache Software Foundation. All rights reserved.