Media Debugging Tips: Difference between revisions

Jump to navigation Jump to search
m
cleanup
m (nit)
m (cleanup)
Line 82: Line 82:
# Install [https://www.mozilla.org/en-US/firefox/channel/desktop/ Firefox Nightly] on the test device and open the browser. The test device should be a clean system that has not had Firefox installed on it prior. If the test device does have existing Firefox installs, open Firefox Nightly and open about:profiles. Create a [https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles new profile for testing purposes], and launch a browser using this profile.
# Install [https://www.mozilla.org/en-US/firefox/channel/desktop/ Firefox Nightly] on the test device and open the browser. The test device should be a clean system that has not had Firefox installed on it prior. If the test device does have existing Firefox installs, open Firefox Nightly and open about:profiles. Create a [https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles new profile for testing purposes], and launch a browser using this profile.
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
# Once Firefox is open and running in a clean profile, check for browser updates via the Help menu -> About option. If there are browser updates available, apply them and then restart the browser.  
# Once Firefox is open and running in a clean profile with updates applied, open a tab and visit https://profiler.firefox.com/ and enable the Firefox Profiler Button. In the dropdown menu on the button, select the 'Media' setting. Close Firefox Nightly. (For general information on how to use the profiler, visit the documentation site.)
# Once Firefox is open and running in a clean profile with updates applied, open a tab and visit https://profiler.firefox.com/ and enable the Firefox Profiler Button. For general information on how to use the profiler, visit the documentation site.


'''Generating a Firefox Profile with logs'''
'''Generating a Firefox Profile with logs'''
Line 92: Line 92:
# Launch Firefox again using the same profile.
# Launch Firefox again using the same profile.
# In the browser, open a tab and view about:logging.
# In the browser, open a tab and view about:logging.
# Add <b>timestamp,sync,GMP:5,EME:5</b> to the media preset 'new log modules' text and click on 'Set Log Modules'.
# Enter <b>timestamp,sync,GMP:5,EME:5</b> to the 'new log modules' text and click on 'Set Log Modules'.
# Under Output choose 'Logging to the Firefox Profiler' and check the 'Enable stack traces for log messages' checkbox.
# Under Output choose 'Logging to the Firefox Profiler' and check the 'Enable stack traces for log messages' checkbox.
# In about:logging, click the 'Start Logging' button.
# In about:logging, click the 'Start Logging' button.
Confirmed users
1,983

edits

Navigation menu