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) AntMediaApplicationAdapter.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) 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 TypeMethodDescriptionvoid
AntMediaApplicationAdapter.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 Result
CommonRestService.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.startRtmpStreaming
(String rtmpUrl, int resolutionHeight) MuxAdaptor.stopRtmpStreaming
(String rtmpUrl, 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 TypeMethodDescriptionRestServiceBase.addEndpoint
(String id, Endpoint endpoint) RestServiceBase.addEndpoint
(String id, String rtmpUrl) Deprecated.BroadcastRestService.addEndpointV2
(String id, String rtmpUrl) Deprecated.BroadcastRestService.addEndpointV3
(String id, Endpoint endpoint, int resolutionHeight) BroadcastRestService.addID3Data
(String streamId, String data) RestServiceBase.addIPCamera
(Broadcast stream) BroadcastRestService.addSEIData
(String streamId, String data) protected Result
RestServiceBase.addStreamSource
(Broadcast stream) BroadcastRestService.addStreamToTheRoom
(String roomId, String streamId) Deprecated, for removal: This API element is subject to removal in a future version.BroadcastRestService.addStreamToTheRoomDeprecated
(String roomId, String streamId) Deprecated, for removal: This API element is subject to removal in a future version.BroadcastRestService.addSubscriber
(String streamId, Subscriber subscriber) BroadcastRestService.addSubTrack
(String id, String subTrackId) static Result
RestServiceBase.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 Result
RestServiceBase.deleteBroadcast
(String id, Boolean deleteSubtracks) BroadcastRestService.deleteBroadcasts
(String[] streamIds) Deprecated.protected Result
RestServiceBase.deleteBroadcasts
(String[] streamIds) BroadcastRestService.deleteBroadcastsBulk
(String streamIds) BroadcastRestService.deleteConferenceRoomV2
(String roomId) Deprecated, for removal: This API element is subject to removal in a future version.BroadcastRestService.deleteStreamFromTheRoom
(String roomId, String streamId) Deprecated, for removal: This API element is subject to removal in a future version.BroadcastRestService.deleteStreamFromTheRoomDeprecated
(String roomId, String streamId) Deprecated, for removal: This API element is subject to removal in a future version.BroadcastRestService.deleteSubscriber
(String streamId, String subscriberId) protected Result
protected Result
RestServiceBase.deleteVoDs
(String[] vodIds) VoDRestService.deleteVoDs
(String[] vodIds) Deprecated.VoDRestService.deleteVoDsBulk
(String vodIds) BroadcastRestService.enableRecording
(String streamId, boolean enableRecording, String recordType, int resolutionHeight) RestServiceBase.enableRecordMuxing
(String streamId, boolean enableRecording, String type, int resolutionHeight) protected Result
RestServiceBase.getCameraErrorById
(String streamId) BroadcastRestService.getCameraErrorV2
(String streamId) BroadcastRestService.getDuration
(String url) PushNotificationRestService.getSubscriberAuthenticationToken
(String subscriberId, int timeoutDurationInSeconds) RestServiceBase.importLiveStreams2Stalker()
BroadcastRestService.importLiveStreams2StalkerV2()
RestServiceBase.importVoDs
(String directory) VoDRestService.importVoDs
(String directory) RestServiceBase.importVoDsToStalker()
VoDRestService.importVoDsToStalker()
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.processRTMPEndpoint
(String streamId, String originAddress, String rtmpUrl, boolean addEndpoint, int resolution) BroadcastRestService.removeEndpoint
(String id, String rtmpUrl) Deprecated.RestServiceBase.removeEndpoint
(String id, String rtmpUrl) Deprecated.BroadcastRestService.removeEndpointV2
(String id, String endpointServiceId, int resolutionHeight) RestServiceBase.removeRTMPEndpoint
(String id, Endpoint endpoint) private Result
BroadcastRestService.removeRTMPEndpointProcess
(Broadcast broadcast, Endpoint endpoint, int resolutionHeight, String id) BroadcastRestService.removeSubTrack
(String id, String subTrackId) static Result
RestServiceBase.removeSubTrack
(String id, String subTrackId, DataStore store) BroadcastRestService.revokeSubscribers
(String streamId) protected Result
RestServiceBase.revokeTokens
(String streamId) BroadcastRestService.revokeTokensV2
(String streamId) static Result
RestServiceBase.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 Result
RestServiceBase.stopBroadcastInternal
(Broadcast broadcast, boolean stopSubrtracks) BroadcastRestService.stopPlaying
(String viewerId) Deprecated, for removal: This API element is subject to removal in a future version.use subscriber rest methods, it will be deleted next versionsRestServiceBase.stopStreaming
(String id, Boolean stopSubtracks) BroadcastRestService.stopStreamingV2
(String id, Boolean stopSubtracks) protected Result
RestServiceBase.synchUserVodList()
VoDRestService.synchUserVodList()
RestServiceBase.unlinksVoD
(String directory) VoDRestService.unlinksVoD
(String directory) BroadcastRestService.updateBroadcast
(String id, BroadcastUpdate broadcast) protected Result
RestServiceBase.updateBroadcast
(String streamId, BroadcastUpdate updatedBroadcast) BroadcastRestService.updateSeekTime
(String id, long seekTimeMs) protected Result
RestServiceBase.updateStreamSource
(String streamId, BroadcastUpdate updatedBroadcast, Broadcast broadcastInDB) Update Stream Source or IP Camera infoprotected Result
RestServiceBase.uploadVoDFile
(String fileName, InputStream inputStream) VoDRestService.uploadVoDFile
(String fileName, InputStream inputStream) BroadcastRestService.validateTokenV2
(Token token) Methods in io.antmedia.rest with parameters of type ResultModifier and TypeMethodDescriptionstatic void
RestServiceBase.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 Result
StreamFetcherManager.checkStreamUrlWithHTTP
(String url) StreamFetcher.getCameraError()
StreamFetcherManager.playItemInList
(Broadcast playlist, StreamFetcher.IStreamFetcherListener listener, int index) StreamFetcher.WorkerThread.prepare
(org.bytedeco.ffmpeg.avformat.AVFormatContext inputFormatContext) StreamFetcher.WorkerThread.prepareInput
(org.bytedeco.ffmpeg.avformat.AVFormatContext inputFormatContext) StreamFetcherManager.startPlaylist
(Broadcast playlist) StreamFetcherManager.startStreaming
(Broadcast broadcast) StreamFetcherManager.startStreamScheduler
(StreamFetcher streamScheduler) StreamFetcherManager.stopPlayList
(String streamId) StreamFetcherManager.stopStreaming
(String 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.Response
WhipEndpoint.prepareResponse
(Result result, String sessionId, jakarta.ws.rs.core.UriInfo uriInfo)