ActionStreamer 0.2.28__tar.gz → 0.2.30__tar.gz
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.
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Model/Model.py +38 -38
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Event/Event.py +1 -1
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/PKG-INFO +1 -1
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/pyproject.toml +1 -1
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/CommonFunctions.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/Wifi/Wifi.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/Wifi/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Config/Config.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Config/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Device/Device.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Device/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/Model/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/API/API.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/API/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Event/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/File/File.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/File/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Health/Health.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Health/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/LogMessage.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Patch/Patch.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Patch/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/VideoClip.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/__init__.py +0 -0
- {actionstreamer-0.2.28 → actionstreamer-0.2.30}/README.md +0 -0
|
@@ -2,27 +2,27 @@ from enum import Enum
|
|
|
2
2
|
|
|
3
3
|
class EventStatus(Enum):
|
|
4
4
|
|
|
5
|
-
Checked_out = 2
|
|
6
|
-
Complete = 4
|
|
7
|
-
Error = 5
|
|
8
|
-
Pending = 1
|
|
9
|
-
Processing = 3
|
|
5
|
+
Checked_out = 2
|
|
6
|
+
Complete = 4
|
|
7
|
+
Error = 5
|
|
8
|
+
Pending = 1
|
|
9
|
+
Processing = 3
|
|
10
10
|
Timed_out = 6
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class EventType:
|
|
14
14
|
|
|
15
15
|
class Video(Enum):
|
|
16
|
-
Start_bars = 9
|
|
17
|
-
Follow = 8
|
|
18
|
-
Receive_stream = 5
|
|
19
|
-
Start_recording = 1
|
|
20
|
-
Start_streaming = 3
|
|
21
|
-
Stop_bars = 10
|
|
22
|
-
Stop_receive_stream = 6
|
|
23
|
-
Stop_recording = 2
|
|
24
|
-
Stop_streaming = 4
|
|
25
|
-
Test_event = 7
|
|
16
|
+
Start_bars = 9
|
|
17
|
+
Follow = 8
|
|
18
|
+
Receive_stream = 5
|
|
19
|
+
Start_recording = 1
|
|
20
|
+
Start_streaming = 3
|
|
21
|
+
Stop_bars = 10
|
|
22
|
+
Stop_receive_stream = 6
|
|
23
|
+
Stop_recording = 2
|
|
24
|
+
Stop_streaming = 4
|
|
25
|
+
Test_event = 7
|
|
26
26
|
Test_stop = 11
|
|
27
27
|
|
|
28
28
|
class Transcode(Enum):
|
|
@@ -74,7 +74,7 @@ class EventWithNames(Event):
|
|
|
74
74
|
|
|
75
75
|
class RecordingParameters:
|
|
76
76
|
|
|
77
|
-
def __init__(self, height: int, width: int, fps: float, bitrate: int, vflip: int, hflip: int, encoding: str,
|
|
77
|
+
def __init__(self, height: int, width: int, fps: float, bitrate: int, vflip: int, hflip: int, encoding: str, segmentLengthSeconds: float):
|
|
78
78
|
self.height = height
|
|
79
79
|
self.width = width
|
|
80
80
|
self.fps = fps
|
|
@@ -82,43 +82,43 @@ class RecordingParameters:
|
|
|
82
82
|
self.vflip = vflip
|
|
83
83
|
self.hflip = hflip
|
|
84
84
|
self.encoding = encoding
|
|
85
|
-
self.
|
|
85
|
+
self.segmentLengthSeconds = segmentLengthSeconds
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
class VideoClip:
|
|
89
89
|
|
|
90
|
-
def __init__(self,
|
|
91
|
-
self.fileID =
|
|
92
|
-
self.tSFileID =
|
|
93
|
-
self.videoClipParameters =
|
|
94
|
-
self.localFilePath =
|
|
90
|
+
def __init__(self, fileID=0, tSFileID=0, videoClipParameters='', localFilePath='', height=0, width=0, framesPerSecond:float=0, bitrate = 0, audioStatus=0, startTime=0, startTimeMs=0, endTime=0, endTimeMs=0, clipLengthInSeconds:float=0):
|
|
91
|
+
self.fileID = fileID
|
|
92
|
+
self.tSFileID = tSFileID
|
|
93
|
+
self.videoClipParameters = videoClipParameters
|
|
94
|
+
self.localFilePath = localFilePath
|
|
95
95
|
self.height = height
|
|
96
96
|
self.width = width
|
|
97
|
-
self.framesPerSecond =
|
|
97
|
+
self.framesPerSecond = framesPerSecond
|
|
98
98
|
self.bitrate = bitrate
|
|
99
|
-
self.audioStatus =
|
|
100
|
-
self.startTime =
|
|
101
|
-
self.startTimeMs =
|
|
102
|
-
self.endTime =
|
|
103
|
-
self.endTimeMs =
|
|
104
|
-
self.clipLengthInSeconds =
|
|
99
|
+
self.audioStatus = audioStatus
|
|
100
|
+
self.startTime = startTime
|
|
101
|
+
self.startTimeMs = startTimeMs
|
|
102
|
+
self.endTime = endTime
|
|
103
|
+
self.endTimeMs = endTimeMs
|
|
104
|
+
self.clipLengthInSeconds = clipLengthInSeconds
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
class TranscodingParameters:
|
|
108
108
|
|
|
109
|
-
def __init__(self,
|
|
110
|
-
self.fileID =
|
|
109
|
+
def __init__(self, fileID: int, source: str, sourceFile: str, targetFile: str, fps: float, codec: str):
|
|
110
|
+
self.fileID = fileID
|
|
111
111
|
self.source = source
|
|
112
|
-
self.sourceFile =
|
|
113
|
-
self.targetFile =
|
|
112
|
+
self.sourceFile = sourceFile
|
|
113
|
+
self.targetFile = targetFile
|
|
114
114
|
self.fps = fps
|
|
115
115
|
self.codec = codec
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
class TransferArgs:
|
|
119
119
|
|
|
120
|
-
def __init__(self,
|
|
121
|
-
self.videoClipId =
|
|
122
|
-
self.localFilePath =
|
|
123
|
-
self.remoteFilename =
|
|
124
|
-
self.remoteFolderPath =
|
|
120
|
+
def __init__(self, videoClipId: int, localFilePath: str, remoteFilename: str, remoteFolderPath: str):
|
|
121
|
+
self.videoClipId = videoClipId
|
|
122
|
+
self.localFilePath = localFilePath
|
|
123
|
+
self.remoteFilename = remoteFilename
|
|
124
|
+
self.remoteFolderPath = remoteFolderPath
|
|
@@ -148,7 +148,7 @@ def update_event(ws_config: WebServiceConfig, event_id: int, event_status: int,
|
|
|
148
148
|
|
|
149
149
|
try:
|
|
150
150
|
method = "PUT"
|
|
151
|
-
path = 'v1/event' + event_id
|
|
151
|
+
path = 'v1/event' + str(event_id)
|
|
152
152
|
url = ws_config.base_url + path
|
|
153
153
|
headers = {"Content-Type": "application/json"}
|
|
154
154
|
parameters = ''
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/CommonFunctions.py
RENAMED
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/Wifi/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/Health/__init__.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/LogMessage.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/VideoClip.py
RENAMED
|
File without changes
|
{actionstreamer-0.2.28 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|