×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    15

    Question Passing rtsp link to RealPlayer

    Hi,

    Do anyone know if it's possible to pass a rtsp link to
    CDocumentHandler::OpenBufferEmbeddedL ( const TDesC8 & aContent, TDataType & aDataType)?

    When I try to pass a local video clip stored on the mobile device the RealPlayer starts and plays the clip, but when I try to pass a rtsp link nothing happens.

    I have tested on Nokia 6600 and Nokia 6680. Both are series 60 mobile phones.

    Below is the code that handles the issue described above:

    HBufC* url = CEikonEnv::Static()->AllocReadResourceL(R_URL_NAME);
    TFileName fileName;
    fileName.Copy(*url);
    TDataType data = TDataType( KNullUid );

    iEngine->DocumentHandlerL().OpenFileEmbeddedL(fileName, data);


    CDocumentHandler& CRikstotoEngine:ocumentHandlerL()
    {
    if( !iDocHandler )
    {
    iDocHandler = CDocumentHandler::NewL(
    CEikonEnv::Static()->Process() );
    }
    return *iDocHandler;
    }

    Maybe there is something wrong with my code when trying to pass a rtsp link?

    I hope someone can give me an answer.

    Kind regards,

    Anita

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359
    The DocumentHandler API is intended for opening local files. It will try to open them and then pass some data along with the file name to the available recognizers in order to determine which application to load ...

    In your case you must send the url to the web browser and let it decide what to do with it (like open the player in embeded mode ...)

    HTH,

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    15
    Hi,

    Thank you for answering my question.

    Is there another API that supports passing a rtsp link to the realPlayer without sending the url to the web browser?

    Kind regards,

    Anita

  4. #4
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359
    No public API can do that. Sorry!

  5. #5
    Registered User
    Join Date
    May 2005
    Posts
    15
    Hi,

    Is it posible to buy a non public API from Nokia that solves my problem?If so, how much will it cost?

    Kind regards,
    Anita

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359
    Nokia does not sell APIs to anybody. If for some reasons the API is not public this means that it will only be made available to Nokia's partners on a case by case base and only if there is a strong business reason for it.

    Note: We are working for inproving our SDKs and tools. You are welcome to use the Feedback link at the bottom of this page to let us know what ever needs to be changed/added/published in our products. This can include requests for new APIs, etc ...
    Last edited by ltomuta; 2005-06-03 at 14:49.

Posting Permissions

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