You Are Here:

Community: Developer Discussion Boards

#1 Old Audio/Video Streaming Support - 2005-04-05, 20:02

Join Date: Mar 2003
Posts: 10
pdm9
Offline
Registered User
I am aware from several posts on this board (and others!) that the current round of Nokia devices do not support streaming of audio or video. By this I am not talking about support for the RTP protocol or even any other datagram protocol, but simply that the Player implementations attempt to read the entire contents of a SourceStream before commencing playback (and so end up running out of memory before even starting to play anything if the SourceStream encapsulates a stream of continuous media).

As the Symbian operating system appears to support streaming (at least that's what the prescence of documents from Nokia such as "Series 60 Developer Platform 2.0: Audio Streaming Example v1.0" suggests), it would seem then that this is purely a limitation in the J2ME implementation and not a shortcoming in the actual phone operating system. Is this the case? Has anyone been able to find an ingenious way around this? The discussions I have seen seem to suggest that the best that can be done is to attempt to stitch together multiple Players, but I cannot imagine that this is satisfactory.

Does anyone have any experience of attempting to stream to other manufacturer's handsets? Does it just seem to be the Nokia implementation that is lacking, or is this not supported on handsets from Sony-Ericsson, Samsung, Siemens, etc. either?

Finally (and I guess a Nokia employee would be best placed to answer this but I'd welcome all input!), does anyone know if the next round of Nokia handsets will support streaming (i.e. at the very least have a J2ME implementation that behaves with SourceStreams that represent continuous media)?

Thanks in advance to anyone who can provide any helpful information!
Reply With Quote

#2 Old audio/video streamin in j2me - 2005-04-06, 08:14

Join Date: Jan 2005
Posts: 5
niveas
Offline
Registered User
Hi, even i am interested in streaming audio/video using J2ME on symbian OS. could you please share any pertinent info u might have regarding this. Do i need to implement my own player or extend my player from the existing player classes in the nokia sdk for 6630(i.e NDS suite for J2ME version 2.2)?
Reply With Quote

#3 Old Re: Audio/Video Streaming Support - 2005-04-06, 16:55

Join Date: Jul 2004
Posts: 10
rainersimon
Offline
Registered User
I'm also in the process of totally twisting my brain on this topic :-) After going through numerous forum posts, I would also greatly appreciate some expert advice.

I'm currently trying to implement a solution that buffer data coming from a socket StreamSource in byte arrays. (So there's also no RTP or anything particularily sophisticated involved). My main question is:

Is it really true that current MIDP implementations will NEVER start playing before the entire InputStream is read? Or is this just the case for formats that are, by nature, no dedicated 'streaming formats'. (E.g. MPEG-1 is AFAIK not originally inteded for streaming, while 3GPP is?)

-Ray
Reply With Quote

#4 Old 2005-04-09, 21:08

Join Date: Feb 2004
Posts: 90
fmsware
Offline
Regular Contributor
I've only come across one phone with documented streaming support (Sony Ericsson V800). Some Sprint phones may work. I haven't seen anything recently regarding streaming on the latest Nokias. The only way to simulate streaming is to use multiple players to buffer the stream. This works, but causes a slight audible break when switching players as the native buffer is initialized.
Reply With Quote

#5 Old 2005-04-11, 14:36

Join Date: Jul 2004
Posts: 10
rainersimon
Offline
Registered User
Quote:
Originally posted by fmsware
I've only come across one phone with documented streaming support (Sony Ericsson V800). Some Sprint phones may work. I haven't seen anything recently regarding streaming on the latest Nokias. The only way to simulate streaming is to use multiple players to buffer the stream. This works, but causes a slight audible break when switching players as the native buffer is initialized.
I started to implement this solution. So far it works (in the emulator ;-). However the problem is that I keep running out of memory. It seems that the garbage collection doesn't discard the obsolete data fast enough (calling Runtime.getRuntime().gc doesnt't help either). Has anyone seen this problem (and gotten around it? :-)

Ray
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d18645X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ