17. rv_video module¶
rv_video.py - Starts video player. Video is played in a loop, usually kill_app test should be called later to close totem.
TEST IS UNFINISHED. AND IS USELESS NOW.
17.1. Test env¶
GuestOS - is Linux.
17.2. Requirements for GuestOS¶
- totem - is simple movie player for the GNOME desktop.
- gnome-session.
- png2theora -o 1.ogv -v 10 -f ‘1’ -F 1 ‘%d.png’
-
rv_video.deploy_video_file(test, vm_obj, params)¶ Deploy video file into destination on vm.
Parameters: - vm_obj (type) –
- vm object
- param – Dictionary with the test parameters.
- vm_obj (type) –
-
rv_video.launch_totem(session)¶ Launch Totem player and play video file.
Parameters: session (RvSession) – remote-viewer session
-
rv_video.run_rv_video(test, params, env)¶ Test of video through spice
@param test: KVM test object. @param params: Dictionary with the test parameters. @param env: Dictionary with test environment.