Media Debugging Tips: Difference between revisions

Jump to navigation Jump to search
drm changes
(drm changes)
Line 63: Line 63:
=== Gecko Media Plugin Logging Collection ===
=== Gecko Media Plugin Logging Collection ===


For DRM content (Amazon Prime, Netflix) it can be helpful to generate EME related logging. The steps to produce these logs are bit more involved compared to basic media playback logging but are worth the effort when tracking down these types of issues. Try these steps:<br/>
For DRM content (Amazon Prime, Netflix) it can be helpful to generate EME related logging. Logs are generated for both the browser and Gecko Media Plugin (GMP) child processes. The steps to produce these logs are bit more involved compared to basic media playback logging but are worth the effort when tracking down drm related issues.
 
<br/>
The 'GMP' and 'EME' moz log modules are useful when debugging streaming service  related issues. Generating these logs is a bit involved though.
 
Logs are generated for both the browser and gmp child processes. When debugging on Windows, the gmp sandbox needs to be disabled for the logging feature to access the file system (see below).
<br/>
<br/>
Platform Specifics
Platform Specifics
<br/>
* On Windows, Firefox will install by default under C:\Program Files\Firefox Nightly.
* On Windows, Firefox will install by default under C:\Program Files\Firefox Nightly.
* On Windows, the GMP sandbox must be disabled for local file log generation. (see below).
General testing setup steps -  
General testing setup steps -  
<br/>
<br/>
Line 79: Line 78:
Generating a Firefox Profile with logs -  
Generating a Firefox Profile with logs -  
<br/>
<br/>
# Open a command line console and browse to the install location for Firefox Nightly.
# Launch Firefox using a clean profile from a command console (firefox.exe -p profilename (return))
# On Windows, enter 'set MOZ_DISABLE_GMP_SANDBOX=1'(return)
# In the browser, open a tab and view about:logging
# Launch Firefox using a clean profile from the command console (firefox.exe (return) or firefox.exe -p (return))
In the browser, open a tab and view about:logging
# Enter 'timestamp,sync,GMP:5,EME:5' in the 'new log modules' text edit and click on 'Set Log Modules'
# Enter 'timestamp,sync,GMP:5,EME:5' in the 'new log modules' text edit 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.
Confirmed users
1,983

edits

Navigation menu