×

Discussion Board

Results 1 to 9 of 9

Hybrid View

  1. #1
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,227

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    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
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,227

    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
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,227

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    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
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,227

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    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.

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
  •  
×