Video not showing
LDanchenko opened this issue · 21 comments
Hello!
We started to use malleus.sh script with selenium grid:
./scripts/malleus.sh --conferences=1 --participants=20 --senders=10 --audio-senders=10 --duration=210 --room-name-prefix=Brawnewtest --hub-url=http://ip:4444/wd/hub --instance-url=https://jitsiturl.com --debug
But we see less video senders in conference, we run scripts with debug options, but script did not notify any errors:
[WARNING] Tests run: 406, Failures: 0, Errors: 0, Skipped: 405, Time elapsed: 303.027 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 400, Failures: 0, Errors: 0, Skipped: 399
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 05:05 min
[INFO] Finished at: 2021-09-14T14:40:42-04:00
[INFO] ------------------------------------------------------------------------
Do you have startAudioMuted
and startVideoMuted
configured in your deployment?
Also, make sure your selenium nodes are not overloaded.
I did not set startAudioMuted and startVideoMuted, where I should set it?
I am running selenium nodes:
java -Dwebdriver.chrome.driver=chromedriver -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig node.json -debug
with json configuration "maxInstances": 100,
because we need to run test with at least 100 users on server with 40 cores.
I did not set startAudioMuted and startVideoMuted, where I should set it?
On the deployment you test.
I am running selenium nodes:
java -Dwebdriver.chrome.driver=chromedriver -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig node.json -debug
with json configuration "maxInstances": 100,
because we need to run test with at least 100 users on server with 40 cores.
Check the CPU and RAM usage on the machine ... we had always tested this with many nodes, not with a single powerful node ...
Thank you, we started running test with 100 senders, but all videos are blinking. Also I can see that there is no load on the jitsi server. I ran selenium chrome on different nodes, 10 chrome on node. Could you tell me please, what the problem is? We used video in .y4m format.
Also we set startAudioMuted and startVideoMuted in jitsi, all videos are displayed, but blink - disappear and appear.
That might be a bug in the JVB and not in your setup 😨
@damencho please tell me what you think about this issue?
Where do you put the video file?
Video in resources directory, on node with Selenium hub.
You mean the file FourPeople_1280x720_30.y4m is in /usr/share/jitsi-meet-torture/resources/?
Wait you say videos are blinking? You mean, there is video you just see it blinking when you join the load test room and your 100 senders are in?
Try being 3 participants in the room (so no p2p) ... wait for at least 30 seconds so your bandwidth estimation can ramp up on the bridge and then start the test with 100 senders, does that change anything?
Hi
I also have the same problem, can't see the video. Below is the summay of my environment status:
- run with command ./scripts/malleus.sh --conferences=1 --participants=3 --senders=1 --duration=300 --room-name-prefix=omatest --hub-url=http://localhost:4444/wd/hub --instance-url=https://{self-host-domain}
- run with Selenium Grid installed on same desktop, and copy the resources to the docker (the docker image was built from selenium/node-chrome:beta)
- Jitsi server keep startAudioMuted and startVideoMuted as masked, without modified
- Test desktop loading: cpu ~25% and memory ~65%
- The Selenium node screen as below(no video show)
Any suggestion about this?
BR.
Omaca
Are you using this docker file to build the images?
https://github.com/jitsi/jitsi-meet-torture/blob/master/doc/grid/Dockerfile
Like this
https://github.com/jitsi/jitsi-meet-torture/tree/master/doc/grid#images
The guide there should be working, follow that to create the grid and use it.
I can confirm that i am also not seeing any video.
When i check from docker container
`sudo docker run jitsi/standalone-chrome ls /usr/share/jitsi-meet-torture/resources
fakeAudioStream_license.txt
fakeAudioStream-lipsync.wav
fakeAudioStream.wav
fakeVideoStream.y4m
FourPeople_1280x720_30.y4m
PSNRVideoOperator.js
`
I can see that video is in proper location, but when i join the test conference neither of participants have video.
Do we need to set any specific variable or something else to point to this video prior to starting test ? @damencho
Ou i figured out that it have something to do with senders_per_node and senders_per_tab.
When i deleted those arguments i can now see the video.
Maybe because use-load-test was not set ?
Do we need any specific config on jitsi-meet to be enable in order for this to work properly