Package com.qiniu.qvs
Class StreamManager
- java.lang.Object
-
- com.qiniu.qvs.StreamManager
-
public class StreamManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StreamManager(Auth auth)StreamManager(Auth auth, java.lang.String apiServer)StreamManager(Auth auth, java.lang.String apiServer, Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponsecreateStream(java.lang.String namespaceId, Stream stream)ResponsedeleteSnapshots(java.lang.String namespaceId, java.lang.String streamId, java.lang.String[] files)ResponsedeleteStream(java.lang.String namespaceId, java.lang.String streamId)ResponsedisableStream(java.lang.String namespaceId, java.lang.String streamId)ResponsedynamicPublishPlayURL(java.lang.String namespaceId, java.lang.String streamId, DynamicLiveRoute dynamicLiveRoute)ResponseenableStream(java.lang.String namespaceId, java.lang.String streamId)ResponselistStream(java.lang.String namespaceId, int offset, int line, int qtype, java.lang.String prefix, java.lang.String sortBy)ResponseondemandSnap(java.lang.String namespaceId, java.lang.String streamId)ResponsequeryStream(java.lang.String namespaceId, java.lang.String streamId)ResponsequeryStreamCover(java.lang.String namespaceId, java.lang.String streamId)ResponsequeryStreamPubHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int offset, int line)ResponsequeryStreamRecordHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int line, java.lang.String marker)ResponsequeryStreamRecordHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int line, java.lang.String marker, java.lang.String format)ResponsestaticPublishPlayURL(java.lang.String namespaceId, java.lang.String streamId, StaticLiveRoute staticLiveRoute)ResponsestopStream(java.lang.String namespaceId, java.lang.String streamId)ResponsestreamsSnapshots(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int type, int line, java.lang.String marker)ResponseupdateStream(java.lang.String namespaceId, java.lang.String streamId, PatchOperation[] patchOperation)
-
-
-
Method Detail
-
createStream
public Response createStream(java.lang.String namespaceId, Stream stream) throws QiniuException
- Throws:
QiniuException
-
deleteStream
public Response deleteStream(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
updateStream
public Response updateStream(java.lang.String namespaceId, java.lang.String streamId, PatchOperation[] patchOperation) throws QiniuException
- Throws:
QiniuException
-
queryStream
public Response queryStream(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
listStream
public Response listStream(java.lang.String namespaceId, int offset, int line, int qtype, java.lang.String prefix, java.lang.String sortBy) throws QiniuException
- Throws:
QiniuException
-
staticPublishPlayURL
public Response staticPublishPlayURL(java.lang.String namespaceId, java.lang.String streamId, StaticLiveRoute staticLiveRoute) throws QiniuException
- Throws:
QiniuException
-
dynamicPublishPlayURL
public Response dynamicPublishPlayURL(java.lang.String namespaceId, java.lang.String streamId, DynamicLiveRoute dynamicLiveRoute) throws QiniuException
- Throws:
QiniuException
-
disableStream
public Response disableStream(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
enableStream
public Response enableStream(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
queryStreamPubHistories
public Response queryStreamPubHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int offset, int line) throws QiniuException
- Throws:
QiniuException
-
queryStreamRecordHistories
public Response queryStreamRecordHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int line, java.lang.String marker) throws QiniuException
- Throws:
QiniuException
-
queryStreamRecordHistories
public Response queryStreamRecordHistories(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int line, java.lang.String marker, java.lang.String format) throws QiniuException
- Throws:
QiniuException
-
queryStreamCover
public Response queryStreamCover(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
streamsSnapshots
public Response streamsSnapshots(java.lang.String namespaceId, java.lang.String streamId, int start, int end, int type, int line, java.lang.String marker) throws QiniuException
- Throws:
QiniuException
-
stopStream
public Response stopStream(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
ondemandSnap
public Response ondemandSnap(java.lang.String namespaceId, java.lang.String streamId) throws QiniuException
- Throws:
QiniuException
-
deleteSnapshots
public Response deleteSnapshots(java.lang.String namespaceId, java.lang.String streamId, java.lang.String[] files) throws QiniuException
- Throws:
QiniuException
-
-