Closed JuanJEA closed 4 years ago
Hello,
For sending another fake media, you can change the client's JSON in the config file as so:
"clients": [
{
"name": "Publisher",
"browserName": "chrome",
"platform": "LINUX",
"headless": true,
"count": 1,
"video": {
"directory": "path_to_video_file",
"filename": "video_file_name",
"duration": "01:00:00",
"type": "Video"
},
"audio": {
"directory": "path_to_audio_file",
"filename": "audio_file_name",
"duration": "01:00:00",
"type": "Audio"
}
}
]
For example if you have a video at /home/ubuntu/videos/video.y4m
, path_to_video_file
will be /home/ubuntu/videos
and video_file_name
will be video.y4m
. If you are using a remote grid, just make sure that the files exist on the machine where the webdriver is being spawned, not the machine where you run the test.
For the duration of the test, you can change it in the config file, this is in ms
:
And in the test class (JanusEchoTest.java in this case):
Let me know how it goes!
Hi, thanks for the help. I already tried adding your recommendations to the file "echo.janus.config.json", however when running the test it shows me a message indicating: "No Capture device found". I tried using mp4, y4m, and vid files
I also tried changing the file: "JanusEchoTest.java" but it throws an error when trying to recompile.
Thanks
Hi,
You also need to add this on top of the JanusSchoTest
import io.cosmosoftware.kite.steps.StayInMeetingStep;
I'll take a look at the video file
Your path to video file doesn't look right, I am able to run with the following:
Your path to video file doesn't look right, I am able to run with the following:
Thanks again for your help.
I can already manipulate the test execution time, however with the video even though this changing the address to the suggested format, I still get the same message: "No Capture device found".
Any new idea?
This is my configuration file:
videoroom.janus.config.json.txt
Upgrade: I also tried the directory in the following way:
Does the default video with which the test is performed, have features similar to the video you can capture with a webcam?
Thank you.
Any new ideas, or suggestions. I tried some things, however it failed to change the video, my intention is to be able to do the test with a heavier video than the current one. Thanks...
Hello, As it is, it is expected to use .y4m files for chrome and .mp4 for firefox. You can find samples here: https://media.xiph.org/video/derf/ As only one file format is available for the browser, only the filename should be written in the config file and not the extension.
closed due to no activity
Hello, I have been using this tool to test a Janus server that we have implemented, I would like to try to send the ecotest a heavier video than the one it brings, and that the tests run for longer than the one that comes by default, they could advise me to achieve this please. Are there any files that I need to modify in order to make these adjustments in the tests, both for ecotest and for videoroom?
If this is not the right place to raise my query, I appreciate you letting me know the right one.
Thanks.