File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

supported formats of rtsp for j2me mobile

 
sandeep gulati
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know the URL formats supported by media player in MMAPI (JSR-135).

Using getSupportedContentType() method, I found that emulator does not support RTSP -- Only http links work on the emulator. The following link was tested successfully on the emulator with a player created using MMAPI (JSR-135) : http://localhost:8080/phantom.mpg

On device, both rtsp and http links are supported. On the device, the player created using MMAPI (JSR 135) is able to play the following links:
rtsp://123.123.123.123/public/metadata/pvmetadata.mp4
http:// localhost:8080/phantom.mpg

The following devices used for testing : Nokia N95, Sony Ericsson W910i.

On the device, the player created using MMAPI (JSR 135) could not able to play the following link:
rtsp://123.123.123.123/__MM__/dvs%3a1%3a102%7c123%7c150%7caudio%7cClientID%3d108%7c1%7c275%7c6335060020186878001%7c7%2f2%2f2008+12%3a56%3a41+PM%7c7610c6818031d4c4%7c

The native player(player of Sony ericsson mobile "walkmen 3.0 edition") (which does not depend on JSR 135) on the device was able to play the following links.
rtsp://123.123.123.123/__MM__/dvs%3a1%3a102%7c123%7c150%7caudio%7cClientID%3d108%7c1%7c275%7c6335060020186878001%7c7%2f2%2f2008+12%3a56%3a41+PM%7c7610c6818031d4c4%7c

Based on the above information, Can you provide me the URL formats supported by JSR 135 ? Is there any restriction on the URL format, such as encoded format, plain format, etc. ? Is it possible to add streaming or media related parameters to the plain format that can be understood by the player ?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic