Class LivestreamServiceGrpc.LivestreamServiceStub (0.44.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateAssetRequest
responseObserver io.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
Name Description
request CreateChannelRequest
responseObserver io.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
Name Description
request CreateEventRequest
responseObserver io.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
Name Description
request CreateInputRequest
responseObserver io.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
Name Description
request DeleteAssetRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteChannel(DeleteChannelRequest request, StreamObserver<Operation> responseObserver)

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

Deletes the specified channel.

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

deleteEvent(DeleteEventRequest request, StreamObserver<Empty> responseObserver)

public 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 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 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 void getChannel(GetChannelRequest request, StreamObserver<Channel> responseObserver)

Returns the specified channel.

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

getEvent(GetEventRequest request, StreamObserver<Event> responseObserver)

public 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 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 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 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 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>

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
Name Description
request ListEventsRequest
responseObserver io.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
Name Description
request ListInputsRequest
responseObserver io.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
Name Description
request StartChannelRequest
responseObserver io.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
Name Description
request StopChannelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateChannel(UpdateChannelRequest request, StreamObserver<Operation> responseObserver)

public 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 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 void updatePool(UpdatePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the specified pool.

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