Change the Implementation details:

>Implementation details:

>Crosswalk for tizen has its own independent media playing pipeline. So, we 
>can't use Tizen's media API. Here is our plan:



>Utilize the existed API IsSupportedMediaMimeType, 
>IsSupportedStrictMediaMimeType, AreSupportedMediaCodecs in 
>src/net/base/mime_util.h to iterate a local codecs set which we maintain

> to check if the current codec is supported. If true, the codec will be added 
> in the supported media codecs list. The checking logic will refer 
> WebMimeRegistry's supportsMediaMIMEType function.

The old method maintains a local media codec list which doesn't make sense how 
many codecs we should include. So We change the implementation as follows:

1. Get ffmpeg supported codec list and format list through dlopen 
'libffmpegsumo.so'.
2. Use 1's result as the input. Utilize the API IsSupportedMediaMimeType, 
IsSupportedStrictMediaMimeType insrc/net/base/mime_util.h to iterate 1's codec 
list and format list to check if the current codec is supported. If true, the 
codec will be added in the supported media codecs list. The checking logic will 
refer WebMimeRegistry'ssupportsMediaMIMEType function.

From: Qin, Jiajia
Sent: Tuesday, November 12, 2013 5:30 PM
To: 
[email protected]<mailto:[email protected]>
Subject: Intent to Implement - SysApps getAVCodecs


Summary:
This implementation is about to get supported audio/video codecs information 
for crosswalk on tizen. It's a part of device capabilities API.

Spec: http://device-capabilities.sysapps.org/



Affected component: xwalk/sysapps/device_capabilities



Related feature: https://crosswalk-project.org/jira/browse/XWALK-47



Target Release: Crosswalk M4



Implementation details:

Crosswalk for tizen has its own independent media playing pipeline. So, we 
can't use Tizen's media API. Here is our plan:



Utilize the existed API IsSupportedMediaMimeType, 
IsSupportedStrictMediaMimeType, AreSupportedMediaCodecs in 
src/net/base/mime_util.h to iterate a local codecs set which we maintain to 
check if the current codec is supported. If true, the codec will be added in 
the supported media codecs list. The checking logic will refer 
WebMimeRegistry's supportsMediaMIMEType function.



Thanks,

Qin, Jiajia

_______________________________________________
Crosswalk-dev mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to