B2G/QA/WebAPI Test Plan/Media Playback
< B2G | QA | WebAPI Test Plan
Jump to navigation
Jump to search
B2g Media Playback Tests
Summary
| Lead | David Clarke (irc: onecyrenus) |
| Contributors | TBD |
| Description | Get notification when screen orientation changes as well as control which screen orientation a page/app wants. |
| Developer | Chris Double |
| Project Page | |
| Media Playback Tracking Bugs | |
| API Status | Delivered and ready for test |
Scope
This test plan covers functional testing for Media Playback on the B2G platform. Media Types included in this are ogg, webm, mp3, mp4.
Strategy
The strategy behind this test plan will be to gain feature parity with the android platform in the playback of audio and video, as well as capture a good aesthetic.
Testing will be separated by audio / video, and then further by formats, and then further by features and capabilities.
Audio
Ogg
- Pick an Audio File: b2g.ogg B2G
- Play Audio
- Pause
- Forward Seek
- Reverse Seek
- Sleep Phone / Wake (Verify Audio continues to play)
Mp3
- Pick an Audio File: b2g.ogg B2G
- Play Audio
- Pause
- Forward Seek
- Reverse Seek
- Sleep Phone / Wake (Verify Audio continues to play)
Capabilities / Features
Streaming
- Buffered Playback to reduce jitter
- Redirects followed ?
- Closing the app stops the playback
- Immediately play and close the app several times
Screen Orientation
- Change Screen Orientation, verification here is that video orientation changes.
- Also verify any onscreen buttons or queues have changed orientation as well
Bluetooth
- Ability to switch audio output between bluetooth, speakerphone
Capabilities / Features
Headphone, Bluetooth, HTML5MediaElement, Streaming, Music App
Video
Ogg
- Pick an Video File: b2g.ogg B2G
- Play Video
- Pause
- Forward Seek
- Reverse Seek
- Sleep Phone / Wake (Verify Video continues to play)
- Ability to FullScreen
Mp4
- Pick an Video File: b2g.ogg B2G
- Play Video
- Pause
- Forward Seek
- Reverse Seek
- Sleep Phone / Wake (Verify Video continues to play)
- Ability to FullScreen
WebM
- Pick an Video File: b2g.ogg B2G
- Play Video
- Pause
- Forward Seek
- Reverse Seek
- Sleep Phone / Wake (Verify Video continues to play)
- Ability to FullScreen
Capabilities / Features
Streaming
- Buffered Playback to reduce jitter
- Redirects followed ?
- Closing the app stops the playback
- Immediately play and close the app several times
Screen Orientation
- Change Screen Orientation, verification here is that video orientation changes.
- Also verify any onscreen buttons or queues have changed orientation as well
Bluetooth
- Ability to switch audio output between bluetooth, speakerphone