VideoPlayer crash in 2.x branch

You must Login before you can answer or comment on any questions.

Hi,

Since the 2.x branch release, I saw random videoplayer crash with always the same error, and didn't find any way to avoid it:

[INFO] 120.32421875 - 22:24:58:828 - VideoPlayer playing
[INFO] 120.34375 - 22:24:58:829 - autoplay on - let it play !
2012-10-09 22:24:58.831 SlideBox[2634:c07] [MPAVController] Autoplay: Likely to keep up or full buffer: 0
2012-10-09 22:24:58.832 SlideBox[2634:c07] [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
2012-10-09 22:24:58.837 SlideBox[2634:c07] [MPAVController] Autoplay: Enabling autoplay
2012-10-09 22:24:58.838 SlideBox[2634:c07] [MPCloudAssetDownloadController] Prioritization requested for media item ID: 0
[INFO] 120.4453125 - 22:24:58:842 - Free next scene click event
2012-10-09 22:24:58.919 SlideBox[2634:c07]  <com.apple.main-thread> Error '!obj' trying to fetch default input device's sample rate
2012-10-09 22:24:58.919 SlideBox[2634:c07]  <com.apple.main-thread> Error getting audio input device sample rate: '!obj'
2012-10-09 22:24:58.923 SlideBox[2634:c07]  <com.apple.main-thread> AQMEIOManager::FindIOUnit: error '!dev'
2012-10-09 22:24:58.926 SlideBox[2634:af1b]  <0xb0115000> AQMEIOManager::FindIOUnit: error '!dev'
My videoplayer is used to play videos (nice :) but in different positions (x,y) but one video at a time. When the user is touching a specific area, i stop the videoplayer, move it to the right position and play a new video.

Thanks for reading :)

— asked 8 months ago by Yoann WYFFELS
3 Comments
  • Me too!! I have the same errore. IOS6 and Ti 2.1.3 GA That's my code:

    var activeMovie = Titanium.Media.createVideoPlayer({
        contentURL: '/video.mp4',
        backgroundColor:'#111',
        fullscreen: true,
        mediaControlStyle:Titanium.Media.VIDEO_CONTROL_NONE,
        scalingMode:Titanium.Media.VIDEO_SCALING_ASPECT_FIT
    });
    When play is complete it return
    2012-10-11 00:06:30.821 App[4108:c07] [MPAVController] Autoplay: Enabling autoplay
    2012-10-11 00:06:30.824 App[4108:c07] [MPAVController] Autoplay: Likely to keep up or full buffer: 0
    2012-10-11 00:06:30.824 App[4108:c07] [MPAVController] Autoplay: Skipping autoplay, not enough buffered to keep up.
    and the my current window close script fails.

    — commented 8 months ago by Lorenzo Piccinini

  • I'm with Xcode 4.5/IOS6/Ti 2.1.3 GA too...I think it's a new issue. I will try to reproduce it in a simple example/code to submit it to jira

    — commented 8 months ago by Yoann WYFFELS

  • The crash is only happening if the video has got a soundtrack. Video without sound works perfect...

    — commented 8 months ago by Yoann WYFFELS

Your Answer

Think you can help? Login to answer this question!