Class LivestreamServiceGrpc.LivestreamServiceStub (0.32.0)

public static final class LivestreamServiceGrpc.LivestreamServiceStub extends AbstractAsyncStub<LivestreamServiceGrpc.LivestreamServiceStub>

A stub to allow clients to do asynchronous rpc calls to service LivestreamService.

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).

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > LivestreamServiceGrpc.LivestreamServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected LivestreamServiceGrpc.LivestreamServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
LivestreamServiceGrpc.LivestreamServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createAsset(CreateAssetRequest request, StreamObserver<Operation> responseObserver)

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

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

Parameters
NameDescription
requestCreateAssetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createChannel(CreateChannelRequest request, StreamObserver<Operation> responseObserver)

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

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

Parameters
NameDescription
requestCreateChannelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createEvent(CreateEventRequest request, StreamObserver<Event> responseObserver)

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

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

Parameters
NameDescription
requestCreateEventRequest
responseObserverio.grpc.stub.StreamObserver<Event>

createInput(CreateInputRequest request, StreamObserver<Operation> responseObserver)

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

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

Parameters
NameDescription
requestCreateInputRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteAsset(DeleteAssetRequest request, StreamObserver<Operation> responseObserver)

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

Deletes the specified asset if it is not used.

Parameters
NameDescription
requestDeleteAssetRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteChannel(DeleteChannelRequest request, StreamObserver<Operation> responseObserver)

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

Deletes the specified channel.

Parameters
NameDescription
requestDeleteChannelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteEvent(DeleteEventRequest request, StreamObserver<Empty> responseObserver)

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

Deletes the specified event.

Parameters
NameDescription
requestDeleteEventRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteInput(DeleteInputRequest request, StreamObserver<Operation> responseObserver)

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

Deletes the specified input.

Parameters
NameDescription
requestDeleteInputRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getAsset(GetAssetRequest request, StreamObserver<Asset> responseObserver)

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

Returns the specified asset.

Parameters
NameDescription
requestGetAssetRequest
responseObserverio.grpc.stub.StreamObserver<Asset>

getChannel(GetChannelRequest request, StreamObserver<Channel> responseObserver)

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

Returns the specified channel.

Parameters
NameDescription
requestGetChannelRequest
responseObserverio.grpc.stub.StreamObserver<Channel>

getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

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

Returns the specified event.

Parameters
NameDescription
requestGetEventRequest
responseObserverio.grpc.stub.StreamObserver<Event>

getInput(GetInputRequest request, StreamObserver<Input> responseObserver)

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

Returns the specified input.

Parameters
NameDescription
requestGetInputRequest
responseObserverio.grpc.stub.StreamObserver<Input>

getPool(GetPoolRequest request, StreamObserver<Pool> responseObserver)

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

Returns the specified pool.

Parameters
NameDescription
requestGetPoolRequest
responseObserverio.grpc.stub.StreamObserver<Pool>

listAssets(ListAssetsRequest request, StreamObserver<ListAssetsResponse> responseObserver)

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

Returns a list of all assets in the specified region.

Parameters
NameDescription
requestListAssetsRequest
responseObserverio.grpc.stub.StreamObserver<ListAssetsResponse>

listChannels(ListChannelsRequest request, StreamObserver<ListChannelsResponse> responseObserver)

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

Returns a list of all channels in the specified region.

Parameters
NameDescription
requestListChannelsRequest
responseObserverio.grpc.stub.StreamObserver<ListChannelsResponse>

listEvents(ListEventsRequest request, StreamObserver<ListEventsResponse> responseObserver)

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

Returns a list of all events in the specified channel.

Parameters
NameDescription
requestListEventsRequest
responseObserverio.grpc.stub.StreamObserver<ListEventsResponse>

listInputs(ListInputsRequest request, StreamObserver<ListInputsResponse> responseObserver)

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

Returns a list of all inputs in the specified region.

Parameters
NameDescription
requestListInputsRequest
responseObserverio.grpc.stub.StreamObserver<ListInputsResponse>

startChannel(StartChannelRequest request, StreamObserver<Operation> responseObserver)

public 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
NameDescription
requestStartChannelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

stopChannel(StopChannelRequest request, StreamObserver<Operation> responseObserver)

public 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
NameDescription
requestStopChannelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateChannel(UpdateChannelRequest request, StreamObserver<Operation> responseObserver)

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

Updates the specified channel.

Parameters
NameDescription
requestUpdateChannelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateInput(UpdateInputRequest request, StreamObserver<Operation> responseObserver)

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

Updates the specified input.

Parameters
NameDescription
requestUpdateInputRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updatePool(UpdatePoolRequest request, StreamObserver<Operation> responseObserver)

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

Updates the specified pool.

Parameters
NameDescription
requestUpdatePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>