Discussion Board

Results 1 to 2 of 2

Thread: Open RTSP link

  1. #1
    Registered User pamepros's Avatar
    Join Date
    Apr 2010
    Location
    Rosario, Argentina
    Posts
    38
    I've been able to open an rtsp link with the widget.openApplication(browserUID,rtspLink) in Symbian3 devices, but when the video finishes the white browser is in focus and not my widget, so the user has to close the browser to get back to the app.

    Is there a way to jump past that white paged browser directly to the player or close automatically that window so user can go back to the app??

    The function widget.openApplication(realUID,rtspLink) is not working for me.

    Thanks,

    Pamela

  2. #2
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi,

    One way to avoid the totally white screen is to use your own web page as a mediator as follows:

    mypage.html
    Code:
    <html>
    <head>
    <script type="text/javascript">
    function openStream(){
    	setTimeout(redirect,500);	
    }
    function redirect(){
    	document.getElementById("header").innerHTML ="You can close this page";
    	window.location = "your_stream_URL_here";
            setTimeout(window.close,2000); // seems to work, but not tested troughout
    }
    </script>
    </head>
    <body onload="openStream();">
    	<h3 id="header">Loading...</h3>
    </body>
    </html>
    Widet side:
    Code:
    widget.openApplication(0x10008d39,'http://www.myserver.ext/mypage.html');
    It is not perfect solution, but UX wise it is better than just to have the empty screen.
    Probably you want to pass the stream as a parameter to your site, but the logic stays the same.

    Br,
    Ilkka
    Last edited by isalento; 2012-04-25 at 13:33.

Similar Threads

  1. Replies: 2
    Last Post: 2010-01-13, 01:43
  2. probelm with rtsp:// link
    By prasanna_lakshmi in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-08-11, 14:12
  3. Passing rtsp link to RealPlayer
    By anitaan@ifi.uio.no in forum Symbian C++
    Replies: 5
    Last Post: 2005-06-03, 14:43
  4. Passing rtsp link to RealPlayer
    By anitaan@ifi.uio.no in forum Streaming and Video
    Replies: 1
    Last Post: 2005-06-03, 13:13
  5. RTSP link on a wap page
    By alexdoor73 in forum Streaming and Video
    Replies: 1
    Last Post: 2004-03-11, 12:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved