Class LivestreamServiceGrpc.LivestreamServiceFutureStub (0.7.0)

public static final class LivestreamServiceGrpc.LivestreamServiceFutureStub extends AbstractFutureStub<LivestreamServiceGrpc.LivestreamServiceFutureStub>

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.AbstractFutureStub > LivestreamServiceGrpc.LivestreamServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createChannel(CreateChannelRequest request)

public ListenableFuture<Operation> createChannel(CreateChannelRequest request)

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

Parameter
NameDescription
requestCreateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createEvent(CreateEventRequest request)

public ListenableFuture<Event> createEvent(CreateEventRequest request)

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

Parameter
NameDescription
requestCreateEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Event>

createInput(CreateInputRequest request)

public ListenableFuture<Operation> createInput(CreateInputRequest request)

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

Parameter
NameDescription
requestCreateInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteChannel(DeleteChannelRequest request)

public ListenableFuture<Operation> deleteChannel(DeleteChannelRequest request)

Deletes the specified channel.

Parameter
NameDescription
requestDeleteChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEvent(DeleteEventRequest request)

public ListenableFuture<Empty> deleteEvent(DeleteEventRequest request)

Deletes the specified event.

Parameter
NameDescription
requestDeleteEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteInput(DeleteInputRequest request)

public ListenableFuture<Operation> deleteInput(DeleteInputRequest request)

Deletes the specified input.

Parameter
NameDescription
requestDeleteInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getChannel(GetChannelRequest request)

public ListenableFuture<Channel> getChannel(GetChannelRequest request)

Returns the specified channel.

Parameter
NameDescription
requestGetChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Channel>

getEvent(GetEventRequest request)

public ListenableFuture<Event> getEvent(GetEventRequest request)

Returns the specified event.

Parameter
NameDescription
requestGetEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Event>

getInput(GetInputRequest request)

public ListenableFuture<Input> getInput(GetInputRequest request)

Returns the specified input.

Parameter
NameDescription
requestGetInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Input>

listChannels(ListChannelsRequest request)

public ListenableFuture<ListChannelsResponse> listChannels(ListChannelsRequest request)

Returns a list of all channels in the specified region.

Parameter
NameDescription
requestListChannelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListChannelsResponse>

listEvents(ListEventsRequest request)

public ListenableFuture<ListEventsResponse> listEvents(ListEventsRequest request)

Returns a list of all events in the specified channel.

Parameter
NameDescription
requestListEventsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEventsResponse>

listInputs(ListInputsRequest request)

public ListenableFuture<ListInputsResponse> listInputs(ListInputsRequest request)

Returns a list of all inputs in the specified region.

Parameter
NameDescription
requestListInputsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListInputsResponse>

startChannel(StartChannelRequest request)

public ListenableFuture<Operation> startChannel(StartChannelRequest request)

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

Parameter
NameDescription
requestStartChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

stopChannel(StopChannelRequest request)

public ListenableFuture<Operation> stopChannel(StopChannelRequest request)

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

Parameter
NameDescription
requestStopChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateChannel(UpdateChannelRequest request)

public ListenableFuture<Operation> updateChannel(UpdateChannelRequest request)

Updates the specified channel.

Parameter
NameDescription
requestUpdateChannelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateInput(UpdateInputRequest request)

public ListenableFuture<Operation> updateInput(UpdateInputRequest request)

Updates the specified input.

Parameter
NameDescription
requestUpdateInputRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>