SysStartStream
Start a playback stream.
Service | Operation |
---|---|
playbackStream | SYS_START_STREAM |
Method Parameters
Parameter | Description |
---|---|
profileId | The player starting the stream. |
targetProfileId | The player to start a stream with. |
includeSharedData | Whether to include shared data in the stream. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var profileId = "player";
var targetProfileId = "player";
var includeSharedData = False;
var playbackStreamProxy = bridge.getPlaybackStreamServiceProxy();
var postResult = playbackStreamProxy.sysStartStream(profileId, targetProfileId, includeSharedData);
{
"service":"playbackStream",
"operation":"SYS_START_STREAM",
"data":{
"profileId":"player",
"targetProfileId":"player",
"includeSharedData":false
}
}
JSON Response
{
"status": 200,
"data": {
"playbackStreamId": "b8da4619-2ddc-4184-b654-cd11d12a3275",
"initiatingPlayerId": "198bcafcd-6e84-4c30-9f6e-3f9f016440c6",
"targetPlayerId": "a6943c74-6655-4245-8b2b-13bb908d3f88",
"status": "STARTED",
"summary": {},
"initialSharedData": {
"entities": [],
"statistics": {}
},
"events": [],
"createdAt": 1425481184200,
"updatedAt": 1425481184200
}
}