89
edits
Line 699: | Line 699: | ||
</pre> | </pre> | ||
= Plugin | = Plugin Startup and Service Discovery = | ||
The current process of | 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> | <pre> | ||
NPError NP_Shutdown(void); | |||
</pre> | </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 = |
edits