blob: c70144355dc4eb3172634939a6df58f31548a069 [file] [log] [blame]
AUTHOR = "puthik"
NAME = "power_VideoCall.16_h264"
PURPOSE = "Simulates video call."
# TEST IS DISABLED UNTIL MIGRATED TO PYTHON 3.
# For instructions on how to: go/tauto-py3-migration
# To re-enable migrate to Python 3.
# If the test is not migrated by 1/14/22 it will be deleted.
CRITERIA = "This test is a benchmark."
TIME = "MEDIUM"
TEST_CATEGORY = "Benchmark"
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """
This test simulates video call and record power related statistic.
Workload
- Camera preview in 270p using VP8 codec.
- 16 270p 24fps H264 video playback.
The run time is 3 minutes.
"""
video_url = 'http://crospower.page.link/power_VideoCall_' + NAME.split('.')[1]
args_dict = utils.args_to_dict(args)
pdash_note = args_dict.get('pdash_note', '')
job.run_test('power_VideoCall', pdash_note=pdash_note, tag=NAME.split('.')[1],
video_url=video_url, num_video=17, duration=180, seconds_period=5,
multitask=False)