Class LivestreamServiceGrpc.LivestreamServiceImplBase (0.11.0)

public abstract static class LivestreamServiceGrpc.LivestreamServiceImplBase implements BindableService

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 > LivestreamServiceGrpc.LivestreamServiceImplBase

Implements

io.grpc.BindableService

Constructors

LivestreamServiceImplBase()

public LivestreamServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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>

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>

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>

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>