×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    1,169

    Cool 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.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,140

    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 ?

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    1,169

    Re: How to play my rtsp live stream/video in portrait mode

    It is not switching that is what I want to achieve.

  4. #4
    Registered User
    Join Date
    Nov 2010
    Posts
    1,169

    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()
    {
    }

  5. #5
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,140

    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 ?

  6. #6
    Registered User
    Join Date
    Nov 2010
    Posts
    1,169

    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.

  7. #7
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,140

    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.

  8. #8
    Registered User
    Join Date
    Nov 2010
    Posts
    1,169

    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

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,566

    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.

Similar Threads

  1. Replies: 6
    Last Post: 2011-11-14, 12:57
  2. How to play any live video stream or link on s60 5th edtion phones
    By GTO_India in forum Symbian Media (Closed)
    Replies: 19
    Last Post: 2011-09-14, 20:40
  3. Replies: 1
    Last Post: 2011-06-10, 14:41
  4. Replies: 4
    Last Post: 2011-06-08, 10:08
  5. Live video stream http or rtsp?
    By sbmcdeshan in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2008-12-11, 06:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •