Uses of Class
io.antmedia.rest.model.Result
Packages that use Result
Package
Description
-
Uses of Result in io.antmedia
Methods in io.antmedia that return ResultModifier and TypeMethodDescriptionAntMediaApplicationAdapter.createInitializationProcess(String appName) private ResultAntMediaApplicationAdapter.createSymbolicLink(File streamsFolder, File vodFolder) AntMediaApplicationAdapter.importVoDFolder(String vodFolderPath) Import vod files recursively in the directory.AntMediaApplicationAdapter.resetBroadcasts()This method is called after ungraceful shutdownAntMediaApplicationAdapter.startStreaming(Broadcast broadcast) AntMediaApplicationAdapter.stopStreaming(Broadcast broadcast, boolean stopSubtracks, String subscriberId) AntMediaApplicationAdapter.stopWhipBroadcast(String streamId, String sessionId) AntMediaApplicationAdapter.unlinksVoD(String directory) Methods in io.antmedia that return types with arguments of type ResultModifier and TypeMethodDescriptionAntMediaApplicationAdapter.startHttpSignaling(PublishParameters publishParameters, String sdp, String sessionId) Methods in io.antmedia with parameters of type ResultModifier and TypeMethodDescriptionvoidAntMediaApplicationAdapter.createInitializationFile(String appName, Result result, File initializedFile) -
Uses of Result in io.antmedia.console.rest
Methods in io.antmedia.console.rest that return ResultModifier and TypeMethodDescriptionCommonRestService.addInitialUser(User user) RestServiceV2.addInitialUser(User user) Add user account on db.CommonRestService.authenticateUser(User user) Authenticates user with userName and passwordRestServiceV2.authenticateUser(User user) CommonRestService.changeUserPassword(User user) RestServiceV2.changeUserPassword(User user) CommonRestService.changeUserPasswordInternal(String userMail, User user) CommonRestService.configureSsl(String domainName, String type, InputStream fullChainFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition fullChainFileDetail, InputStream privateKeyFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition privateKeyFileDetail, InputStream chainFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition chainFileDetail) RestServiceV2.configureSsl(String domain, String type, InputStream fullChainFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition fullChainFileDetail, InputStream privateKeyFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition privateKeyFileDetail, InputStream chainFile, org.glassfish.jersey.media.multipart.FormDataContentDisposition chainFileDetail) CommonRestService.createApplication(String appName, InputStream inputStream) RestServiceV2.createApplication(String appName) RestServiceV2.createApplication(String appName, InputStream inputStream) CommonRestService.deleteApplication(String appName, boolean deleteDB) RestServiceV2.deleteApplication(String appName, boolean deleteDB) ClusterRestService.deleteNode(String nodeId) ClusterRestServiceV2.deleteNode(String nodeId) CommonRestService.deleteSession()RestServiceV2.deleteSession()CommonRestService.deleteUser(String userName) RestServiceV2.deleteUser(String userName) CommonRestService.getBlockedStatus(String usermail) RestServiceV2.getBlockedStatus(String usermail) CommonRestService.isAdmin()RestServiceV2.isAdmin()CommonRestService.isAuthenticatedRest()RestServiceV2.isAuthenticatedRest()CommonRestService.isEnterpriseEdition()RestServiceV2.isEnterpriseEdition()CommonRestService.isFirstLogin()RestServiceV2.isFirstLogin()CommonRestService.isInClusterMode()RestServiceV2.isInClusterMode()private ResultCommonRestService.prepareCertificateFiles(InputStream fullChainFile, File fullChainOutputFile, InputStream privateKeyFile, File privateKeyOutputFile, InputStream chainFile, File chainOutputFile) CommonRestService.resetBroadcast(String appname) This method resets the viewers counts and broadcast status in the db.RestServiceV2.resetBroadcast(String appname) SupportRestService.sendSupportRequest(SupportRequest request) RestServiceV2.triggerGc() -
Uses of Result in io.antmedia.muxer
Methods in io.antmedia.muxer that return ResultModifier and TypeMethodDescriptionMuxAdaptor.startEndpointStreaming(String endpointUrl, int resolutionHeight) MuxAdaptor.stopEndpointStreaming(String endpointUrl, int resolutionHeight) -
Uses of Result in io.antmedia.pushnotification
Methods in io.antmedia.pushnotification that return ResultModifier and TypeMethodDescriptionIPushNotificationService.sendNotification(String topic, org.json.simple.JSONObject jsonMessage) Send notification to both services if they are enabledIPushNotificationService.sendNotification(String topic, org.json.simple.JSONObject jsonMessage, String serviceName) Send push notifcaiton according to service nameIPushNotificationService.sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage) Send notification according to the subscriberIdsIPushNotificationService.sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage, String serviceName) Send notification according to the subscriberIds and servicePushNotificationServiceCommunity.sendNotification(String topic, org.json.simple.JSONObject jsonMessage) PushNotificationServiceCommunity.sendNotification(String topic, org.json.simple.JSONObject jsonMessage, String serviceName) PushNotificationServiceCommunity.sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage) PushNotificationServiceCommunity.sendNotification(List<String> subscriberIds, org.json.simple.JSONObject jsonMessage, String serviceName) -
Uses of Result in io.antmedia.rest
Methods in io.antmedia.rest that return ResultModifier and TypeMethodDescriptionBroadcastRestService.addEndpoint(String id, Endpoint endpoint, int resolutionHeight) RestServiceBase.addEndpoint(String id, Endpoint endpoint) BroadcastRestService.addID3Data(String streamId, String data) RestServiceBase.addIPCamera(Broadcast stream) BroadcastRestService.addSEIData(String streamId, String data) protected ResultRestServiceBase.addStreamSource(Broadcast stream) BroadcastRestService.addSubscriber(String streamId, Subscriber subscriber) BroadcastRestService.addSubTrack(String id, String subTrackId) static ResultRestServiceBase.addSubTrack(String mainTrackId, String subTrackId, DataStore store) BroadcastRestService.blockSubscriber(String streamId, String subscriberId, int seconds, String blockType) RestServiceBase.connectToCamera(String ipAddr, String username, String password) BroadcastRestService.deleteBroadcast(String id, Boolean deleteSubtracks) protected ResultRestServiceBase.deleteBroadcast(String id, Boolean deleteSubtracks) protected ResultRestServiceBase.deleteBroadcasts(String[] streamIds) BroadcastRestService.deleteBroadcastsBulk(String streamIds) BroadcastRestService.deleteSubscriber(String streamId, String subscriberId) protected Resultprotected ResultRestServiceBase.deleteVoDs(String[] vodIds) VoDRestService.deleteVoDsBulk(String vodIds) BroadcastRestService.enableRecording(String streamId, boolean enableRecording, String recordType, int resolutionHeight) BroadcastRestService.enableRecording(String streamId, boolean enableRecording, String recordType, int resolutionHeight, String fileName) RestServiceBase.enableRecordMuxing(String streamId, boolean enableRecording, String type, int resolutionHeight) RestServiceBase.enableRecordMuxing(String streamId, boolean enableRecording, String type, int resolutionHeight, String fileName) private ResultRestServiceBase.enableRecordMuxingInternal(String streamId, boolean enableRecording, String type, int resolutionHeight, String fileName) protected ResultRestServiceBase.getCameraErrorById(String streamId) BroadcastRestService.getCameraErrorV2(String streamId) BroadcastRestService.getDuration(String url) PushNotificationRestService.getSubscriberAuthenticationToken(String subscriberId, int timeoutDurationInSeconds) RestServiceBase.importVoDs(String directory) VoDRestService.importVoDs(String directory) BroadcastRestService.moveIPCamera(String id, Float valueX, Float valueY, Float valueZ, String movement) BroadcastRestService.playNextItem(String id, Integer index) RestServiceBase.playNextItem(String id, Integer index) RestServiceBase.processEndpoint(String streamId, String originAddress, String endpointUrl, boolean addEndpoint, int resolution) ClusterNotificationService.publishStarted(String id, String role, String mainTrackId) ClusterNotificationService.publishStopped(String id, String role, String mainTrackId) BroadcastRestService.removeEndpoint(String id, String endpointServiceId, int resolutionHeight) RestServiceBase.removeRTMPEndpoint(String id, Endpoint endpoint) private ResultBroadcastRestService.removeRTMPEndpointProcess(Broadcast broadcast, Endpoint endpoint, int resolutionHeight, String id) BroadcastRestService.removeSubTrack(String id, String subTrackId) static ResultRestServiceBase.removeSubTrack(String id, String subTrackId, DataStore store) BroadcastRestService.revokeSubscribers(String streamId) protected ResultRestServiceBase.revokeTokens(String streamId) BroadcastRestService.revokeTokensV2(String streamId) static ResultRestServiceBase.sendDataChannelMessage(String id, String message, AntMediaApplicationAdapter application, DataStore store) BroadcastRestService.sendMessage(String message, String id) PushNotificationRestService.sendPushNotification(PushNotificationToSubscribers pushNotificationToSubcribers, String serviceName) PushNotificationRestService.sendPushNotification(String topic, String jsonMessage, String serviceName) RestServiceBase.startStreamSource(String id) BroadcastRestService.startStreamSourceV2(String id) private ResultRestServiceBase.stopBroadcastInternal(Broadcast broadcast, boolean stopSubrtracks, String subscriberId) RestServiceBase.stopStreaming(String id, Boolean stopSubtracks, String subscriberId) BroadcastRestService.stopStreamingV2(String id, Boolean stopSubtracks) RestServiceBase.unlinksVoD(String directory) VoDRestService.unlinksVoD(String directory) BroadcastRestService.updateBroadcast(String id, BroadcastUpdate broadcast) protected ResultRestServiceBase.updateBroadcast(String streamId, BroadcastUpdate updatedBroadcast) BroadcastRestService.updateSeekTime(String id, long seekTimeMs) protected ResultRestServiceBase.updateStreamSource(String streamId, BroadcastUpdate updatedBroadcast, Broadcast broadcastInDB) Update Stream Source or IP Camera infoRestServiceBase.uploadVoDFile(String fileName, InputStream inputStream) RestServiceBase.uploadVoDFile(String fileName, InputStream inputStream, String metadata) VoDRestService.uploadVoDFile(String fileName, InputStream inputStream, String metadata) BroadcastRestService.validateTokenV2(Token token) ClusterNotificationService.virtualStreamDataMessageReceivedFromPlayer(String id, boolean binary, InputStream dataStream) Methods in io.antmedia.rest with parameters of type ResultModifier and TypeMethodDescriptionstatic voidRestServiceBase.setResultSuccess(Result result, boolean success, String failMessage) -
Uses of Result in io.antmedia.streamsource
Fields in io.antmedia.streamsource declared as ResultMethods in io.antmedia.streamsource that return ResultModifier and TypeMethodDescriptionstatic ResultStreamFetcherManager.checkStreamUrlWithHTTP(String url) StreamFetcherManager.createAndStartNextPlaylistItem(Broadcast playlistBroadcast, StreamFetcher.IStreamFetcherListener listener, int currentStreamIndex) StreamFetcher.getCameraError()StreamFetcherManager.playItemInList(String streamId, StreamFetcher.IStreamFetcherListener listener, int index) Plays the next item in the playlist if index is -1, otherwise it plays the item in the index.StreamFetcher.WorkerThread.prepare(org.bytedeco.ffmpeg.avformat.AVFormatContext inputFormatContext) RTMPClusterStreamFetcher.RtmpFetcherThread.prepareInput(org.bytedeco.ffmpeg.avformat.AVFormatContext inputFormatContext) StreamFetcher.WorkerThread.prepareInput(org.bytedeco.ffmpeg.avformat.AVFormatContext inputFormatContext) StreamFetcherManager.startPlaylist(Broadcast playlist) StreamFetcherManager.startStreaming(Broadcast broadcast) StreamFetcherManager.startStreaming(Broadcast broadcast, boolean forceStart) StreamFetcherManager.startStreamScheduler(StreamFetcher streamScheduler) StreamFetcherManager.stopPlayList(String streamId) StreamFetcherManager.stopStreaming(String streamId, boolean stopBlocking) Stop streaming for the streamId.Methods in io.antmedia.streamsource with parameters of type Result -
Uses of Result in io.antmedia.whip
Methods in io.antmedia.whip with parameters of type ResultModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseWhipEndpoint.prepareResponse(Result result, String sessionId, jakarta.ws.rs.core.UriInfo uriInfo)