Skip to main content

streaming problem

4 replies [Last post]
sam_azaz
Offline
Joined: 2007-10-07

Hi there...
I am making an application for streaming a video from the internet using progressive playlist. As per the spec, if the play position is jumped to the point of time in unavailable clip (this clip is specified in progressive element), it generates a DataStarvedEvent and stops the JMF and PCE. Does it mean that the player completely stops and application also stops, OR the event can be captured and handled by the application. Please Clarify..
Thanks in advance
Sam

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
sam_azaz
Offline
Joined: 2007-10-07

thanks to all.

Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> Hi there...
> I am making an application for streaming a video from the internet using progressive playlist. As per the spec, if the play position is jumped to the point of time in unavailable clip (this clip is specified in progressive element), it generates a DataStarvedEvent and stops the JMF and PCE. Does it mean that the player completely stops and application also stops, OR the event can be captured and handled by the application. Please Clarify..

The latter.

JMF playback of a playlist generally has no effect on xlet
execution. Xlets are started and stopped on title selection,
but JMF playback (with APIs like Manager.createPlayer(URL) and
such) doesn't change the title. So, it should just stop
presenting video, and the xlet should continue running.

Cheers,

Bill

> Thanks in advance
> Sam
> [Message sent by forum member 'sam_azaz' (sam_azaz)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241625
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net

sandyhxh
Offline
Joined: 2007-10-23

the player and app should not be stopped, but the playback of video should be stopped, app should do something when receive the DataStarvedEvent( download the missing stream or something else).

joe_rice
Offline
Joined: 2007-01-04

Sam,

The application won't stop. Note that one may not want to rely on the DataStarvedEvent to indicate that the clip wasn't downloaded and enabled in time, as there can be up to several seconds latency between when this happens and when the player fires the event, so the application should contain it's own logic for determining whether a clip has been downloaded in time to be played.

Cheers,
Joe