Media #
One of the main features of Loadero 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 or Nightwatch, so this requires some custom actions to accomplish.
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 webcam and microphone that physical machine could have.
Available media types:
- 240p Video + Audio feed
- 360p Video + Audio feed
- 480p Video + Audio feed
- 720p Video + Audio feed
- 720p Marked Video + DTMF Audio feed
- 1080p Video + Audio feed
- 1080p Marked Video + -20dB Audio feed
- 1080p Marked Video + -30dB Audio feed
- 1080p Marked Video + -50dB Audio feed
In-depth video files comparison (based on ffprobe
data)
#
Media file | Dimensions, px | Aspect ratio | FPS | Video bitrate, kbps (uncompressed) |
---|---|---|---|---|
240p Video + Audio feed | 426x240 | 16:9 | 30 | 36 807 |
360p Video + Audio feed | 640x360 | 16:9 | 30 | 82 945 |
480p Video + Audio feed | 852x480 | 16:9 | 30 | 147 227 |
720p Video + Audio feed | 1280x720 | 16:9 | 30 | 331 777 |
720p Marked Video + DTMF Audio feed | 1280x720 | 16:9 | 25 | 276 481 |
1080p Video + Audio feed | 1920x1080 | 16:9 | 30 | 746 497 |
1080p Marked Video + -20dB Audio feed | 1920x1080 | 16:9 | 29.97 | 745 751 |
1080p Marked Video + -30dB Audio feed | 1920x1080 | 16:9 | 30 | 746 497 |
1080p Marked Video + -50dB Audio feed | 1920x1080 | 16:9 | 30 | 746 497 |
#
In-depth audio files comparison (based on ffprobe
data)
#
Media file | Sample rate, kHz | Number of channels | Audio bitrate, kbps (uncompressed) |
---|---|---|---|
240p Video + Audio feed | 44,1 | 2 | 1 411 |
360p Video + Audio feed | 44,1 | 2 | 1 411 |
480p Video + Audio feed | 44,1 | 2 | 1 411 |
720p Video + Audio feed | 44,1 | 2 | 1 411 |
720p Marked Video + DTMF Audio feed | 44,1 | 2 | 1 411 |
1080p Video + Audio feed | 44,1 | 2 | 1 411 |
1080p Marked Video + -20dB Audio feed | 44,1 | 2 | 1 411 |
1080p Marked Video + -30dB Audio feed | 44,1 | 2 | 1 411 |
1080p Marked Video + -50dB Audio feed | 44,1 | 2 | 1 411 |
Media types that supply only audio or only video are not provided - these scenarios should be solved on the web app itself!
Media selection is applied to Google Chrome browser only. In order to use the built-in media feed of Google Chrome, you can set up the media type for the participant to Default. For Mozilla Firefox browser built-in fake media feed will always be used