The implementation supports Real Time Streaming Protocol (RTSP). RTSP
player can be created by using the Manager.createPlayer
method
with the locator starting with rtsp://
and ending with
a supported video file extension:
Correct locator: rtsp://somedomain/video.3gp
Incorrect locator: rtsp://somedomain/video
A RTSP network access point must be set from RealPlayer, or Player.prefetch
throws MediaException
with
the error code -39. RTSP connections always use the default access point set
in Real Player. Depending on the product and operator configuration, a default
access point may be set automatically.
A 3G network connection is recommended to achieve smooth streaming
The playable content types can be queried dynamically by calling Manager.getSupportedContentTypes(
"rtsp" )
.
In some cases dimensions of the source video cannot be obtained for
RTSP streams. In these cases the default video display size (32x32 pixels)
is used, and VideoControl.getSourceWidth/getSourceHeight
will
both return the value 32. The actual video image resolution is not affected,
so the video can be rescaled to desired size using VideoControl.setDisplaySize
without
loss in image quality.
The supported content types for RTSP are listed in section Content types.
RTSP streaming player automatically uses existing Internet connection if a connection is already open.
S60 3rd Ed. FP
1: HTTP streaming player is created using the Manager.createPlayer
method
with the locator starting http://
.
Contrary to RTSP streaming, a HTTP streaming network connection is not dependent on RealPlayer. Instead the default Internet connection access point is used. If a default access point has not been set, then an access point selection dialog is presented.
A 3G network connection is recommended to achieve smooth streaming
HTTP Streaming is supported only for the content types audio/amr
and audio/amr-wb
.
With other types, the media data is downloaded completely before playing.
Streaming from an InputStream
is not supported.
All the data available in an InputStream
is consumed
into a buffer before a player is created.