@dcl/protocol 1.0.0-4863715547.commit-286ee57 → 1.0.0-4896874496.commit-2ebeae0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/protocol",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-4896874496.commit-2ebeae0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "decentraland/protocol.git",
|
|
6
6
|
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"out-js",
|
|
30
30
|
"public"
|
|
31
31
|
],
|
|
32
|
-
"commit": "
|
|
32
|
+
"commit": "2ebeae02c0163c4a32a97b8901bfa4edd3942513"
|
|
33
33
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1044;
|
|
7
|
+
|
|
8
|
+
message PBVideoEvent {
|
|
9
|
+
uint32 timestamp = 1; // monotonic counter
|
|
10
|
+
uint32 tick_number = 2; // number of tick in which the event was produced, equals to EngineInfo.tick_number
|
|
11
|
+
float current_offset = 3;
|
|
12
|
+
float video_length = 4;
|
|
13
|
+
VideoState state = 5;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
enum VideoState {
|
|
17
|
+
VS_NONE = 0;
|
|
18
|
+
VS_ERROR = 1;
|
|
19
|
+
VS_LOADING = 2;
|
|
20
|
+
VS_READY = 3;
|
|
21
|
+
VS_PLAYING = 4;
|
|
22
|
+
VS_BUFFERING = 5;
|
|
23
|
+
VS_SEEKING = 6;
|
|
24
|
+
VS_PAUSED = 7;
|
|
25
|
+
}
|