ActionStreamer 0.2.29__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.
Files changed (29) hide show
  1. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Model/Model.py +23 -23
  2. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Event/Event.py +1 -1
  3. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/PKG-INFO +1 -1
  4. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/pyproject.toml +1 -1
  5. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/CommonFunctions.py +0 -0
  6. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/Wifi/Wifi.py +0 -0
  7. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/Wifi/__init__.py +0 -0
  8. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/CommonFunctions/__init__.py +0 -0
  9. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Config/Config.py +0 -0
  10. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Config/__init__.py +0 -0
  11. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Device/Device.py +0 -0
  12. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Device/__init__.py +0 -0
  13. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/Model/__init__.py +0 -0
  14. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/API/API.py +0 -0
  15. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/API/__init__.py +0 -0
  16. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Event/__init__.py +0 -0
  17. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/File/File.py +0 -0
  18. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/File/__init__.py +0 -0
  19. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Health/Health.py +0 -0
  20. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Health/__init__.py +0 -0
  21. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/LogMessage.py +0 -0
  22. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/LogMessage/__init__.py +0 -0
  23. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Patch/Patch.py +0 -0
  24. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/Patch/__init__.py +0 -0
  25. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/VideoClip.py +0 -0
  26. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/VideoClip/__init__.py +0 -0
  27. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/WebService/__init__.py +0 -0
  28. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/ActionStreamer/__init__.py +0 -0
  29. {actionstreamer-0.2.29 → actionstreamer-0.2.30}/README.md +0 -0
@@ -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, segment_length_seconds: float):
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.segment_length_seconds = segment_length_seconds
85
+ self.segmentLengthSeconds = segmentLengthSeconds
86
86
 
87
87
 
88
88
  class VideoClip:
89
89
 
90
- def __init__(self, file_id=0, ts_file_id=0, video_clip_parameters='', local_file_path='', height=0, width=0, frames_per_second:float=0, bitrate = 0, audio_status=0, start_time=0, start_time_ms=0, end_time=0, end_time_ms=0, clip_length_in_seconds:float=0):
91
- self.fileID = file_id
92
- self.tSFileID = ts_file_id
93
- self.videoClipParameters = video_clip_parameters
94
- self.localFilePath = local_file_path
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 = frames_per_second
97
+ self.framesPerSecond = framesPerSecond
98
98
  self.bitrate = bitrate
99
- self.audioStatus = audio_status
100
- self.startTime = start_time
101
- self.startTimeMs = start_time_ms
102
- self.endTime = end_time
103
- self.endTimeMs = end_time_ms
104
- self.clipLengthInSeconds = clip_length_in_seconds
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, file_id: int, source: str, source_file: str, target_file: str, fps: float, codec: str):
110
- self.fileID = file_id
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 = source_file
113
- self.targetFile = target_file
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, video_clip_id: int, local_file_path: str, remote_filename: str, remote_folder_path: str):
121
- self.videoClipId = video_clip_id
122
- self.localFilePath = local_file_path
123
- self.remoteFilename = remote_filename
124
- self.remoteFolderPath = remote_folder_path
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 = ''
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ActionStreamer
3
- Version: 0.2.29
3
+ Version: 0.2.30
4
4
  Summary: A library for the ActionStreamer API.
5
5
  Author: ActionStreamer
6
6
  Author-email: joe@actionstreamer.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ActionStreamer"
3
- version = "0.2.29"
3
+ version = "0.2.30"
4
4
  description = "A library for the ActionStreamer API."
5
5
  authors = ["ActionStreamer <joe@actionstreamer.com>"]
6
6
  readme = "README.md"