Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class RtmpPushOutputEndpoint.
Configurations for an output endpoint using RTMP_PUSH as the streaming protocol.
Generated from protobuf message google.cloud.video.livestream.v1.RtmpPushOutputEndpoint
Namespace
Google \ Cloud \ Video \ LiveStream \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
Required. The full URI of the remote RTMP server. For example: |
↳ stream_key |
string
Required. Stream key for RTMP protocol. |
getUri
Required. The full URI of the remote RTMP server. For example:
rtmp://192.168.123.321/live/my-stream
or rtmp://somedomain.com/someapp
.
Returns | |
---|---|
Type | Description |
string |
setUri
Required. The full URI of the remote RTMP server. For example:
rtmp://192.168.123.321/live/my-stream
or rtmp://somedomain.com/someapp
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getStreamKey
Required. Stream key for RTMP protocol.
Returns | |
---|---|
Type | Description |
string |
setStreamKey
Required. Stream key for RTMP protocol.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |