51
Manager
All fields and methods
WILL support file
locator for local
playback. For streaming,
RTP locator needs to be
supported.
For camera, new device
locator, “camera” has to
be supported.
TimeBase
getTime()
Gets the current time of
this TimeBase.
javax.microediti
on.media.protoc
ol
ContentDescriptor
getContentType()
Obtains a string that
represents the content
type for this descriptor.
Table 11 New packages, classes, fields and methods implemented for JSR 135
There are others features that can be considered, such as:
•
Support synchronous mixing of two or more sound channels. MIDI+WAV is
supported, but MIDI+MP3 is highly desirable.
•
The classes Manager, DataSource and RecordControl interface accepts media
locators. In addition to normal playback locators specified by JSR – 135, the
following special locators are supported:
o
RTP Locators
are supported for streaming media on devices
supporting real time streaming using RTSP. This support will be
available for audio and video streaming through
Manager (for
playback media stream).
o
HTTP Locators
are supported for playing back media over network
connections. This support should be available through Manager
implementation.
e.g.: Manager.createPlayer(“http://webserver/tune.mid”)
o
File locators
are supported for playback and capture of media. This is
specific to Motorola J2ME implementations supporting file system API
and not as per JSR-135. The support should be available through
Manager and RecordControl implementations.
e.g.: Manager.createPlayer(“file://motorola/audio/sample.mid”)
o
Capture Locator is supported for audio and video devices. A new device
“camera”
will
be defined and supported for camera device.
Manager.createPlayer() call shall return camera player as a special type
of video player. Camera player should implement VideoControl and
should support taking snapShots using VideoControl.getSnapshot()
method.
e.g.: Manager.createPlayer(“capture://camera”)