Problem with media player application | developer.brewmp.com Problem with media player application | developer.brewmp.com

Developer

Problem with media player application

Forums:

Hi all,
In the media player example of sdk, qcp files are not getting played. as i understood, it is not able to create media for qcp. in the function CPlayerWin_HandleEvent()...at

if (eCode == EVT_CREATEMEDIA || eCode == EVT_CREATEMEDIA_QCP)
{

}

i can see the value of eCode in debug as decimal equivalent of EVT_CREATEMEDIA each time. means it is not creating qcp media. how eCode value is determined? this function is getting called in CPlayerWin_New() as this...

MP_IWINDOW_SETVTBL(&vtbl, CPlayerWin_Enable, CPlayerWin_Redraw, CPlayerWin_HandleEvent, CPlayerWin_Delete);

now, by which parameters this function (CPlayerWin_HandleEvent()) getting called?? how the paramters are decided? can somebody throw some light on this??

thanks
dattanand

Is this on the Simulator or on an actual phone? The Simulator doesn't support QCP by default, so you will need to install the BREW CMX Player and QAudioFX extension in order to play QCP.

Is this on the Simulator or on an actual phone? The Simulator doesn't support QCP by default, so you will need to install the BREW CMX Player and QAudioFX extension in order to play QCP.

Hi,
Thx for your reply.This is on the simulator. so, there is no problem with the code. where can i get these extensions?

Hi,
Thx for your reply.This is on the simulator. so, there is no problem with the code. where can i get these extensions?

It's on the BREW 3.x developer site under Extensions - Tools:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ex/tl...

It's on the BREW 3.x developer site under Extensions - Tools:
https://brewx.qualcomm.com/brew/sdk/download.jsp?page=dx/en/brew31/ex/tl...