Interface LivestreamServiceGrpc.AsyncService (0.49.0)

public static interface LivestreamServiceGrpc.AsyncService

Using Live Stream API, you can generate live streams in the various renditions and streaming formats. The streaming format include HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). You can send a source stream in the various ways, including Real-Time Messaging Protocol (RTMP) and Secure Reliable Transport (SRT).

Methods

createAsset(CreateAssetRequest request, StreamObserver<Operation> responseObserver)

public default void createAsset(CreateAssetRequest request, StreamObserver<Operation> responseObserver)

Creates a Asset with the provided unique ID in the specified region.

Parameters
Name Description
request CreateAssetRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createChannel(CreateChannelRequest request, StreamObserver<Operation> responseObserver)

public default void createChannel(CreateChannelRequest request, StreamObserver<Operation> responseObserver)

Creates a channel with the provided unique ID in the specified region.

Parameters
Name Description
request CreateChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createClip(CreateClipRequest request, StreamObserver<Operation> responseObserver)

public default void createClip(CreateClipRequest request, StreamObserver<Operation> responseObserver)

Creates a clip with the provided clip ID in the specified channel.

Parameters
Name Description
request CreateClipRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createEvent(CreateEventRequest request, StreamObserver<Event> responseObserver)

public default void createEvent(CreateEventRequest request, StreamObserver<Event> responseObserver)

Creates an event with the provided unique ID in the specified channel.

Parameters
Name Description
request CreateEventRequest
responseObserver io.grpc.stub.StreamObserver<Event>

createInput(CreateInputRequest request, StreamObserver<Operation> responseObserver)

public default void createInput(CreateInputRequest request, StreamObserver<Operation> responseObserver)

Creates an input with the provided unique ID in the specified region.

Parameters
Name Description
request CreateInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteAsset(DeleteAssetRequest request, StreamObserver<Operation> responseObserver)

public default void deleteAsset(DeleteAssetRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified asset if it is not used.

Parameters
Name Description
request DeleteAssetRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteChannel(DeleteChannelRequest request, StreamObserver<Operation> responseObserver)

public default void deleteChannel(DeleteChannelRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified channel.

Parameters
Name Description
request DeleteChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteClip(DeleteClipRequest request, StreamObserver<Operation> responseObserver)

public default void deleteClip(DeleteClipRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified clip job resource. This method only deletes the clip job and does not delete the VOD clip stored in the GCS.

Parameters
Name Description
request DeleteClipRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEvent(DeleteEventRequest request, StreamObserver<Empty> responseObserver)

public default void deleteEvent(DeleteEventRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified event.

Parameters
Name Description
request DeleteEventRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deleteInput(DeleteInputRequest request, StreamObserver<Operation> responseObserver)

public default void deleteInput(DeleteInputRequest request, StreamObserver<Operation> responseObserver)

Deletes the specified input.

Parameters
Name Description
request DeleteInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getAsset(GetAssetRequest request, StreamObserver<Asset> responseObserver)

public default void getAsset(GetAssetRequest request, StreamObserver<Asset> responseObserver)

Returns the specified asset.

Parameters
Name Description
request GetAssetRequest
responseObserver io.grpc.stub.StreamObserver<Asset>

getChannel(GetChannelRequest request, StreamObserver<Channel> responseObserver)

public default void getChannel(GetChannelRequest request, StreamObserver<Channel> responseObserver)

Returns the specified channel.

Parameters
Name Description
request GetChannelRequest
responseObserver io.grpc.stub.StreamObserver<Channel>

getClip(GetClipRequest request, StreamObserver<Clip> responseObserver)

public default void getClip(GetClipRequest request, StreamObserver<Clip> responseObserver)

Returns the specified clip.

Parameters
Name Description
request GetClipRequest
responseObserver io.grpc.stub.StreamObserver<Clip>

getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

public default void getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

Returns the specified event.

Parameters
Name Description
request GetEventRequest
responseObserver io.grpc.stub.StreamObserver<Event>

getInput(GetInputRequest request, StreamObserver<Input> responseObserver)

public default void getInput(GetInputRequest request, StreamObserver<Input> responseObserver)

Returns the specified input.

Parameters
Name Description
request GetInputRequest
responseObserver io.grpc.stub.StreamObserver<Input>

getPool(GetPoolRequest request, StreamObserver<Pool> responseObserver)

public default void getPool(GetPoolRequest request, StreamObserver<Pool> responseObserver)

Returns the specified pool.

Parameters
Name Description
request GetPoolRequest
responseObserver io.grpc.stub.StreamObserver<Pool>

listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)

public default void listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)

Returns a list of all assets in the specified region.

Parameters
Name Description
request ListAssetsRequest
responseObserver io.grpc.stub.StreamObserver<ListAssetsResponse>

listChannels(ListChannelsRequest request, StreamObserver<ListChannelsResponse> responseObserver)

public default void listChannels(ListChannelsRequest request, StreamObserver<ListChannelsResponse> responseObserver)

Returns a list of all channels in the specified region.

Parameters
Name Description
request ListChannelsRequest
responseObserver io.grpc.stub.StreamObserver<ListChannelsResponse>

listClips(ListClipsRequest request, StreamObserver<ListClipsResponse> responseObserver)

public default void listClips(ListClipsRequest request, StreamObserver<ListClipsResponse> responseObserver)

Returns a list of all clips in the specified channel.

Parameters
Name Description
request ListClipsRequest
responseObserver io.grpc.stub.StreamObserver<ListClipsResponse>

listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

public default void listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

Returns a list of all events in the specified channel.

Parameters
Name Description
request ListEventsRequest
responseObserver io.grpc.stub.StreamObserver<ListEventsResponse>

listInputs(ListInputsRequest request, StreamObserver<ListInputsResponse> responseObserver)

public default void listInputs(ListInputsRequest request, StreamObserver<ListInputsResponse> responseObserver)

Returns a list of all inputs in the specified region.

Parameters
Name Description
request ListInputsRequest
responseObserver io.grpc.stub.StreamObserver<ListInputsResponse>

startChannel(StartChannelRequest request, StreamObserver<Operation> responseObserver)

public default void startChannel(StartChannelRequest request, StreamObserver<Operation> responseObserver)

Starts the specified channel. Part of the video pipeline will be created only when the StartChannel request is received by the server.

Parameters
Name Description
request StartChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

stopChannel(StopChannelRequest request, StreamObserver<Operation> responseObserver)

public default void stopChannel(StopChannelRequest request, StreamObserver<Operation> responseObserver)

Stops the specified channel. Part of the video pipeline will be released when the StopChannel request is received by the server.

Parameters
Name Description
request StopChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateChannel(UpdateChannelRequest request, StreamObserver<Operation> responseObserver)

public default void updateChannel(UpdateChannelRequest request, StreamObserver<Operation> responseObserver)

Updates the specified channel.

Parameters
Name Description
request UpdateChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateInput(UpdateInputRequest request, StreamObserver<Operation> responseObserver)

public default void updateInput(UpdateInputRequest request, StreamObserver<Operation> responseObserver)

Updates the specified input.

Parameters
Name Description
request UpdateInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updatePool(UpdatePoolRequest request, StreamObserver<Operation> responseObserver)

public default void updatePool(UpdatePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the specified pool.

Parameters
Name Description
request UpdatePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>