Media

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 typeAudio feedVideo feed
240p Video + Audio feed128kbps audio feed240p video feed
240p Marked Video + -50dB Audio feed-50dB audio feed240p video feed with top left side marker
360p Video + Audio feed128kbps audio feed360p video feed
360p Marked Video + -50dB Audio feed-50dB audio feed360p video feed with top left side marker
480p Video + Audio feed128kbps audio feed480p video feed
480p Marked Video + -50dB Audio feed-50dB audio feed480p video feed with top left side marker
720p Video + Audio feed128kbps audio feed720p video feed
720p Marked Video + DTMF Audio feedDTMF tone audio feed720p video feed with marker
720p Marked Video + -50dB Audio feed-50dB audio feed720p video feed with top left side marke
1080p Video + Audio feed128kbps audio feed1080p video feed
1080p Marked Video + -20dB Audio feed-20dB audio feed1080p video feed with center marker
1080p Marked Video + -30dB Audio feed-30dB audio feed1080p video feed with top left side marker
1080p Marked Video + -50dB Audio feed-50dB audio feed1080p 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 feedSample rate, kHzNumber of channelsAudio bitrate, kbps (uncompressed)
DTMF tone audio feed44,121 411
128kbps audio feed44,121 411
-20dB audio feed44,121 411
-30dB audio feed44,121 411
-50dB audio feed44,121 411

Default audio feed supplies the browser built-in audio feed.

Video feed values and their properties (based on ffprobe data) #

Video feedDimensions, pxAspect ratioFPSVideo bitrate, kbps (uncompressed)
240p video feed426x24016:93036 807
240p video feed with top left side marker426x24016:93036 807
360p video feed640x36016:93082 945
360p video feed with top left side marker640x36016:93082 945
480p video feed852x48016:930147 227
480p video feed with top left side marker852x48016:930147 227
720p video feed1280x72016:930331 777
720p video feed with marker1280x72016:925276 481
720p video feed with top left side marker1280x72016:930331 777
1080p video feed1920x108016:930746 497
1080p video feed with center marker1920x108016:929.97745 751
1080p video feed with top left side marker1920x108016:930746 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!