Working On Time Based Media Using Java: Presented By: Gaurav Kumar Srivastava
Working On Time Based Media Using Java: Presented By: Gaurav Kumar Srivastava
DataSources
Players
Processors
DataSinks
Managers
JMF uses four managers:
Data
player
source
Processor
Specialized type of Player that provides control over
processing performed on the input media stream
Processor stages
Processor stages..
Data Storage and Transmission
Its typical actions are writing the data to a file across the
network etc..
Simple applet movie player
Simple Java Applet that demonstrates how to create a simple media
player with a media event listener. It will play the media clip right away
and continuously loop.
player.getVisualComponent()
player.getGainControl()
player.
getControlPanelComponent()
Extensibility
Jmf functionality can be extended in two ways:
Direct
Plug-ins implementati
ons
Data
codec mux player sink
process Data
effect demux or source
Streaming media and Rtp
When media content is streamed to a client in real-time, the client can
begin to play the stream without having to wait for the complete
stream to download.
Consequently, the protocols used for static data don’t work well for
streaming media.
Streaming protocols
●
http,ftp are ●
Dedicated for
based on tcp real time data
●
Unreliable
●
Low transmission
●
slow
bandwidth, ●
High speed
●
Slow streaming streaming
RTP architecture
Real time transport protocol
UDP
Other network and transport
protocols(eg,tcp)
IP
RTP reception
An incoming rtp stream is handled by a session
manager
The presentation of the stream is handled by a player
Data player
source
network Session manager
Data player
source
Rtp transmission
Session manager creates and sends streams for the content and control the
transmission.
Data processor
source
Data Data
source sink file
Capture device
Conferencing :
FILE
WEB CAM UPLOAD
SERVLET
JMF JMF
CAPTURE RECEIVER
APPLET APPLET
DIRECTORY
UPLOAD
OF FILE
THREAD
CLIPS
sender server receiver
Queries?
`
Thank you