GeckoMediaPlugins: Difference between revisions

change content/media to dom/media to reflect recent source rename.
No edit summary
(change content/media to dom/media to reflect recent source rename.)
Line 75: Line 75:
There is a base Gecko Media Plugin API that allows more specific APIs to be requested. The API is described in code by the text file located at:
There is a base Gecko Media Plugin API that allows more specific APIs to be requested. The API is described in code by the text file located at:


<code>content/media/gmp/gmp-api</code>
<code>dom/media/gmp/gmp-api</code>


in any copy of the Gecko source code that includes GMP support. <code>GMPGetAPI</code> returns a void pointer which can be cast to the structure defined for any specific API, such as video encoding or decoding.
in any copy of the Gecko source code that includes GMP support. <code>GMPGetAPI</code> returns a void pointer which can be cast to the structure defined for any specific API, such as video encoding or decoding.
Confirmed users
91

edits