Interface LivestreamServiceGrpc.AsyncService (0.22.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

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
NameDescription
requestCreateChannelRequest
responseObserverio.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
NameDescription
requestCreateEventRequest
responseObserverio.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
NameDescription
requestCreateInputRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteChannel(DeleteChannelRequest request, StreamObserver<Operation> responseObserver)

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

updateChannel(UpdateChannelRequest request, StreamObserver<Operation> responseObserver)

public default 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 default void updateInput(UpdateInputRequest request, StreamObserver<Operation> responseObserver)

Updates the specified input.

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