views:

263

answers:

0

Hi Guys,

We are working on multimedia application which play both audio and video files with possibility of their cashing to SDCard. For such purpose we are using custom DataSource looks a little bit similar as BufferePlayback sample in Blackberry SDK.

And we found problem in video playing - when player is starting it's playing 2 sec audio without video and then returns an error number 5.

Log:

MN: init0(0)=0

MN: load 0

DEBUG: Thread-841728000: PlayerManager.playerUpdate com.rim.loading

DEBUG: 9: PlayerManager.run: started

JVM: bklt @10228: timer

JVM: bklt @10228: idle 4

JVM: bklt @10228: setTimer 18

MN: getPlayableStreams0(0)=3

MN: getLength0(0)=5415616

MN: getPlayableStreams0(0)=3

MN: isSeekable0(0)=1

DEBUG: Thread-841728000: PlayerManager.playerUpdate com.rim.mediaLoaded

MN: resizeAndRelocate0(0,0,0,320,240)=0

MN: parametersChanged0(0)DEBUG: Thread-841728000: PlayerManager.playerUpdate durationUpdated 5415616000

DEBUG: Thread-841728000: PlayerManager.playerUpdate com.rim.seekableUpdate true

DEBUG: Thread-841728000: PlayerManager.playerUpdate com.rim.playableStreams 3

AR: add source 9

AR: setAudioMode 32

MN: play0(0) is video, check for active pause

MN: play0(0)=0

DEBUG: Thread-841728000: PlayerManager.playerUpdate started 0

Thread-841728000: PlayerManager.playerUpdate: event=started data=0

AUDIOMANAGER: IOException

AUDIOMANAGER: IOException

DEBUG: Thread-841728000: PlayerManager.playerUpdate error 5

MN: unload0(0)=2 pauseHandle=7fffffff

AR: remove source 9

AR: setAudioMode 32

DEBUG: Thread-841728000: playback error Unspecified: some error occured which does not fit into any other category.

MN: MEDIA_STOPPED received

MN: handle=0 staticsHandle=7fffffff

DEBUG: Thread-841728000: PlayerManager.playerUpdate stopped 0

Streaming done reason=1 prev-state=300