Hi all,
I would like play Video file from network using http or RTSP.
I using S60 3 rd edition and FP2
Is this done using MVideoPlayerUtilityObserver these API.Can any body give starting point or any needful information.
Thanks
Pavan
Hi all,
I would like play Video file from network using http or RTSP.
I using S60 3 rd edition and FP2
Is this done using MVideoPlayerUtilityObserver these API.Can any body give starting point or any needful information.
Thanks
Pavan
MXy is always a callback, usually something that is used for notifying your code about happenings (that is why it is called observer, but you can also read its documentation). You should rather search for a class which uses this MVideoPlayerUtilityObserver. And that class will have a method called OpenUrlL.
Can anybody guide me how to use this MVideoPlayerUtilityObserver
Any brief idea will be fine.
Thanks
Pavan.
You may want to consider searching for MVideoPlayerUtilityObserver in the Wiki.
In CeMplayer1AppUi::HandleCommandL(TInt aCommand)--> In Play Command -->i am creating new instance of CMediaengine which extends MVideoPlayerUtilityObserver.
Code:iMediaEng = CMediaEngine::NewL(iAppView); iMediaEng->InitControllerL(); My InitControllerL() implementation is shown below.. void CMediaEngine ::InitControllerL() { iPlayer = NULL; iPlayer = CVideoPlayerUtility::NewL(*this,EMdaPriorityNormal, EMdaPriorityPreferenceNone, iView->ClientWsSession(), iView->ScreenDevice(), iView->ClientWindow(), iView->VideoRect(), iView->VideoRect() ); iPlayer->OpenUrlL(KHelloFileName);//KHelloFileName is "rtsp://130.128.30.220/3gv2" }
i am unbale to play the streaming video(RTSP).
Can anybody give me idea where the problem will be?
Thanks
Pavan
Can anybody help me out in this regards??
-Thanks
Pavan
hi..are you getting any panic on opening that url or a blank screen is appearing ?...
Hi,
Are you trying the link you gave above (rtsp://130.128.30.220/3gv2)
Have you tried opening it in some media player to see it it works?
TRy some other link
Regards
- MVP
"Dare To Dream" - A.P.J.Kalam
ok..you may try one thing, see if you are able to play any file which is on your device, through your application.I mean give OpenL() instead of OpenUrl(), this will confirm that problem is in playing file from url or problem in playing from the video player you constructed, so just see if black screen still comes if you play any file from your device location.