|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.AbstractBceClient
com.baidubce.services.lss.LssClient
public class LssClient
Client for accessing Live Streaming Service. All service calls made using this client are blocking, and will not return until the service call completes.
Field Summary |
---|
Fields inherited from class com.baidubce.AbstractBceClient |
---|
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX |
Constructor Summary | |
---|---|
LssClient()
Constructs a new Lss client. |
|
LssClient(BceClientConfiguration clientConfiguration)
Constructs a new client using the client configuration. |
Method Summary | |
---|---|
CreatePresetResponse |
createForwardOnlyPreset(String name,
String description,
Hls hls,
Rtmp rtmp,
LiveThumbnail thumbnail,
Watermarks watermarks)
Create a live preset which contains parameters needed in the live stream service, and in forward only mode, in which the input stream's resolution ratio and code rate will be kept unchanged. |
CreateNotificationResponse |
createNotification(CreateNotificationRequest request)
Create a live notification in the live stream service. |
CreateNotificationResponse |
createNotification(String name,
String endpoint)
Create a live notification in the live stream service. |
CreatePresetResponse |
createPreset(CreatePresetRequest request)
Create a live preset which contains parameters needed in the live stream service. |
CreatePresetResponse |
createPreset(String name,
String description,
Audio audio,
Video video,
Hls hls,
Rtmp rtmp,
LiveThumbnail thumbnail,
Watermarks watermarks)
Create a live preset which contains parameters needed in the live stream service, and not in forward only mode, so that the input stream will be transcoded according to audio and video parameters. |
CreateSessionResponse |
createSession(CreateSessionRequest request)
Create a live session in the live stream service. |
CreateSessionResponse |
createSession(String description,
List<String> presets,
String notification,
String securityPolicy,
String recording,
LivePublishInfo publish)
Create a live session in the live stream service. |
CreateSessionResponse |
createSession(String description,
List<String> presets,
String notification,
String securityPolicy,
String recording,
LivePublishInfo publish,
String thumbnail,
Watermarks watermarks)
Create a live session in the live stream service. |
CreateSessionResponse |
createSession(String description,
String preset,
String notification,
String securityPolicy,
String recording,
LivePublishInfo publish)
Create a live session in the live stream service. |
CreateStreamResponse |
createStream(CreateStreamRequest request)
Create a domain stream in the live stream service. |
CreateStreamResponse |
createStream(String playDomain,
String app,
String pushStream)
Create a domain stream in the live stream service. |
DeleteNotificationResponse |
deleteNotification(DeleteNotificationRequest request)
Delete your live notification by live notification name. |
DeleteNotificationResponse |
deleteNotification(String name)
Delete your live notification by live notification name. |
DeletePresetResponse |
deletePreset(DeletePresetRequest request)
Delete your live presets by live preset name. |
DeletePresetResponse |
deletePreset(String name)
Delete your live presets by live preset name. |
DeleteSessionResponse |
deleteSession(DeleteSessionRequest request)
Delete your live session by live session id. |
DeleteSessionResponse |
deleteSession(String sessionId)
Delete your live session by live session id. |
void |
deleteStream(DeleteStreamRequest request)
Delete stream in live stream service |
void |
deleteStream(String domain,
String app,
String stream)
Delete stream in live stream service |
GetAllDomainsBandwidthResponse |
getAllDomainsBandwidth(GetAllDomainsStatisticsRequest request)
get all domains' bandwidth statistics in the live stream service. |
GetAllDomainsPlayCountResponse |
getAllDomainsPlayCount(GetAllDomainsStatisticsRequest request)
get all domains' total play count statistics in the live stream service. |
GetAllDomainsTrafficResponse |
getAllDomainsTraffic(GetAllDomainsStatisticsRequest request)
get all domains' traffic statistics in the live stream service. |
GetDomainStatisticsResponse |
getDomainStatistics(GetDomainStatisticsRequest request)
get domain's statistics in the live stream service. |
GetDomainStatisticsResponse |
getDomainStatistics(String domain)
Get domain's statistics in the live stream service. |
GetDomainSummaryStatisticsResponse |
getDomainSummaryStatistics(GetDomainSummaryStatisticsRequest request)
get all domains' summary statistics in the live stream service. |
GetDomainSummaryStatisticsResponse |
getDomainSummaryStatistics(String startTime,
String endTime)
get all domains' summary statistics in the live stream service. |
GetNotificationResponse |
getNotification(GetNotificationRequest request)
Get your live notification by live notification name. |
GetNotificationResponse |
getNotification(String name)
Get your live notification by live notification name. |
GetOneDomainBandwidthResponse |
getOneDomainBandwidth(GetOneDomainStatisticsRequest request)
get one domain's bandwidth statistics in the live stream service. |
GetOneDomainPlayCountResponse |
getOneDomainPlayCount(GetOneDomainStatisticsRequest request)
get one domain's play count statistics in the live stream service. |
GetOneDomainTrafficResponse |
getOneDomainTraffic(GetOneDomainStatisticsRequest request)
get one domain's traffic statistics in the live stream service. |
GetPresetResponse |
getPreset(GetPresetRequest request)
Get your live preset by live preset name. |
GetPresetResponse |
getPreset(String name)
Get your live preset by live preset name. |
GetRecordingResponse |
getRecording(String recording)
Get your live recording preset by live recording preset name. |
GetSecurityPolicyResponse |
getSecurityPolicy(GetSecurityPolicyRequest request)
Get your live security policy by live security policy name. |
GetSecurityPolicyResponse |
getSecurityPolicy(String name)
Get your live security policy by live security policy name. |
GetSessionResponse |
getSession(GetSessionRequest request)
Get your live session by live session id. |
GetSessionResponse |
getSession(String sessionId)
Get your live session by live session id. |
GetSessionSourceInfoResponse |
getSessionSourceInfo(String sessionId)
Get your live session source info by live session id. |
GetSessionStatisticsResponse |
getSessionStatistics(GetSessionStatisticsRequest request)
Returns the session statistics. |
GetSessionStatisticsResponse |
getSessionStatistics(String sessionId,
String startDate,
String endDate,
Boolean aggregate)
Returns the session statistics. |
GetSessionResponse |
getSessionWithToken(String sessionId,
Integer timeoutInMinute)
Get your live session with token by live session id. |
GetStreamResponse |
getStream(GetStreamRequest request)
Get detail of stream in the live stream service. |
GetStreamResponse |
getStream(String domain,
String app,
String stream)
Get detail of stream in the live stream service. |
GetStreamSourceInfoResponse |
getStreamSourceInfo(String domain,
String app,
String stream)
Get your live stream source info by live stream tuple (domain, app, stream). |
GetStreamStatisticsResponse |
getStreamStatistics(GetStreamStatisticsRequest request)
get a domain's all streams statistics in the live stream service. |
InsertCuePointResponse |
insertCuePoint(InsertCuePointRequest request)
Insert a cue point into your live session by live session id. |
InsertCuePointResponse |
insertCuePoint(String sessionId,
String callback,
Map<String,String> arguments)
Insert a cue point into your live session by live session id. |
ListAppResponse |
listApp()
list all your apps |
ListAppResponse |
listApp(ListAppRequest request)
list all your apps |
ListAppStreamsResponse |
listAppStreams(ListAppStreamsRequest request)
list your streams by app name and stream status |
ListAppStreamsResponse |
listAppStreams(String app)
list your streams by app name |
ListAppStreamsResponse |
listAppStreams(String app,
String status)
list your streams by app name and stream status |
ListDomainAppResponse |
listDomainApp(ListDomainAppRequest request)
List a domain's app in the live stream service. |
ListDomainAppResponse |
listDomainApp(String playDomain)
List a domain's streams in the live stream service. |
ListDomainStatisticsResponse |
listDomainStatistics(ListDomainStatisticsRequest request)
list domain's statistics in the live stream service. |
ListNotificationsResponse |
listNotifications()
List all your live notifications. |
ListPresetsResponse |
listPresets()
List all your live presets. |
ListRealtimeStreamStatisticsResponse |
listRealTimeStreamStatistics(ListRealtimeStreamStatisticsRequest request)
|
ListRealtimeStreamStatisticsResponse |
listRealTimeStreamStatistics(String playDomain,
String app)
|
ListRecordingsResponse |
listRecordings()
List all your live recording presets. |
ListSecurityPoliciesResponse |
listSecurityPolicies()
List all your live security policys. |
ListSessionsResponse |
listSessions()
List all your live sessions. |
ListSessionsResponse |
listSessions(ListSessionsRequest request)
List all your live sessions. |
ListSessionsResponse |
listSessions(String status)
List all your live sessions with given status. |
ListStreamResponse |
listStream(ListStreamRequest request)
List a domain's streams in the live stream service. |
ListStreamResponse |
listStream(String playDomain)
List a domain's streams in the live stream service. |
ListStreamStatisticsResponse |
listStreamStatistics(ListStreamStatisticsRequest request)
list domain's all streams statistics in the live stream service. |
PauseAppStreamResponse |
pauseAppStream(PauseAppStreamRequest request)
Pause your app stream by app name and stream name |
PauseAppStreamResponse |
pauseAppStream(String app,
String stream)
Pause your app stream by app name and stream name |
PauseDomainStreamResponse |
pauseDomainStream(PauseDomainStreamRequest request)
pause domain's stream in the live stream service. |
PauseDomainStreamResponse |
pauseDomainStream(String domain,
String app,
String stream)
Get detail of stream in the live stream service. |
PauseSessionResponse |
pauseSession(PauseSessionRequest request)
Pause your live session by live session id. |
PauseSessionResponse |
pauseSession(String sessionId)
Pause your live session by live session id. |
GetAppResponse |
queryApp(GetAppRequest request)
get detail of your app by name |
GetAppResponse |
queryApp(String app)
get detail of your app by name |
GetAppStreamResponse |
queryAppStream(GetAppStreamRequest request)
get detail of your stream by app name and stream name |
GetAppStreamResponse |
queryAppStream(String app,
String stream)
get detail of your stream by app name and stream name |
RefreshSessionResponse |
refreshSession(RefreshSessionRequest request)
Refresh your live session by live session id. |
RefreshSessionResponse |
refreshSession(String sessionId)
Refresh your live session by live session id. |
ResumeAppStreamResponse |
resumeAppStream(ResumeAppStreamRequest request)
Resume your app stream by app name and stream name |
ResumeAppStreamResponse |
resumeAppStream(String app,
String stream)
Resume your app stream by app name and stream name |
ResumeDomainStreamResponse |
resumeDomainStream(ResumeDomainStreamRequest request)
pause domain's stream in the live stream service. |
ResumeDomainStreamResponse |
resumeDomainStream(String domain,
String app,
String stream)
Get detail of stream in the live stream service. |
ResumeSessionResponse |
resumeSession(ResumeSessionRequest request)
Resume your live session by live session id. |
ResumeSessionResponse |
resumeSession(String sessionId)
Resume your live session by live session id. |
StartPullSessionResponse |
startPullSession(StartPullSessionRequest request)
Start your pulling live session by live session id. |
StartPullSessionResponse |
startPullSession(String sessionId)
Start your pulling live session by live session id. |
StartRecordingResponse |
startRecording(String sessionId,
String recording)
Start live session recording. |
StopRecordingResponse |
stopRecording(String sessionId)
Stop live session recording. |
UpdateSecurityPolicyResponse |
updateSecurityPolicy(String name,
Auth auth,
AntiLeech antiLeech,
Encryption encryption)
Update your live security policy by live security policy name. |
UpdateSecurityPolicyResponse |
updateSecurityPolicy(UpdateSecurityPolicyRequest request)
Update your live security policy by live security policy name. |
void |
updateStreamDestinationPushUrl(String domain,
String app,
String stream,
String destinationPushUrl)
|
void |
updateStreamDestinationPushUrl(UpdateStreamDestinationPushUrlRequest request)
Update stream destination push url in live stream service |
void |
updateStreamPresets(String domain,
String app,
String stream,
Map<String,String> presets)
Update stream's presets |
void |
updateStreamPresets(UpdateStreamPresetsRequest request)
Update stream's presets in the live stream service |
void |
updateStreamPullUrl(String domain,
String app,
String stream,
String pullUrl)
Update stream's destination push url |
void |
updateStreamPullUrl(UpdateStreamPullUrlRequest request)
Update stream pullUrl in live stream service |
void |
updateStreamRecording(String domain,
String app,
String stream,
String recording)
Update stream recording in live stream service |
void |
updateStreamRecording(UpdateStreamRecordingRequest request)
Update stream recording in the live stream service |
void |
updateStreamWatermark(String domain,
String app,
String stream,
Watermarks watermarks)
Update stream watermark in live stream service |
void |
updateStreamWatermark(UpdateStreamWatermarkRequest request)
Update stream watermarks in live stream service |
Methods inherited from class com.baidubce.AbstractBceClient |
---|
getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LssClient()
public LssClient(BceClientConfiguration clientConfiguration)
clientConfiguration
- The client configuration options controlling how this client
connects to Lss services (e.g. proxy settings, retry counts, etc).Method Detail |
---|
public CreatePresetResponse createPreset(CreatePresetRequest request)
request
- The request object containing all options for creating presets.
public CreatePresetResponse createPreset(String name, String description, Audio audio, Video video, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks)
name
- The name of the new live preset.description
- The description of the new live presetaudio
- Specify the audio parameters of live stream.video
- Specify the video parameters of live stream.hls
- Specify the hls parameters of live stream.rtmp
- Specify the rtmp parameters of live stream.thumbnail
- Specify the thumbnail parameters of live stream.watermarks
- Specify the watermarks parameters of live stream.
public CreatePresetResponse createForwardOnlyPreset(String name, String description, Hls hls, Rtmp rtmp, LiveThumbnail thumbnail, Watermarks watermarks)
name
- The name of the new live preset.description
- The description of the new live presethls
- Specify the hls parameters of live stream.rtmp
- Specify the rtmp parameters of live stream.thumbnail
- Specify the thumbnail parameters of live stream.watermarks
- Specify the watermarks parameters of live stream.
public ListPresetsResponse listPresets()
public GetPresetResponse getPreset(String name)
name
- Live preset name.
public GetPresetResponse getPreset(GetPresetRequest request)
request
- The request object containing all parameters for getting live preset.
public DeletePresetResponse deletePreset(String name)
name
- Live preset name.
public DeletePresetResponse deletePreset(DeletePresetRequest request)
request
- The request object containing all parameters for deleting live preset.
public CreateSessionResponse createSession(String description, String preset, String notification, String securityPolicy, String recording, LivePublishInfo publish)
description
- The description of the new live session.preset
- The name of the new live session.notification
- The notification of the new live session.securityPolicy
- The security policy of the new live session.recording
- The recording preset of the new live session.publish
- Specify the LivePublishInfo of live session.
public CreateSessionResponse createSession(String description, List<String> presets, String notification, String securityPolicy, String recording, LivePublishInfo publish)
description
- The description of the new live session.presets
- The name of the new live session.notification
- The notification of the new live session.securityPolicy
- The security policy of the new live session.recording
- The recording preset of the new live session.publish
- Specify the LivePublishInfo of live session.
public CreateSessionResponse createSession(String description, List<String> presets, String notification, String securityPolicy, String recording, LivePublishInfo publish, String thumbnail, Watermarks watermarks)
description
- The description of the new live session.presets
- The name of the new live session.notification
- The notification of the new live session.securityPolicy
- The security policy of the new live session.recording
- The recording preset of the new live session.publish
- Specify the LivePublishInfo of live session.thumbnail
- The thumbnail of new live sessionwatermarks
- The watermarks of new live session
public CreateSessionResponse createSession(CreateSessionRequest request)
request
- The request object containing all options for creating live session.
public ListSessionsResponse listSessions()
public ListSessionsResponse listSessions(String status)
status
- Live session status.
public ListSessionsResponse listSessions(ListSessionsRequest request)
request
- The request object containing all parameters for listing live sessions.
public GetSessionResponse getSession(String sessionId)
sessionId
- Live session id.
public GetSessionResponse getSessionWithToken(String sessionId, Integer timeoutInMinute)
sessionId
- Live session id.timeoutInMinute
- Timeout of token.
public GetSessionResponse getSession(GetSessionRequest request)
request
- The request object containing all parameters for getting live session.
public DeleteSessionResponse deleteSession(String sessionId)
sessionId
- Live session id.
public DeleteSessionResponse deleteSession(DeleteSessionRequest request)
request
- The request object containing all parameters for deleting live session.
public PauseSessionResponse pauseSession(String sessionId)
sessionId
- Live session id.
public PauseSessionResponse pauseSession(PauseSessionRequest request)
request
- The request object containing all parameters for pausing live session.
public GetAppResponse queryApp(String app)
app
- app name
public GetAppResponse queryApp(GetAppRequest request)
request
- The request object containing all parameters for querying app.
public ListAppResponse listApp()
public ListAppResponse listApp(ListAppRequest request)
request
- The request object containing all parameters for list all apps.
public GetAppStreamResponse queryAppStream(String app, String stream)
app
- app namestream
- stream name
public GetAppStreamResponse queryAppStream(GetAppStreamRequest request)
request
- The request object containing all parameters for query app stream.
public ListAppStreamsResponse listAppStreams(String app, String status)
app
- app namestatus
- stream status
public ListAppStreamsResponse listAppStreams(String app)
app
- app name
public ListAppStreamsResponse listAppStreams(ListAppStreamsRequest request)
request
- The request object containing all parameters for list app streams.
public PauseAppStreamResponse pauseAppStream(String app, String stream)
app
- app namestream
- stream name
public PauseAppStreamResponse pauseAppStream(PauseAppStreamRequest request)
request
- The request object containing all parameters for pausing app session.
public ResumeSessionResponse resumeSession(String sessionId)
sessionId
- Live session id.
public ResumeSessionResponse resumeSession(ResumeSessionRequest request)
request
- The request object containing all parameters for resuming live session.
public ResumeAppStreamResponse resumeAppStream(String app, String stream)
app
- app namestream
- stream name
public ResumeAppStreamResponse resumeAppStream(ResumeAppStreamRequest request)
request
- The request object containing all parameters for resuming app session.
public RefreshSessionResponse refreshSession(String sessionId)
sessionId
- Live session id.
public RefreshSessionResponse refreshSession(RefreshSessionRequest request)
request
- The request object containing all parameters for refreshing live session.
public StartPullSessionResponse startPullSession(String sessionId)
sessionId
- Live session id.
public StartPullSessionResponse startPullSession(StartPullSessionRequest request)
request
- The request object containing all parameters for starting pulling live session.
public StartRecordingResponse startRecording(String sessionId, String recording)
sessionId
- Live session id.recording
- Live recording preset name.
public StopRecordingResponse stopRecording(String sessionId)
sessionId
- Live session id.
public GetSessionSourceInfoResponse getSessionSourceInfo(String sessionId)
sessionId
- Live session id.
public GetStreamSourceInfoResponse getStreamSourceInfo(String domain, String app, String stream)
domain
- live stream play domainapp
- live stream appstream
- live stream name
public InsertCuePointResponse insertCuePoint(String sessionId, String callback, Map<String,String> arguments)
sessionId
- Live session id.callback
- Call back method name.arguments
- Call back method arguments.
public InsertCuePointResponse insertCuePoint(InsertCuePointRequest request)
request
- The request object containing all parameters for inserting a cue point into session.
public GetRecordingResponse getRecording(String recording)
recording
- Live recording preset name.
public ListRecordingsResponse listRecordings()
public ListNotificationsResponse listNotifications()
public DeleteNotificationResponse deleteNotification(String name)
name
- Live notification name.
public DeleteNotificationResponse deleteNotification(DeleteNotificationRequest request)
request
- The request object containing all parameters for deleting live notification.
public GetNotificationResponse getNotification(String name)
name
- Live notification name.
public GetNotificationResponse getNotification(GetNotificationRequest request)
request
- The request object containing all parameters for getting live notification.
public CreateNotificationResponse createNotification(String name, String endpoint)
name
- The name of notification.endpoint
- The address to receive notification message.
public CreateNotificationResponse createNotification(CreateNotificationRequest request)
request
- The request object containing all options for creating live notification.
public ListSecurityPoliciesResponse listSecurityPolicies()
public GetSecurityPolicyResponse getSecurityPolicy(String name)
name
- Live security policy name.
public GetSecurityPolicyResponse getSecurityPolicy(GetSecurityPolicyRequest request)
request
- The request object containing all parameters for getting live security policy.
public UpdateSecurityPolicyResponse updateSecurityPolicy(String name, Auth auth, AntiLeech antiLeech, Encryption encryption)
name
- Live security policy name.auth
- Configuration for authentication.antiLeech
- Configuration for anti-leech.encryption
- Configuration for encryption.
public UpdateSecurityPolicyResponse updateSecurityPolicy(UpdateSecurityPolicyRequest request)
request
- The request object containing all parameters for updating live security policy.
public GetSessionStatisticsResponse getSessionStatistics(String sessionId, String startDate, String endDate, Boolean aggregate)
sessionId
- the session idstartDate
- the start dateendDate
- the end dateaggregate
- true if the result should be aggregated
public GetSessionStatisticsResponse getSessionStatistics(GetSessionStatisticsRequest request)
request
- the request
public CreateStreamResponse createStream(CreateStreamRequest request)
request
- The request object containing all options for creating domain stream
public CreateStreamResponse createStream(String playDomain, String app, String pushStream)
playDomain
- The domain which this stream belongs toapp
- The app which this stream belongs to, may not exist when create streampushStream,
- name of this stream
public ListStreamResponse listStream(ListStreamRequest request)
request
- The request object containing all options for listing domain's streams
public ListStreamResponse listStream(String playDomain)
playDomain
- The requested domain
public ListDomainAppResponse listDomainApp(ListDomainAppRequest request)
request
- The request object containing all options for listing domain's app
public ListDomainAppResponse listDomainApp(String playDomain)
playDomain
- The requested domain name
public GetStreamResponse getStream(GetStreamRequest request)
request
- The request object containing all options for querying detail of stream
public GetStreamResponse getStream(String domain, String app, String stream)
domain
- The requested domainapp
- The requested appstream
- The requested stream
public PauseDomainStreamResponse pauseDomainStream(PauseDomainStreamRequest request)
request
- The request object containing all options for pause a domain's stream
public PauseDomainStreamResponse pauseDomainStream(String domain, String app, String stream)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream to pause
public ResumeDomainStreamResponse resumeDomainStream(ResumeDomainStreamRequest request)
request
- The request object containing all options for pause a domain's stream
public ResumeDomainStreamResponse resumeDomainStream(String domain, String app, String stream)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream to resume
public void deleteStream(DeleteStreamRequest request)
request
- The request object contains all info to decide which stream to deletepublic void deleteStream(String domain, String app, String stream)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream to deletepublic void updateStreamPresets(UpdateStreamPresetsRequest request)
request
- THe request object containing all options for updating presetspublic void updateStreamPresets(String domain, String app, String stream, Map<String,String> presets)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream which need to update the presetspresets
- The new presets is setting to the specific stream;
it's a map, and key is line number, and value is preset namepublic void updateStreamRecording(UpdateStreamRecordingRequest request)
request
- The request object containing all options for updating recordingpublic void updateStreamRecording(String domain, String app, String stream, String recording)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream which need to update the recordingrecording
- The new recording's namepublic void updateStreamWatermark(UpdateStreamWatermarkRequest request)
request
- The request object containing all options for updating watermarkpublic void updateStreamWatermark(String domain, String app, String stream, Watermarks watermarks)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream which need to update the watermarkwatermarks
- object of the new watermark, contains image watermark and timestamp watermarkpublic void updateStreamPullUrl(UpdateStreamPullUrlRequest request)
request
- The request object containing all options for updating pull urlpublic void updateStreamPullUrl(String domain, String app, String stream, String pullUrl)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream which need to update pull urlpullUrl
- The new pull url is setting to this specific streampublic void updateStreamDestinationPushUrl(UpdateStreamDestinationPushUrlRequest request)
request
- The request object containing all options for updating destination push urlpublic void updateStreamDestinationPushUrl(String domain, String app, String stream, String destinationPushUrl)
domain
- The requested domain which the specific stream belongs toapp
- The requested app which the specific stream belongs tostream
- The requested stream which need to update destination push urldestinationPushUrl
- The new destination push urlpublic GetDomainStatisticsResponse getDomainStatistics(GetDomainStatisticsRequest request)
request
- The request object containing all options for getting domain's statistics
public GetDomainStatisticsResponse getDomainStatistics(String domain)
domain
- The requested domain
public GetDomainSummaryStatisticsResponse getDomainSummaryStatistics(GetDomainSummaryStatisticsRequest request)
request
- The request object containing all options for getting all domains' summary statistics
public GetDomainSummaryStatisticsResponse getDomainSummaryStatistics(String startTime, String endTime)
startTime
- start timeendTime
- start time
public GetAllDomainsPlayCountResponse getAllDomainsPlayCount(GetAllDomainsStatisticsRequest request)
request
- The request object containing all options for getting all domains' play count statistics
public GetOneDomainPlayCountResponse getOneDomainPlayCount(GetOneDomainStatisticsRequest request)
request
- The request object containing all options for getting one domain's play count statistics
public GetAllDomainsBandwidthResponse getAllDomainsBandwidth(GetAllDomainsStatisticsRequest request)
request
- The request object containing all options for getting all domains' total bandwidth statistics
public GetOneDomainBandwidthResponse getOneDomainBandwidth(GetOneDomainStatisticsRequest request)
request
- The request object containing all options for getting one domain's bandwidth statistics
public GetAllDomainsTrafficResponse getAllDomainsTraffic(GetAllDomainsStatisticsRequest request)
request
- The request object containing all options for getting all domains' total traffic statistics
public GetOneDomainTrafficResponse getOneDomainTraffic(GetOneDomainStatisticsRequest request)
request
- The request object containing all options for getting one domain's traffic statistics
public ListDomainStatisticsResponse listDomainStatistics(ListDomainStatisticsRequest request)
request
- The request object containing all options for listing domain's traffic statistics
public ListStreamStatisticsResponse listStreamStatistics(ListStreamStatisticsRequest request)
request
- The request object containing all options for listing domain's all streams traffic statistics
public GetStreamStatisticsResponse getStreamStatistics(GetStreamStatisticsRequest request)
request
- The request object containing all options for getting a domain's all streams
public ListRealtimeStreamStatisticsResponse listRealTimeStreamStatistics(String playDomain, String app)
public ListRealtimeStreamStatisticsResponse listRealTimeStreamStatistics(ListRealtimeStreamStatisticsRequest request)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |