[BindServiceMethod(typeof(LivestreamService), "BindService")]
public abstract class LivestreamService.LivestreamServiceBaseReference 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
CreateAsset(CreateAssetRequest, ServerCallContext)
public virtual Task<Operation> CreateAsset(CreateAssetRequest request, ServerCallContext context)Creates a Asset with the provided unique ID in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
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 |
CreateChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateClip(CreateClipRequest, ServerCallContext)
public virtual Task<Operation> CreateClip(CreateClipRequest request, ServerCallContext context)Creates a clip with the provided clip ID in the specified channel.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateClipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
CreateDvrSession(CreateDvrSessionRequest, ServerCallContext)
public virtual Task<Operation> CreateDvrSession(CreateDvrSessionRequest request, ServerCallContext context)Creates a DVR session with the provided unique ID in the specified channel.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDvrSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
CreateEventRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEvent |
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 |
CreateInputRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteAsset(DeleteAssetRequest, ServerCallContext)
public virtual Task<Operation> DeleteAsset(DeleteAssetRequest request, ServerCallContext context)Deletes the specified asset if it is not used.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
DeleteChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteClip(DeleteClipRequest, ServerCallContext)
public virtual Task<Operation> DeleteClip(DeleteClipRequest request, ServerCallContext context)Deletes the specified clip job resource. This method only deletes the clip job and does not delete the VOD clip stored in Cloud Storage.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteClipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteDvrSession(DeleteDvrSessionRequest, ServerCallContext)
public virtual Task<Operation> DeleteDvrSession(DeleteDvrSessionRequest request, ServerCallContext context)Deletes the specified DVR session.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDvrSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
DeleteEventRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEmpty |
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 |
DeleteInputRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetAsset(GetAssetRequest, ServerCallContext)
public virtual Task<Asset> GetAsset(GetAssetRequest request, ServerCallContext context)Returns the specified asset.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskAsset |
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 |
GetChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskChannel |
The response to send back to the client (wrapped by a task). |
GetClip(GetClipRequest, ServerCallContext)
public virtual Task<Clip> GetClip(GetClipRequest request, ServerCallContext context)Returns the specified clip.
| Parameters | |
|---|---|
| Name | Description |
request |
GetClipRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskClip |
The response to send back to the client (wrapped by a task). |
GetDvrSession(GetDvrSessionRequest, ServerCallContext)
public virtual Task<DvrSession> GetDvrSession(GetDvrSessionRequest request, ServerCallContext context)Returns the specified DVR session.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDvrSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDvrSession |
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 |
GetEventRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskEvent |
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 |
GetInputRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskInput |
The response to send back to the client (wrapped by a task). |
GetPool(GetPoolRequest, ServerCallContext)
public virtual Task<Pool> GetPool(GetPoolRequest request, ServerCallContext context)Returns the specified pool.
| Parameters | |
|---|---|
| Name | Description |
request |
GetPoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPool |
The response to send back to the client (wrapped by a task). |
ListAssets(ListAssetsRequest, ServerCallContext)
public virtual Task<ListAssetsResponse> ListAssets(ListAssetsRequest request, ServerCallContext context)Returns a list of all assets in the specified region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssetsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListAssetsResponse |
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 |
ListChannelsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListChannelsResponse |
The response to send back to the client (wrapped by a task). |
ListClips(ListClipsRequest, ServerCallContext)
public virtual Task<ListClipsResponse> ListClips(ListClipsRequest request, ServerCallContext context)Returns a list of all clips in the specified channel.
| Parameters | |
|---|---|
| Name | Description |
request |
ListClipsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListClipsResponse |
The response to send back to the client (wrapped by a task). |
ListDvrSessions(ListDvrSessionsRequest, ServerCallContext)
public virtual Task<ListDvrSessionsResponse> ListDvrSessions(ListDvrSessionsRequest request, ServerCallContext context)Returns a list of all DVR sessions in the specified channel.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDvrSessionsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListDvrSessionsResponse |
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 |
ListEventsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListEventsResponse |
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 |
ListInputsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListInputsResponse |
The response to send back to the client (wrapped by a task). |
PreviewInput(PreviewInputRequest, ServerCallContext)
public virtual Task<PreviewInputResponse> PreviewInput(PreviewInputRequest request, ServerCallContext context)Preview the streaming content of the specified input.
| Parameters | |
|---|---|
| Name | Description |
request |
PreviewInputRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskPreviewInputResponse |
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 |
StartChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
StartDistribution(StartDistributionRequest, ServerCallContext)
public virtual Task<Operation> StartDistribution(StartDistributionRequest request, ServerCallContext context)Starts distribution which delivers outputs to the destination indicated by the Distribution configuration.
| Parameters | |
|---|---|
| Name | Description |
request |
StartDistributionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
StopChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
StopDistribution(StopDistributionRequest, ServerCallContext)
public virtual Task<Operation> StopDistribution(StopDistributionRequest request, ServerCallContext context)Stops the specified distribution.
| Parameters | |
|---|---|
| Name | Description |
request |
StopDistributionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
UpdateChannelRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateDvrSession(UpdateDvrSessionRequest, ServerCallContext)
public virtual Task<Operation> UpdateDvrSession(UpdateDvrSessionRequest request, ServerCallContext context)Updates the specified DVR session.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDvrSessionRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
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 |
UpdateInputRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdatePool(UpdatePoolRequest, ServerCallContext)
public virtual Task<Operation> UpdatePool(UpdatePoolRequest request, ServerCallContext context)Updates the specified pool.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdatePoolRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |