|
|
Line 755: |
Line 755: |
| }; | | }; |
| </pre> | | </pre> |
|
| |
| = Plugin Startup and Service Discovery =
| |
|
| |
| The current process of starting a plugin involves some differences on various platforms. In Pepper, the plugin must export
| |
|
| |
| <pre>
| |
| NPError API_CALL NP_Initialize(NPNetscapeFuncs* pNFuncs,
| |
| NPPluginFuncs* pPFuncs);
| |
| </pre>
| |
|
| |
| and
| |
|
| |
| <pre>
| |
| NPError NP_Shutdown(void);
| |
| </pre>
| |
|
| |
| There is no requirement for NP_GetEntryPoints.
| |
|
| |
| Browsers currently determine which plugins provide support for which mime types by various mechanisms. A common trait of these mechanisms is the idea that the browser must load each plugin in succession to invoke an API to determine the types it provides. A single method not involving loading all the plugins is desired, but remains to be done.
| |
|
| |
|
| = Pepper Audio = | | = Pepper Audio = |