How to play my rtsp live stream/video in portrait mode
My video plays only in horizontal screen even when I keep the mobile straight and vertically.
I want the video to be played in both horizontal and vertical mode . (Portrait)
I mean to say it should fit to the screen of mobile depending on the position of the mobile.
Presently needed for s60 5th edition , symbian 3 and s60 3rd edition mobiles/devices.
Re: How to play my rtsp live stream/video in portrait mode
What API are you using, and is the application switching the layout accordingly ?
Re: How to play my rtsp live stream/video in portrait mode
It is not switching that is what I want to achieve.
Re: How to play my rtsp live stream/video in portrait mode
Iam playing the live video streams with streamingurl.cpp with real player browser UID as below:
void CSearchResults::HandleListBoxItemClickedL( CEikListBox* aListBox , TListBoxEvent anEventType )
{
//CSearchResultsView *view = static_cast<CSearchResultsView*>(iCommandObserver);
//view->ShowSelectedImageL(); //forum nokia
TInt index = aListBox->CurrentItemIndex();
TBuf<1024> buffer;
iURLParent->GetStreamingURL(index,buffer);
// CEikonEnv::InfoWinL(_L("Streaming URL:"),buffer);
const TInt KWmlBrowserUid = 0x10008D39 ;
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect());
TThreadId id;
appArcSession.StartDocument(buffer, TUid::Uid(KWmlBrowserUid), id);
appArcSession.Close();
}
and
#include "streamingurl.h"
CStreamingURL::CStreamingURL(const TDesC& aURL)
{
// No implementation required
iURL.Copy(aURL);
}
CStreamingURL::~CStreamingURL()
{
}
Re: How to play my rtsp live stream/video in portrait mode
I'm not getting on what the code would have to do with this particular problem ? So can you explain on which application (is it yours, external, etc.) is not swithing the layout, in which situation does this not happen, and does it happen same way with all devices you have tested this ?
Re: How to play my rtsp live stream/video in portrait mode
Iam trying on live streaming application ( on s60 3rd , 5th and symbian 3 devices) which plays my url with real player browser . I want portrait mode i.e switching layout feature acording to the position of the mobile.
Re: How to play my rtsp live stream/video in portrait mode
so if the real player is the application that does not want to switch its layout, then there are not really much that you could do with it. This particular application is 3rd party application, and thus might not have any public interfaces that could be used for changing its default behavior.
Re: How to play my rtsp live stream/video in portrait mode
do u mean t o say it is not possibel if we are using realplayer
Re: How to play my rtsp live stream/video in portrait mode
Given that in the past ~10 years I have not seen RealPlayer to run in portrait (*) mode on a Symbian device from Nokia, I tend to assume that it does not implement such feature.
(*) on portrait mode I mean the configuration when the width of the screen is smaller than its height, regardless of the actual position of the keypad/keyboard, and the rest of the device.