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 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 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 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 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 marke|
|1080p Video + Audio feed||128kbps audio feed||1080p 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 #
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
|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|
Default audio feed supplies the browser built-in audio feed.
Video feed values and their properties (based on
|Video feed||Dimensions, px||Aspect ratio||FPS||Video bitrate, kbps (uncompressed)|
|240p video feed||426x240||16:9||30||36 807|
|240p video feed with top left side marker||426x240||16:9||30||36 807|
|360p video feed||640x360||16:9||30||82 945|
|360p video feed with top left side marker||640x360||16:9||30||82 945|
|480p video feed||852x480||16:9||30||147 227|
|480p video feed with top left side marker||852x480||16:9||30||147 227|
|720p video feed||1280x720||16:9||30||331 777|
|720p video feed with marker||1280x720||16:9||25||276 481|
|720p video feed with top left side marker||1280x720||16:9||30||331 777|
|1080p video feed||1920x1080||16:9||30||746 497|
|1080p video feed with center marker||1920x1080||16:9||29.97||745 751|
|1080p video feed with top left side marker||1920x1080||16:9||30||746 497|
Default video feed supplies the browser’s built-in video feed.
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.
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!