remotion-lambda 4.0.409__py3-none-any.whl → 4.0.410__py3-none-any.whl
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.
- remotion_lambda/models.py +6 -4
- remotion_lambda/version.py +1 -1
- {remotion_lambda-4.0.409.dist-info → remotion_lambda-4.0.410.dist-info}/METADATA +1 -1
- {remotion_lambda-4.0.409.dist-info → remotion_lambda-4.0.410.dist-info}/RECORD +7 -7
- {remotion_lambda-4.0.409.dist-info → remotion_lambda-4.0.410.dist-info}/WHEEL +1 -1
- {remotion_lambda-4.0.409.dist-info → remotion_lambda-4.0.410.dist-info}/LICENSE +0 -0
- {remotion_lambda-4.0.409.dist-info → remotion_lambda-4.0.410.dist-info}/top_level.txt +0 -0
remotion_lambda/models.py
CHANGED
|
@@ -331,6 +331,7 @@ class RenderMediaParams:
|
|
|
331
331
|
delete_after: Optional[str] = None
|
|
332
332
|
encoding_buffer_size: Optional[str] = None
|
|
333
333
|
encoding_max_rate: Optional[str] = None
|
|
334
|
+
is_production: Optional[bool] = None
|
|
334
335
|
|
|
335
336
|
def serialize_params(self) -> Dict:
|
|
336
337
|
"""
|
|
@@ -376,14 +377,14 @@ class RenderMediaParams:
|
|
|
376
377
|
'mediaCacheSizeInBytes': self.media_cache_size_in_bytes,
|
|
377
378
|
'offthreadVideoThreads': self.offthreadvideo_threads,
|
|
378
379
|
'forceWidth': self.force_width,
|
|
379
|
-
'
|
|
380
|
-
'licenseKey': self.license_key,
|
|
380
|
+
'licenseKey': self.license_key if self.license_key is not None else self.api_key,
|
|
381
381
|
'bucketName': self.bucket_name,
|
|
382
382
|
'audioCodec': self.audio_codec,
|
|
383
383
|
'x264Preset': self.x264_preset,
|
|
384
384
|
'deleteAfter': self.delete_after,
|
|
385
385
|
'encodingBufferSize': self.encoding_buffer_size,
|
|
386
386
|
'encodingMaxRate': self.encoding_max_rate,
|
|
387
|
+
'isProduction': self.is_production,
|
|
387
388
|
'type': 'start',
|
|
388
389
|
}
|
|
389
390
|
|
|
@@ -457,6 +458,7 @@ class RenderStillParams:
|
|
|
457
458
|
media_cache_size_in_bytes: Optional[int] = None
|
|
458
459
|
offthreadvideo_threads: Optional[int] = None
|
|
459
460
|
streamed: bool = False
|
|
461
|
+
is_production: Optional[bool] = None
|
|
460
462
|
|
|
461
463
|
def serialize_params(self) -> Dict:
|
|
462
464
|
"""
|
|
@@ -501,8 +503,7 @@ class RenderStillParams:
|
|
|
501
503
|
'downloadBehavior': self.download_behavior
|
|
502
504
|
or PlayInBrowser(type='play-in-browser'),
|
|
503
505
|
'forceWidth': self.force_width,
|
|
504
|
-
'
|
|
505
|
-
'licenseKey': self.license_key,
|
|
506
|
+
'licenseKey': self.license_key if self.license_key is not None else self.api_key,
|
|
506
507
|
'forceHeight': self.force_height,
|
|
507
508
|
'forceBucketName': self.force_bucket_name,
|
|
508
509
|
'deleteAfter': self.delete_after,
|
|
@@ -511,6 +512,7 @@ class RenderStillParams:
|
|
|
511
512
|
'mediaCacheSizeInBytes': self.media_cache_size_in_bytes,
|
|
512
513
|
'offthreadVideoThreads': self.offthreadvideo_threads,
|
|
513
514
|
'streamed': self.streamed,
|
|
515
|
+
'isProduction': self.is_production,
|
|
514
516
|
}
|
|
515
517
|
|
|
516
518
|
if self.force_path_style is not None:
|
remotion_lambda/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# pylint: disable=missing-module-docstring, missing-final-newline
|
|
2
|
-
VERSION = "4.0.
|
|
2
|
+
VERSION = "4.0.410"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
remotion_lambda/__init__.py,sha256=cZxd5H6Ysd9989SNyyEYGf3HSxxqPIfH4gB_Hiofh3w,556
|
|
2
2
|
remotion_lambda/exception.py,sha256=DRIFAEDMEmafiSKOyEZfC4vydExAulHKmucnWNBkSVY,462
|
|
3
|
-
remotion_lambda/models.py,sha256=
|
|
3
|
+
remotion_lambda/models.py,sha256=8Yt11GvlwE1dt8tT-xRWhmlElw3wn95a-N7qWdQ4Llc,18907
|
|
4
4
|
remotion_lambda/remotionclient.py,sha256=yOFW3KbZ2omVbEm4Ee3HSTiwubGVxZQEdE3HEq33KjQ,27908
|
|
5
|
-
remotion_lambda/version.py,sha256=
|
|
5
|
+
remotion_lambda/version.py,sha256=8DWLisSZgP71xb4nIiKKYmk3ixfoC_ssQWDsDDP5bes,85
|
|
6
6
|
tests/__init__.py,sha256=PfyCVboBHUaECDAGa3WmuoObGaqS5KoNyINSCSr1Fpk,126
|
|
7
7
|
tests/conftest.py,sha256=OxEmAutNp9pz_PMxSJDCivxEDxTUfz5Eode3FJ9C0Q0,960
|
|
8
8
|
tests/constants.py,sha256=NvFePQyrVeaMHZipykRFtLOylZmwC1qQl5dOP1UxrGE,184
|
|
@@ -11,8 +11,8 @@ tests/test_large_payload_compression.py,sha256=bn_pNe5rgAu3iAJ32_fDklFHqupHoTC7A
|
|
|
11
11
|
tests/test_remotion_client.py,sha256=lOuLAymcVze3NBpecjkmgySLjK-DDW6oaeGVbjfjWmM,15244
|
|
12
12
|
tests/test_render_client_render_media.py,sha256=dMSj83WG3VbUYzL2gmxvWGRaVB6psihY524sWfTGtaA,1378
|
|
13
13
|
tests/test_render_client_render_still.py,sha256=iHlZLknToC_GE_RQlpieask7MFnYBDCv2Nx_l2b6KVA,837
|
|
14
|
-
remotion_lambda-4.0.
|
|
15
|
-
remotion_lambda-4.0.
|
|
16
|
-
remotion_lambda-4.0.
|
|
17
|
-
remotion_lambda-4.0.
|
|
18
|
-
remotion_lambda-4.0.
|
|
14
|
+
remotion_lambda-4.0.410.dist-info/LICENSE,sha256=8DSskQSRMoxGISwxyzO7PGnNwb3yIHVN6BFfYQAbM5Y,2496
|
|
15
|
+
remotion_lambda-4.0.410.dist-info/METADATA,sha256=LbjE2-ZVitirirGsQ-stUSMIgsiLPFAOPs8rmLFZ8t4,429
|
|
16
|
+
remotion_lambda-4.0.410.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
|
|
17
|
+
remotion_lambda-4.0.410.dist-info/top_level.txt,sha256=KGg3T8YRjpW7esK8KPt-dNNEpyMqL8eU39H3CzrxoI8,38
|
|
18
|
+
remotion_lambda-4.0.410.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|