Hi,
For my application I want to be able to play a video clip on the Motorola v551 with a http connection. My code is as follows :
HttpConnection conn = (HttpConnection)Connector.open("http://lxx.../clip.mp4", Connector.READ);
InputStream is = conn.openInputStream();
player = Manager.createPlayer(is, "video/mpg");
But I get an exception for createPlayer. I have tried all the combinations for the createPlayer content type.
I am trying to create a player on motorola v551 model. If I give the code as :
HttpConnection conn = (HttpConnection)Connector.open("http://lxx.../clip.3gp", Connector.READ);
InputStream is = conn.openInputStream();
player = Manager.createPlayer(is, "video/3gpp");
Then above code works fine for 3gp video clip on a Nokia phone. But I have to get it working on a motorola v551 phone which supports MPEG4 video.
Please tell me what content type do I need for MPEG4 video clip. Or am I doing something wrong in the code for Motorola ?
Any help is greatly appreciated.

Reply With Quote

