Class RecordingWebService


  • @Service("recordWebService")
    @Produces("application/json")
    @Path("/record")
    public class RecordingWebService
    extends BaseWebService
    The Service contains methods to work with recordings
    Author:
    solomax
    • Constructor Detail

      • RecordingWebService

        public RecordingWebService()
    • Method Detail

      • getExternal

        @GET
        @Path("/{externaltype}/{externalid}")
        public List<RecordingDTO> getExternal​(@QueryParam("sid")
                                              String sid,
                                              @PathParam("externaltype")
                                              String externalType,
                                              @PathParam("externalid")
                                              String externalId)
                                       throws ServiceException
        Gets a list of recordings created by particular external USER
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        externalId - the externalUserId
        externalType - the externalUserType
        Returns:
        - list of recordings
        Throws:
        ServiceException
      • getExternalByType

        @GET
        @Path("/{externaltype}")
        public List<RecordingDTO> getExternalByType​(@QueryParam("sid")
                                                    String sid,
                                                    @PathParam("externaltype")
                                                    String externalType)
                                             throws ServiceException
        Gets a list of recordings
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        externalType - externalType specified when creating the room
        Returns:
        - list of flv recordings
        Throws:
        ServiceException
      • getExternalByRoom

        @GET
        @Path("/room/{roomid}")
        public List<RecordingDTO> getExternalByRoom​(@QueryParam("sid")
                                                    String sid,
                                                    @PathParam("roomid")
                                                    Long roomId)
                                             throws ServiceException
        Get list of recordings
        Parameters:
        sid - The SID of the User. This SID must be marked as Loggedin
        roomId - the room id
        Returns:
        - list of recordings
        Throws:
        ServiceException