Skip to content

🎥 Make videos programmatically with React

revert testing update

Alex Fernandeze28ade42c6d0
diff --git a/packages/example/testlambdaintegrations.mjs b/packages/example/testlambdaintegrations.mjs
index fb4ea5d2e9..5b08a8f114 100644
--- a/packages/example/testlambdaintegrations.mjs
+++ b/packages/example/testlambdaintegrations.mjs
@@ -5,7 +5,7 @@ const functionName = execSync(`pnpm exec remotion lambda functions ls -q`)
.trim()
.split(' ')[0];
-/* Console.log('=== PHP ===');
+console.log('=== PHP ===');
execSync(`php src/render.php`, {
env: {
// eslint-disable-next-line no-undef
@@ -16,10 +16,10 @@ execSync(`php src/render.php`, {
},
cwd: '../lambda-php-example',
stdio: 'inherit',
-}); */
-/*
-console.log('=== Python ===');
-execSync(`python testclient.py`, {
+});
+
+console.log('=== Python(render media) ===');
+execSync(`python testclient_render_media.py`, {
env: {
// eslint-disable-next-line no-undef
...process.env,
@@ -31,13 +31,12 @@ execSync(`python testclient.py`, {
stdio: 'inherit',
});
- */
-console.log('=== Python ===');
+console.log('=== Python(render still) ===');
execSync(`python testclient_render_still.py`, {
env: {
// eslint-disable-next-line no-undef
...process.env,
- REMOTION_APP_REGION: 'us-east-1',
+ REMOTION_APP_REGION: 'eu-central-1',
REMOTION_APP_FUNCTION_NAME: functionName,
REMOTION_APP_SERVE_URL: 'testbed-v6',
},
diff --git a/packages/lambda-python/testclient_render_media.py b/packages/lambda-python/testclient_render_media.py
index 90243c2028..87339c6e3a 100644
--- a/packages/lambda-python/testclient_render_media.py
+++ b/packages/lambda-python/testclient_render_media.py
@@ -1,5 +1,5 @@
-from remotion_lambda import RenderParams, RenderProgressParams
+from remotion_lambda import RenderMediaParams
from remotion_lambda import RemotionClient
import os
from dotenv import load_dotenv
@@ -26,7 +26,7 @@ client = RemotionClient(region=REMOTION_APP_REGION,
function_name=REMOTION_APP_FUNCTION_NAME)
# Set render request
-render_params = RenderParams(
+render_params = RenderMediaParams(
composition="react-svg",
data={
'hi': 'there'