SysReadStream
Read a playback stream.
Service | Operation |
---|---|
playbackStream | SYS_READ_STREAM |
Method Parameters
Parameter | Description |
---|---|
playbackStreamId | Identifies the stream to read. |
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 playbackStreamId = "a-stream-id";
var playbackStreamProxy = bridge.getPlaybackStreamServiceProxy();
var postResult = playbackStreamProxy.sysReadStream(playbackStreamId);
{
"service":"playbackStream",
"operation":"SYS_READ_STREAM",
"data":{
"playbackStreamId":"a-stream-id"
}
}
JSON Response
{
"data": {
"playbackStreamId": "3f9799c1-67db-46bf-87b1-ff3d6ef54090",
"initiatingPlayerId": "c5ecdbda-5f91-41a9-96aa-174f412f7657",
"targetPlayerId": "c5ecdbda-5f91-41a9-96aa-174f412f7657",
"status": "IN_PROGRESS",
"summary": {
"total": 5
},
"initialSharedData": {
"entities": [],
"statistics": {}
},
"events": [
{
"value": 1
}
],
"expiryTime": null,
"createdAt": 1717016614483,
"updatedAt": 1717016652518
},
"status": 200
}