-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from apivideo/feat/live-restreaming
Feat/live restreaming
- Loading branch information
Showing
14 changed files
with
1,046 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# RestreamsRequestObject | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Name** | **string** | Use this parameter to define a name for the restream destination. | | ||
**ServerUrl** | **string** | Use this parameter to set the RTMP URL of the restream destination. | | ||
**StreamKey** | **string** | Use this parameter to provide the unique key of the live stream that you want to restream. | | ||
|
||
## Methods | ||
|
||
### NewRestreamsRequestObject | ||
|
||
`func NewRestreamsRequestObject(name string, serverUrl string, streamKey string, ) *RestreamsRequestObject` | ||
|
||
NewRestreamsRequestObject instantiates a new RestreamsRequestObject object | ||
This constructor will assign default values to properties that have it defined, | ||
and makes sure properties required by API are set, but the set of arguments | ||
will change when the set of required properties is changed | ||
|
||
### NewRestreamsRequestObjectWithDefaults | ||
|
||
`func NewRestreamsRequestObjectWithDefaults() *RestreamsRequestObject` | ||
|
||
NewRestreamsRequestObjectWithDefaults instantiates a new RestreamsRequestObject object | ||
This constructor will only assign default values to properties that have it defined, | ||
but it doesn't guarantee that properties required by API are set | ||
|
||
### GetName | ||
|
||
`func (o *RestreamsRequestObject) GetName() string` | ||
|
||
GetName returns the Name field if non-nil, zero value otherwise. | ||
|
||
### GetNameOk | ||
|
||
`func (o *RestreamsRequestObject) GetNameOk() (*string, bool)` | ||
|
||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetName | ||
|
||
`func (o *RestreamsRequestObject) SetName(v string)` | ||
|
||
SetName sets Name field to given value. | ||
|
||
|
||
### GetServerUrl | ||
|
||
`func (o *RestreamsRequestObject) GetServerUrl() string` | ||
|
||
GetServerUrl returns the ServerUrl field if non-nil, zero value otherwise. | ||
|
||
### GetServerUrlOk | ||
|
||
`func (o *RestreamsRequestObject) GetServerUrlOk() (*string, bool)` | ||
|
||
GetServerUrlOk returns a tuple with the ServerUrl field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetServerUrl | ||
|
||
`func (o *RestreamsRequestObject) SetServerUrl(v string)` | ||
|
||
SetServerUrl sets ServerUrl field to given value. | ||
|
||
|
||
### GetStreamKey | ||
|
||
`func (o *RestreamsRequestObject) GetStreamKey() string` | ||
|
||
GetStreamKey returns the StreamKey field if non-nil, zero value otherwise. | ||
|
||
### GetStreamKeyOk | ||
|
||
`func (o *RestreamsRequestObject) GetStreamKeyOk() (*string, bool)` | ||
|
||
GetStreamKeyOk returns a tuple with the StreamKey field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetStreamKey | ||
|
||
`func (o *RestreamsRequestObject) SetStreamKey(v string)` | ||
|
||
SetStreamKey sets StreamKey field to given value. | ||
|
||
|
||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
# RestreamsResponseObject | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**Name** | Pointer to **string** | Returns the name of a restream destination. | [optional] | ||
**ServerUrl** | Pointer to **string** | Returns the RTMP URL of a restream destination. | [optional] | ||
**StreamKey** | Pointer to **string** | Returns the unique key of the live stream that is set up for restreaming. | [optional] | ||
|
||
## Methods | ||
|
||
### NewRestreamsResponseObject | ||
|
||
`func NewRestreamsResponseObject() *RestreamsResponseObject` | ||
|
||
NewRestreamsResponseObject instantiates a new RestreamsResponseObject object | ||
This constructor will assign default values to properties that have it defined, | ||
and makes sure properties required by API are set, but the set of arguments | ||
will change when the set of required properties is changed | ||
|
||
### NewRestreamsResponseObjectWithDefaults | ||
|
||
`func NewRestreamsResponseObjectWithDefaults() *RestreamsResponseObject` | ||
|
||
NewRestreamsResponseObjectWithDefaults instantiates a new RestreamsResponseObject object | ||
This constructor will only assign default values to properties that have it defined, | ||
but it doesn't guarantee that properties required by API are set | ||
|
||
### GetName | ||
|
||
`func (o *RestreamsResponseObject) GetName() string` | ||
|
||
GetName returns the Name field if non-nil, zero value otherwise. | ||
|
||
### GetNameOk | ||
|
||
`func (o *RestreamsResponseObject) GetNameOk() (*string, bool)` | ||
|
||
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetName | ||
|
||
`func (o *RestreamsResponseObject) SetName(v string)` | ||
|
||
SetName sets Name field to given value. | ||
|
||
### HasName | ||
|
||
`func (o *RestreamsResponseObject) HasName() bool` | ||
|
||
HasName returns a boolean if a field has been set. | ||
|
||
### GetServerUrl | ||
|
||
`func (o *RestreamsResponseObject) GetServerUrl() string` | ||
|
||
GetServerUrl returns the ServerUrl field if non-nil, zero value otherwise. | ||
|
||
### GetServerUrlOk | ||
|
||
`func (o *RestreamsResponseObject) GetServerUrlOk() (*string, bool)` | ||
|
||
GetServerUrlOk returns a tuple with the ServerUrl field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetServerUrl | ||
|
||
`func (o *RestreamsResponseObject) SetServerUrl(v string)` | ||
|
||
SetServerUrl sets ServerUrl field to given value. | ||
|
||
### HasServerUrl | ||
|
||
`func (o *RestreamsResponseObject) HasServerUrl() bool` | ||
|
||
HasServerUrl returns a boolean if a field has been set. | ||
|
||
### GetStreamKey | ||
|
||
`func (o *RestreamsResponseObject) GetStreamKey() string` | ||
|
||
GetStreamKey returns the StreamKey field if non-nil, zero value otherwise. | ||
|
||
### GetStreamKeyOk | ||
|
||
`func (o *RestreamsResponseObject) GetStreamKeyOk() (*string, bool)` | ||
|
||
GetStreamKeyOk returns a tuple with the StreamKey field if it's non-nil, zero value otherwise | ||
and a boolean to check if the value has been set. | ||
|
||
### SetStreamKey | ||
|
||
`func (o *RestreamsResponseObject) SetStreamKey(v string)` | ||
|
||
SetStreamKey sets StreamKey field to given value. | ||
|
||
### HasStreamKey | ||
|
||
`func (o *RestreamsResponseObject) HasStreamKey() bool` | ||
|
||
HasStreamKey returns a boolean if a field has been set. | ||
|
||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
||
|
Oops, something went wrong.