Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hello,
I am working on custom video codec extension for BREW. Adding extension for handling some MIME type looks straightforward from what I've seen from documentation and posts on this forum.

But I am also trying to know whether standard phone's media player will utilize my codec, when user will try to open downloaded video file of supported format in standard phone's file manager?

It would be great to hear if someone have experience in developing something similar (e.g. for other media types).

You need to implement IMedia interface.

You need to implement IMedia interface.

Will phone's media player use our IMedia interface implementation?

Will phone's media player use our IMedia interface implementation?

If the phone's media player tries to acquire your class ID, then yes it would use your media player.

If the phone's media player tries to acquire your class ID, then yes it would use your media player.

But what about MIME type recognition? Let's say we what to have our codec to play some file with .abc file extension and content that could not be recognized as one of the supported file formats. Should we provide our own MIME recognizer? How to do it?

But what about MIME type recognition? Let's say we what to have our codec to play some file with .abc file extension and content that could not be recognized as one of the supported file formats. Should we provide our own MIME recognizer? How to do it?

If implemented as dynamic extension -
the mif file for your custom IMedia extension should have the MIME type entered in the Extensions tab. The Handler class - class id for the custom IMedia codec.
Else in case of an OEM extension, it can be integrated as part of OEMMedia.

If implemented as dynamic extension -
the mif file for your custom IMedia extension should have the MIME type entered in the Extensions tab. The Handler class - class id for the custom IMedia codec.
Else in case of an OEM extension, it can be integrated as part of OEMMedia.

there are two ways it can be done
- Via MIF file MIME type tab
- Via ISHELL_RegisterHandler

there are two ways it can be done
- Via MIF file MIME type tab
- Via ISHELL_RegisterHandler