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
A media feed is simply a specified pre-defined combination of audio and video feeds. The following is a table of all available media feeds and the underlying audio and video feeds that they get remapped to.
Media type | Audio feed | Video feed |
---|---|---|
240p Video + Audio feed | 128kbps audio feed | 240p @ 30FPS dynamic video |
360p Video + Audio feed | 128kbps audio feed | 360p @ 30FPS dynamic video |
480p Video + Audio feed | 128kbps audio feed | 480p @ 30FPS dynamic video |
720p Video + Audio feed | 128kbps audio feed | 720p @ 30FPS dynamic video |
1080p Video + Audio feed | 128kbps audio feed | 1080p @ 30FPS dynamic video |
240p marked video + -50dB audio feed | -50dB audio feed | 240p @ 30FPS meeting video |
360p marked video + -50dB audio feed | -50dB audio feed | 360p @ 30FPS meeting video |
480p marked video + -50dB audio feed | -50dB audio feed | 480p @ 30FPS meeting video |
720p marked video + -50dB audio feed | -50dB audio feed | 720p @ 30FPS meeting video |
720p marked video + DTMF audio | DTMF tone audio feed | 720p @ 30FPS meeting video |
1080p marked video + -50dB audio feed | -50dB audio feed | 1080p video feed with top left side marker |
1080p marked video + -20dB audio feed | -20dB audio feed | 1080p @ 30FPS meeting video |
1080p marked video + -30dB audio feed | -30dB 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 @ 5FPS dynamic video | 426 x 240 | 5 | 6 134 |
240p @ 15FPS dynamic video | 426 x 240 | 15 | 18 403 |
240p @ 30FPS dynamic video | 426 x 240 | 30 | 36 807 |
240p @ 30FPS meeting video | 426 x 240 | 30 | 36 807 |
360p @ 5FPS dynamic video | 640 x 360 | 5 | 13 824 |
360p @ 15FPS dynamic video | 640 x 360 | 15 | 41 472 |
360p @ 30FPS dynamic video | 640 x 360 | 30 | 82 945 |
360p @ 30FPS meeting video | 640 x 360 | 30 | 82 945 |
480p @ 5FPS dynamic video | 854 x 480 | 5 | 24 595 |
480p @ 15FPS dynamic video | 854 x 480 | 15 | 73 786 |
480p @ 30FPS dynamic video | 854 x 480 | 30 | 147 572 |
480p @ 30FPS meeting video | 854 x 480 | 30 | 147 572 |
720p @ 5FPS dynamic video | 1280 x 720 | 5 | 55 296 |
720p @ 15FPS dynamic video | 1280 x 720 | 15 | 165 888 |
720p @ 30FPS dynamic video | 1280 x 720 | 30 | 331 777 |
720p @ 30FPS meeting video | 1280 x 720 | 30 | 331 777 |
1080p @ 5FPS dynamic video | 1920 x 1080 | 5 | 124 416 |
1080p @ 15FPS dynamic video | 1920 x 1080 | 15 | 373 248 |
1080p @ 30FPS dynamic video | 1920 x 1080 | 30 | 746 497 |
1080p @ 30FPS meeting video | 1920 x 1080 | 30 | 746 497 |
1080p @ 30FPS clean meeting video | 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. Additionally meeting video feeds have markers added, located in the middle of the bottom edge.
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.
1080p @ 30FPS clean meeting video
is a conference style content without QR
markings.
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!
Deprecated video feeds
These video feeds are no longer available in Loadero. Test configurations using these feeds will get remapped in the following way.
Deprecated video feed | Remapped video feed |
---|---|
240p video feed | 240p @ 30FPS dynamic video |
360p video feed | 360p @ 30FPS dynamic video |
480p video feed | 480p @ 30FPS dynamic video |
720p video feed | 720p @ 30FPS dynamic video |
1080p video feed | 1080p @ 30FPS dynamic video |
240p video feed with top left side marker | 240p @ 30FPS meeting video |
360p video feed with top left side marker | 360p @ 30FPS meeting video |
480p video feed with top left side marker | 480p @ 30FPS meeting video |
720p video feed with top left side marker | 720p @ 30FPS meeting video |
720p video feed with marker | 720p @ 30FPS meeting video |
1080p video feed with center marker | 1080p @ 30FPS meeting video |