Media #
One of Loadero’s features is the ability to supply fake media feeds during tests. This feature mainly concerns services that require a webcam or microphone to fully cover app logic. By default, this functionality is not provided by Selenium, Nightwatch, Py-TestUI, and TestUI but in Loadero supplying fake media feeds can be accomplished by simply selecting the desired audio and video feed type.
Loadero offers fake media feed out of the box for all tests running through Loadero. During participant configuration, media type can be selected. This media feed will be used to simulate a webcam and a microphone that a physical machine could have. Different types of fake media allow simulating users with higher or lower resolution cameras.
A media type is a combination of audio and video feeds. Loadero offers to choose one of multiple pre-defined media types or to configure a custom audio/video feed combination.
Media types and their components #
Media type | Audio feed | Video feed |
---|---|---|
240p Video + Audio feed | 128kbps audio feed | 240p 30 FPS video feed |
240p Marked Video + -50dB Audio feed | -50dB audio feed | 240p video feed with top left side marker |
360p Video + Audio feed | 128kbps audio feed | 360p 30 FPS video feed |
360p Marked Video + -50dB Audio feed | -50dB audio feed | 360p video feed with top left side marker |
480p Video + Audio feed | 128kbps audio feed | 480p 30 FPS video feed |
480p Marked Video + -50dB Audio feed | -50dB audio feed | 480p video feed with top left side marker |
720p Video + Audio feed | 128kbps audio feed | 720p 30 FPS video feed |
720p Marked Video + DTMF Audio feed | DTMF tone audio feed | 720p video feed with marker |
720p Marked Video + -50dB Audio feed | -50dB audio feed | 720p video feed with top left side marker |
1080p Video + Audio feed | 128kbps audio feed | 1080p 30 FPS video feed |
1080p Marked Video + -20dB Audio feed | -20dB audio feed | 1080p video feed with center marker |
1080p Marked Video + -30dB Audio feed | -30dB audio feed | 1080p video feed with top left side marker |
1080p Marked Video + -50dB Audio feed | -50dB audio feed | 1080p video feed with top left side marker |
Built-In Video + Audio feed
media setting suppllies browser built-in audio and
video feeds.
Media selection is applied to Google Chrome browser only. For Mozilla Firefox browser built-in fake media feed will be always used.
Marked video files with -50dB audio feed differ from other media files as they provide more static media feed which has a closer resemblance to a webcam feed.
Custom media feeds #
Selecting Custom
as the participant’s media type allows configuring audio and
video feeds separately.
Custom media feed is a combination of audio and video feed values.
Audio feed values and their properties (based on ffprobe
data)
#
Audio feed | Sample rate, kHz | Number of channels | Audio bitrate, kbps (uncompressed) |
---|---|---|---|
DTMF tone audio feed | 44,1 | 2 | 1 411 |
128kbps audio feed | 44,1 | 2 | 1 411 |
-20dB audio feed | 44,1 | 2 | 1 411 |
-30dB audio feed | 44,1 | 2 | 1 411 |
-50dB audio feed | 44,1 | 2 | 1 411 |
Silent audio feed | 44,1 | 2 | 1 411 |
ViSQOL speech audio feed | 44,1 | 2 | 1 411 |
ViSQOL speech audio feed is an audio feed of human speech.
Default audio feed
supplies the browser built-in audio feed.
Video feed values and their properties (based on ffprobe
data)
#
Video feed | Dimensions px | FPS | Video bitrate kbps (uncompressed) |
---|---|---|---|
240p 5 FPS video feed | 426 x 240 | 5 | 6 134 |
240p 15 FPS video feed | 426 x 240 | 15 | 18 403 |
240p 30 FPS video feed | 426 x 240 | 30 | 36 807 |
240p meeting video feed | 426 x 240 | 30 | 36 807 |
240p video feed with top left side marker | 426 x 240 | 30 | 36 807 |
360p 5 FPS video feed | 640 x 360 | 5 | 13 824 |
360p 15 FPS video feed | 640 x 360 | 15 | 41 472 |
360p 30 FPS video feed | 640 x 360 | 30 | 82 945 |
360p meeting video feed | 640 x 360 | 30 | 82 945 |
360p video feed with top left side marker | 640 x 360 | 30 | 82 945 |
480p 5 FPS video feed | 854 x 480 | 5 | 24 595 |
480p 15 FPS video feed | 854 x 480 | 15 | 73 786 |
480p 30 FPS video feed | 854 x 480 | 30 | 147 572 |
480p meeting video feed | 854 x 480 | 30 | 147 572 |
480p video feed with top left side marker | 852 x 480 | 30 | 147 227 |
720p 5 FPS video feed | 1280 x 720 | 5 | 55 296 |
720p 15 FPS video feed | 1280 x 720 | 15 | 165 888 |
720p 30 FPS video feed | 1280 x 720 | 30 | 331 777 |
720p countdown video feed | 1280 x 720 | 25 | 276 481 |
720p meeting video feed | 1280 x 720 | 30 | 331 777 |
720p video feed with marker | 1280 x 720 | 25 | 276 481 |
720p video feed with top left side marker | 1280 x 720 | 30 | 331 777 |
1080p 5 FPS video feed | 1920 x 1080 | 5 | 124 416 |
1080p 15 FPS video feed | 1920 x 1080 | 15 | 373 248 |
1080p 30 FPS video feed | 1920 x 1080 | 30 | 746 497 |
1080p video feed with center marker | 1920 x 1080 | 30 | 746 497 |
1080p meeting video feed | 1920 x 1080 | 30 | 746 497 |
1080p video feed with top left side marker | 1920 x 1080 | 30 | 746 497 |
All video feeds have an aspect ratio of 16 : 9.
Meeting video feeds are intended to look similar to an average online meeting video call.
The Countdown video feed displays a downwards counting timer.
A video feed marker is a QR code rendered on video feed input that changes every frame. This allows determining the frame rate of the video output.
Default video feed
supplies the browser’s built-in video feed.
Custom audio feed and video feed configuration will take priority if the media type is also supplied.
Media types that supply only audio or only video are not provided - these scenarios should be solved on the web app itself!