[BindServiceMethod(typeof(LivestreamService), "BindService")]
public abstract class LivestreamServiceBase
Reference documentation and code samples for the Live Stream v1 API class LivestreamService.LivestreamServiceBase.
Base class for server-side implementations of LivestreamService
Namespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Methods
CreateChannel(CreateChannelRequest, ServerCallContext)
public virtual Task<Operation> CreateChannel(CreateChannelRequest request, ServerCallContext context)
Creates a channel with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request |
CreateChannelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
CreateEvent(CreateEventRequest, ServerCallContext)
public virtual Task<Event> CreateEvent(CreateEventRequest request, ServerCallContext context)
Creates an event with the provided unique ID in the specified channel.
Parameters | |
---|---|
Name | Description |
request |
CreateEventRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Event> |
The response to send back to the client (wrapped by a task). |
CreateInput(CreateInputRequest, ServerCallContext)
public virtual Task<Operation> CreateInput(CreateInputRequest request, ServerCallContext context)
Creates an input with the provided unique ID in the specified region.
Parameters | |
---|---|
Name | Description |
request |
CreateInputRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
DeleteChannel(DeleteChannelRequest, ServerCallContext)
public virtual Task<Operation> DeleteChannel(DeleteChannelRequest request, ServerCallContext context)
Deletes the specified channel.
Parameters | |
---|---|
Name | Description |
request |
DeleteChannelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
DeleteEvent(DeleteEventRequest, ServerCallContext)
public virtual Task<Empty> DeleteEvent(DeleteEventRequest request, ServerCallContext context)
Deletes the specified event.
Parameters | |
---|---|
Name | Description |
request |
DeleteEventRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> |
The response to send back to the client (wrapped by a task). |
DeleteInput(DeleteInputRequest, ServerCallContext)
public virtual Task<Operation> DeleteInput(DeleteInputRequest request, ServerCallContext context)
Deletes the specified input.
Parameters | |
---|---|
Name | Description |
request |
DeleteInputRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
GetChannel(GetChannelRequest, ServerCallContext)
public virtual Task<Channel> GetChannel(GetChannelRequest request, ServerCallContext context)
Returns the specified channel.
Parameters | |
---|---|
Name | Description |
request |
GetChannelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Channel> |
The response to send back to the client (wrapped by a task). |
GetEvent(GetEventRequest, ServerCallContext)
public virtual Task<Event> GetEvent(GetEventRequest request, ServerCallContext context)
Returns the specified event.
Parameters | |
---|---|
Name | Description |
request |
GetEventRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Event> |
The response to send back to the client (wrapped by a task). |
GetInput(GetInputRequest, ServerCallContext)
public virtual Task<Input> GetInput(GetInputRequest request, ServerCallContext context)
Returns the specified input.
Parameters | |
---|---|
Name | Description |
request |
GetInputRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Input> |
The response to send back to the client (wrapped by a task). |
ListChannels(ListChannelsRequest, ServerCallContext)
public virtual Task<ListChannelsResponse> ListChannels(ListChannelsRequest request, ServerCallContext context)
Returns a list of all channels in the specified region.
Parameters | |
---|---|
Name | Description |
request |
ListChannelsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListChannelsResponse> |
The response to send back to the client (wrapped by a task). |
ListEvents(ListEventsRequest, ServerCallContext)
public virtual Task<ListEventsResponse> ListEvents(ListEventsRequest request, ServerCallContext context)
Returns a list of all events in the specified channel.
Parameters | |
---|---|
Name | Description |
request |
ListEventsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListEventsResponse> |
The response to send back to the client (wrapped by a task). |
ListInputs(ListInputsRequest, ServerCallContext)
public virtual Task<ListInputsResponse> ListInputs(ListInputsRequest request, ServerCallContext context)
Returns a list of all inputs in the specified region.
Parameters | |
---|---|
Name | Description |
request |
ListInputsRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListInputsResponse> |
The response to send back to the client (wrapped by a task). |
StartChannel(StartChannelRequest, ServerCallContext)
public virtual Task<Operation> StartChannel(StartChannelRequest request, ServerCallContext context)
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 The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
StopChannel(StopChannelRequest, ServerCallContext)
public virtual Task<Operation> StopChannel(StopChannelRequest request, ServerCallContext context)
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 The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
UpdateChannel(UpdateChannelRequest, ServerCallContext)
public virtual Task<Operation> UpdateChannel(UpdateChannelRequest request, ServerCallContext context)
Updates the specified channel.
Parameters | |
---|---|
Name | Description |
request |
UpdateChannelRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |
UpdateInput(UpdateInputRequest, ServerCallContext)
public virtual Task<Operation> UpdateInput(UpdateInputRequest request, ServerCallContext context)
Updates the specified input.
Parameters | |
---|---|
Name | Description |
request |
UpdateInputRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> |
The response to send back to the client (wrapped by a task). |