Live Inputs
List live inputs
client.Stream.LiveInputs.List(ctx, params) (*LiveInputListResponse, error)
GET/accounts/{account_id}/stream/live_inputs
Retrieve a live input
client.Stream.LiveInputs.Get(ctx, liveInputIdentifier, query) (*LiveInput, error)
GET/accounts/{account_id}/stream/live_inputs/{live_input_identifier}
Create a live input
client.Stream.LiveInputs.New(ctx, params) (*LiveInput, error)
POST/accounts/{account_id}/stream/live_inputs
Update a live input
client.Stream.LiveInputs.Update(ctx, liveInputIdentifier, params) (*LiveInput, error)
PUT/accounts/{account_id}/stream/live_inputs/{live_input_identifier}
Delete a live input
client.Stream.LiveInputs.Delete(ctx, liveInputIdentifier, body) error
DELETE/accounts/{account_id}/stream/live_inputs/{live_input_identifier}
Live InputsOutputs
List all outputs associated with a specified live input
client.Stream.LiveInputs.Outputs.List(ctx, liveInputIdentifier, query) (*SinglePage[Output], error)
GET/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs
Create a new output, connected to a live input
client.Stream.LiveInputs.Outputs.New(ctx, liveInputIdentifier, params) (*Output, error)
POST/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs
Update an output
client.Stream.LiveInputs.Outputs.Update(ctx, liveInputIdentifier, outputIdentifier, params) (*Output, error)
PUT/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}
Delete an output
client.Stream.LiveInputs.Outputs.Delete(ctx, liveInputIdentifier, outputIdentifier, body) error
DELETE/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}