Java Reference
In-Depth Information
Manager
createPlayer(source DataSource) Player
< < Interface>>
Controllable
DataSource
creates
gets
control
Player
Control
Figure 2.19 The basic architecture of the Mobile Media API
Table 2.2 Examples of Media Locator
Locator
Purpose
Examples
Retrieving live media
data from hardware
capture://audio - captures microphone
audio
capture://
capture://video - captures camera output
capture://audio video - captures audio
and video simultaneously (for some devices,
only capture://video is necessary)
Configuring players for
tone sequences or MIDI
data
device://tone - tone device
device://midi - midi device
device://
Media streaming, where
playback starts before
download is complete
rtsp://
rtp://
rtsp://streamer.whyy.org/encoder/
live.rm
Fetching media stored on
a web server
http://
http://www.yourhost.com/myfile.mp3
Search WWH ::




Custom Search