Object for interacting with Rd5Pro Stream Manager instance.
More...
#include <r5stream_manager.h>
|
| static int | SendNodeRequest (std::string streamManagerUrl, StreamDirection direction, const NodeRequest &request, StreamManagerResponse &response, std::string customParams="") |
| | Send request to Red5Pro Stream Manager to get node to connect. More...
|
| |
| static int | SendProvisionRequest (std::string streamManagerUrl, std::string accessToken, const ProvisionRequest &request, StreamManagerResponse &response, std::string customParams="") |
| | Send request to Red5Pro Stream Manager to setup transcoding provisions for publishing stream. More...
|
| |
| static int | GetTranscodeStreamsList (std::string streamManagerUrl, std::string accessToken, std::vector< StreamId > &streams) |
| | Get the list of Transcoded Streams from Red5Pro Stream Manager. More...
|
| |
| static int | GetProvision (std::string streamManagerUrl, std::string accessToken, StreamId streamId, ProvisionResponse &response, std::string customParams="") |
| | Get the stream transcoding provision from Red5Pro Stream Manager. More...
|
| |
| static int | DeleteProvision (std::string streamManagerUrl, std::string accessToken, StreamId streamId, ProvisionResponse &response, std::string customParams="") |
| | Delete provision for specified stream from Red5Pro Stream Manager. More...
|
| |
Object for interacting with Rd5Pro Stream Manager instance.
◆ DeleteProvision()
| static int r5::core::Red5ProStreamManager::DeleteProvision |
( |
std::string |
streamManagerUrl, |
|
|
std::string |
accessToken, |
|
|
StreamId |
streamId, |
|
|
ProvisionResponse & |
response, |
|
|
std::string |
customParams = "" |
|
) |
| |
|
static |
Delete provision for specified stream from Red5Pro Stream Manager.
- Parameters
-
| streamManagerUrl | address of Red5Pro Stream Manager |
| accessToken | access token for Red5Pro Stream Manager |
| streamId | stream description |
| response | output description of server response |
| customParams | optional custom parameters for Red5Pro Stream Manager |
- Returns
- 0 on success, negative on fail
◆ GetProvision()
| static int r5::core::Red5ProStreamManager::GetProvision |
( |
std::string |
streamManagerUrl, |
|
|
std::string |
accessToken, |
|
|
StreamId |
streamId, |
|
|
ProvisionResponse & |
response, |
|
|
std::string |
customParams = "" |
|
) |
| |
|
static |
Get the stream transcoding provision from Red5Pro Stream Manager.
- Parameters
-
| streamManagerUrl | address of Red5Pro Stream Manager |
| accessToken | access token for Red5Pro Stream Manager |
| streamId | stream description |
| response | output description of server response |
| customParams | optional custom parameters for Red5Pro Stream Manager |
- Returns
- 0 on success, negative on fail
◆ GetTranscodeStreamsList()
| static int r5::core::Red5ProStreamManager::GetTranscodeStreamsList |
( |
std::string |
streamManagerUrl, |
|
|
std::string |
accessToken, |
|
|
std::vector< StreamId > & |
streams |
|
) |
| |
|
static |
Get the list of Transcoded Streams from Red5Pro Stream Manager.
- Parameters
-
| streamManagerUrl | address of Red5Pro Stream Manager |
| accessToken | access token for Red5Pro Stream Manager |
| streams | output list of stream descriptions available on Red5Pro Stream Manager instance |
- Returns
- 0 on success, negative on fail
◆ SendNodeRequest()
| static int r5::core::Red5ProStreamManager::SendNodeRequest |
( |
std::string |
streamManagerUrl, |
|
|
StreamDirection |
direction, |
|
|
const NodeRequest & |
request, |
|
|
StreamManagerResponse & |
response, |
|
|
std::string |
customParams = "" |
|
) |
| |
|
static |
Send request to Red5Pro Stream Manager to get node to connect.
- Parameters
-
| streamManagerUrl | address of Red5Pro Stream Manager |
| direction | streaming direction (Publish/Subscribe) |
| request | description of node request |
| response | output description of server response |
| customParams | optional custom parameters for Red5Pro Stream Manager |
- Returns
- 0 on success, negative on fail
◆ SendProvisionRequest()
| static int r5::core::Red5ProStreamManager::SendProvisionRequest |
( |
std::string |
streamManagerUrl, |
|
|
std::string |
accessToken, |
|
|
const ProvisionRequest & |
request, |
|
|
StreamManagerResponse & |
response, |
|
|
std::string |
customParams = "" |
|
) |
| |
|
static |
Send request to Red5Pro Stream Manager to setup transcoding provisions for publishing stream.
- Parameters
-
| streamManagerUrl | address of Red5Pro Stream Manager |
| accessToken | access token for Red5Pro Stream Manager |
| request | description of transcoding provision request |
| response | output description of server response |
| customParams | optional custom parameters for Red5Pro Stream Manager |
- Returns
- 0 on success, negative on fail
The documentation for this class was generated from the following file: