How to minimize createDRMSession delay in offline mode with Objective-C API

Hi all !
We are now having our application playing in offline mode (license and files are local, network is off).
But the createDRMSession method take 4 to 5 seconds to complete.
In the sample code of the API they imply that there is some way to reduce this delay.
But nothing happens for me, I'm still getting this 4-5 seconds of delay before playback starts.
Did you succeed with that ?
What is the method ?
Regards,

Hi,
thanks for your answer but this is for the flash API.
I am using the iOS API here, there is no such thing as SYSTEMUPDATER or loadVoucher (equivalent seems to be acquireLicense) methods and the hlspackager doesn't seem to allow to leave media partially unencrypted.
Thanks for your help.

Similar Messages

  • How to install photoshop CS6 in silent mode with a serial number on Win7?

    I have a serial number. Now I have to install photoshop CS6 in silent mode with this serial number in command line. How?

    Check the deployment guides in the developer center.
    Mylenium

  • How to get transacted session in direct mode with jmsra adapter

    Hi,
    I use MQ 4.4u1 release with GF in EMBEDDED mode. I configured several connection factories with NoTransaction/LocalTransaction/XATransaction support. In my app I get a connection factory from JNDI tree, create connection/session/producer and send several messages to queue. Everything works fine when I don't use transactions. But, when I want to send messages in one transaction, the connection always provided to me non-transacted session. The session created via
    Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
    request. I check the session transacted state and acknowledge mode right after i get it:
    log.fine("Session: " + session + "; transacted: " + session.getTransacted() + "; ackMode: " + session.getAcknowledgeMode());
    The log shows me that the session is not transacted and ackMode is 0 (DUPS_OK_ACKNOWLEDGE). If I try to commit the session after messages were sent I get the correct exception:
    javax.jms.IllegalStateException: MQJMSRA_DS4001: commit():Illegal for a non-transacted Session:sessionId=3361979872663370240
    Does anyone know how to get transactional session in direct mode?
    Thanks, Denis.

    I mentioned LOCAL because I misread your post and thought you were suggesting that LOCAL mode behaved differently.
    If you want to send messages in a transaction from within a Servlet then I think you're expected to use a UserTransaction: Here's an example that worked for me:
            Connection connection = outboundConnectionFactory.createConnection();
            Session session = connection.createSession(true, Session.SESSION_TRANSACTED);
            userTransaction.begin();
            MessageProducer producer = session.createProducer(outboundQueue);
            int numberOfMessages = 10;
            for (int i = 0; i<numberOfMessages; i++) {
                Message message = session.createTextMessage("Hello world");
                producer.send(message);
            userTransaction.commit();
            connection.close();I obtained the UserTransaction with this resource declaration:
        @Resource(name = "java:comp/UserTransaction")
        private UserTransaction userTransaction;The EJB spec explicitly states that local transactions aren't supported in EJBs; I haven't found such an explicit statement for Servlets but suspect that JMSRA is taking the same approach.
    As for imq.jmsra.direct.disableCM property - this appears to disable connection pooling and from your post changes other behaviour as well. How did you find out about it (other than by examining the code)? As far as I can see this is not a documented feature and is not necessarily tested or supported.

  • How to get out of tex edit mode with a single button?

    Hey,
    Is there a way to escape from text edit mode with a single click or button?
    So far I always hit CTRL+Enter, then V and then I click away from the canvas so that the paragraph ain't higlighted no more. But thats a pain in the butt! Cant there be a single button for this?
    Thaks
    AO

    Something interesting I just noticed: Double-clicking outside a text box can have different effects according to context.
    With the Pointer tool selected, double-clicking on a text box allows you to edit the text. In this "quick edit" mode, double-clicking outside the text box will return you to the Pointer tool.
    If the Text tool has been selected manually, double-clicking outside a text box will create a new text box.

  • How to install Windows Updates in Safe Mode with Networking

    On my VISTA Business edition, I was getting BSOD (blue screen) so I booted the system in Safe Mode with Networking. But in this mode when I go to Start Menu-->All Programs-->Windows Updates, nothing happens. Please help.
    Thanks..Nam

    https://www.youtube.com/watch?v=rMDjZQqz-i8
    Steps:
    1-Open command prompt with admin mode
    Or Boot from DVD in command prompt mode.(This is what i experienced, able to show the safe mode menu)
    2- Write this command "bcdedit /set {default} bootmenupolicy legacy" and click enter
    3- You can now press F8 while Windows 8 starts in order to access Safe Mode and other Advanced Boot options.

  • How to minimize MIDI delay while playing

    hi guys
    I have iMac 2.66 Core 2 and synth modules connected thru MOTU 828mkII USB A/D converter. When I play audio and plugins from Logic everything is synced. But when I play synth module via MIDI keyboard thru eMagic MT4 midi in/out there is audible sound delay of cca 100ms . Is it possible that MIDI signal travels so slow thru iMac to MOTU 828 (audio monitoring comes from MOTU)? I tried this MIDI controller in different environment and everything was fast. Even 10 years ago this wasn't a problem
    thanks

    The motu has a 'cue mixer' program.. Open that up and set the balance between, the instrument you are playing live, and the output of Logic.. Make sure your keyboard is in 'local control' mode. So that you hear what your are playing, and not the output of Logic being fed to your current midi instrument..
    Make sure the output of Logic does not have an 'adlimiter' on it.. (it delays everything)
    You could also go to core audio preferences and shorten the buffer as much as you can without Logic beginning to 'stutter'
    Because The motu 828 (and most of the more expensive boxes) have a 'live input, no latency mode' setting. You should not have the kind of delay you are talking about..
    One possiblity might be, that you have "local control off", so you are having your Midi travel from you keyboard, into Logic, and then sent back out. Temporarily shut off any plugins you have on which may be adding to latency. Shorten audio buffers too.

  • How do I go to work offline mode in firefox 8.0?

    There used to be an option in the file drop down menu. It is no longer there

    Firefox button > Web Developer -> Work Offline

  • How to start Windows 7 in safe mode with bootcamp?

    So my computer had a crash this afternoon in Win7 (it happened before, but still...) and tried to reboot my MBP.
    I pressed Alt, selected my Win7 partition, and that was it... No Safe mode selection screen, no Windows Logo
    showing it's booting properly, just a black screen...
    Anyone had something similar? And most importantly, how can this be fixed?

    https://www.youtube.com/watch?v=rMDjZQqz-i8
    Steps:
    1-Open command prompt with admin mode
    Or Boot from DVD in command prompt mode.(This is what i experienced, able to show the safe mode menu)
    2- Write this command "bcdedit /set {default} bootmenupolicy legacy" and click enter
    3- You can now press F8 while Windows 8 starts in order to access Safe Mode and other Advanced Boot options.

  • How to restore ipod touch in recovery mode with passcode in itunes

    StylStyle
    My ipod touch went to recovery mode after I tried to reset its network settings. I tried to connect it to itunes but it does not want to connect because I have a passcode and my ipod touch wont let me enter it so I could unlock it. Can somebody help me please? Thanks so much!

    Placing the iPod in DFU mod and then restoring usually resove the passcode problem.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    However, you may have othr problems since it went into recovery mode unexpectidly. Try restoring to factory defaults/new iPod if necessary.

  • How to open IE browser in private mode with powershell script? $ie = New-Object -com internetexplorer.application

    How can I open IE, in inPrivate Browsing mode using PowerShell script?
    $ie = New-Object -com internetexplorer.application;
    $ie.visible = $true;
    $ie.navigate2("http://bing.com");
    while ($ie.Busy -eq $true) { Start-Sleep -Milliseconds 1000; }
    Ramana

    Hi
    Venkata,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

  • 4S: How do I keep camera in regular mode with "Invert Colors" to on?

    On an iPhone 4S w OS7.1, how do I keep the camera in regular mode (not negative image) and keep the "Invert Colors" swith to active or pink or (1).

    " (1) how do I transfer the files from my PowerBook G4 to the nano? "
    In disk mode the Nano will mount on the desktop like any removable dive, just drag the files you want onto it
    "(2) How would I transfer them back again if I ever need to?"
    Drag them back from the Nano to your computer
    "(3) should I try to go back and find out if "optimizing" was completed, and finish it if it wasn't? How?
    You would probably need to restore it to factory settings to start the process again
    "(4) How do I keep the nano from automatically updating from my music files when I charge it"
    You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows hold down the Shift + Ctrl keys (on a Mac hold down the Option and Command (⌥ and ⌘) keys). This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer. Then go to Preferences>iPod and check the "Manually manage songs and playlists" box. It won't update automatically in manual mode. You can also remove the tick from the box which says "Open iTunes when this iPod is attached".

  • How do I run CRX in debug mode with CQ5 , CRX version is 1.0.1

    I tried below commands But Attached Debug option under Debug menu option is still disabled.
    Option 1 :
    C:\author>java -debug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_sock
    et,server=y,suspend=n,address=30303 -jar cq-author-4502.jar
    Listening for transport dt_socket at address: 30303
    Loading quickstart properties: default
    Loading quickstart properties: instance
    Low-memory action set to fork
    Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork argume
    nts=[-Xmx1024m, -XX:MaxPermSize=256m]
    The JVM reports a heap size of 1781 MB, meets our expectation of 1024 MB +/- 20
    **** WARNING: insufficent PermGen memory ***************************************
    The JVM MBean:PS Perm Gen reports 82 MB but we recommend at least 256 MB +/- 20
    Use your JVM's PermGen size option (like -XX:MaxPermSize=256M) to set that size.
    Will fork a JVM to get enough memory.
    Available memory below specified limits and low-memory action set to fork, will
    fork to get enough memory
    Preparing to fork JVM, OS name=Windows 7, isWindows=true
    Forking JVM: [C:\Program Files\Java\jre6\bin\java.exe, -Xmx1024m, -XX:MaxPermSiz
    e=256m, -jar, C:/author/cq-author-4502.jar, -nofork, -pt, CHILD]
    Loading quickstart properties: default
    Loading quickstart properties: instance
    Low-memory action set to fork
    Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork argume
    nts=[-Xmx1024m, -XX:MaxPermSize=256m]
    **** WARNING: insufficent heap memory ******************************************
    The JVM reports 910 MB but we recommend at least 1024 MB +/- 20
    Use your JVM's heap size option (like -Xmx1024M) to set that size.
    Will fork a JVM to get enough memory.
    The JVM MBean:PS Perm Gen reports a maximum size of 256 MB, meets our expectatio
    n of 256 MB +/- 20
    Available memory below specified limits and low-memory action set to fork, will
    fork to get enough memory
    Not forking JVM as -nofork option is set
    Setting properties from filename 'C:/author/cq-author-4502.jar'
    Property '-quickstart.server.port' set to '4502' from filename cq-author-4502.ja
    r
    Property '-r' set to 'author' from filename cq-author-4502.jar
    Property '-r' is already set (author), ignoring new value (author) derived from
    filename
    System property 'sling.run.modes' set to 'author' by -r option
    Verbose option not active, closing stdin and redirecting stdout and stderr
    Redirecting stdout to C:\author\.\crx-quickstart\logs\stdout.log
    Redirecting stderr to C:\author\.\crx-quickstart\logs\stderr.log
    Press CTRL-C to shutdown the Quickstart server...
    Shutdown
    MAIN process: shutdown hook
    MAIN process: Exception in shutdown hook: java.io.IOException: The pipe is being
    closed
    MAIN process: Wrote shutdown string to child process, waiting for it to exit (ma
    x 5000 msec)
    Child process did not exit? Destroying it now.
    MAIN process: Child process exited.
    MAIN process: exiting
    Forked JVM process exited with exit code 1
    Main JVM process exiting
    OPtion 2:
    C:\author>java -Xmx512m -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=3
    0303,suspend=n -jar cq-author-4502.jar
    Listening for transport dt_socket at address: 30303
    Loading quickstart properties: default
    Loading quickstart properties: instance
    Low-memory action set to fork
    Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork argume
    nts=[-Xmx1024m, -XX:MaxPermSize=256m]
    **** WARNING: insufficent heap memory ******************************************
    The JVM reports 455 MB but we recommend at least 1024 MB +/- 20
    Use your JVM's heap size option (like -Xmx1024M) to set that size.
    Will fork a JVM to get enough memory.
    **** WARNING: insufficent PermGen memory ***************************************
    The JVM MBean:PS Perm Gen reports 82 MB but we recommend at least 256 MB +/- 20
    Use your JVM's PermGen size option (like -XX:MaxPermSize=256M) to set that size.
    Will fork a JVM to get enough memory.
    Available memory below specified limits and low-memory action set to fork, will
    fork to get enough memory
    Preparing to fork JVM, OS name=Windows 7, isWindows=true
    Forking JVM: [C:\Program Files\Java\jre6\bin\java.exe, -Xmx1024m, -XX:MaxPermSiz
    e=256m, -jar, C:/author/cq-author-4502.jar, -nofork, -pt, CHILD]
    Loading quickstart properties: default
    Loading quickstart properties: instance
    Low-memory action set to fork
    Using 64bit VM settings, min.heap=1024MB, min permgen=256MB, default fork argume
    nts=[-Xmx1024m, -XX:MaxPermSize=256m]
    **** WARNING: insufficent heap memory ******************************************
    The JVM reports 910 MB but we recommend at least 1024 MB +/- 20
    Use your JVM's heap size option (like -Xmx1024M) to set that size.
    Will fork a JVM to get enough memory.
    The JVM MBean:PS Perm Gen reports a maximum size of 256 MB, meets our expectatio
    n of 256 MB +/- 20
    Available memory below specified limits and low-memory action set to fork, will
    fork to get enough memory
    Not forking JVM as -nofork option is set
    Setting properties from filename 'C:/author/cq-author-4502.jar'
    Property '-quickstart.server.port' set to '4502' from filename cq-author-4502.ja
    r
    Property '-r' set to 'author' from filename cq-author-4502.jar
    Property '-r' is already set (author), ignoring new value (author) derived from
    filename
    System property 'sling.run.modes' set to 'author' by -r option
    Verbose option not active, closing stdin and redirecting stdout and stderr
    Redirecting stdout to C:\author\.\crx-quickstart\logs\stdout.log
    Redirecting stderr to C:\author\.\crx-quickstart\logs\stderr.log
    Press CTRL-C to shutdown the Quickstart server...

    Hi Manoj,
    You can do it directly from felix console. just go to http://<host>:<port>/system/console/slinglog there you will see all log files. under first table "Log Level" you will see all the log files and besides to that you will have configuration option, just go there and set log level for each of log files and save it.
    Let me know if you need more information.
    Thanks,
    Pawan

  • How to get the view in editable mode with OCA button.

    Dear Experties,
    I am new to CRM WEB UI ,I have got the requirement to develope a view with OCA button on it and when i click on the button it should direct to the second view  and it should open with edit mode.
    The Source view is table type and target view is form type.
    I am able to achieve this but unable to get it in editable mode.
    I have added the below code in do_prep_output method but getting dump  at the line
    lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
    The error message is
    Long text During a 'CAST' operation ('?=' oder 'MOVE ? TO')a type conflict occurred. The source type '\CLASS=CL_BSP_WD_MIXED_NODE' is not compatible for assigning with the target type '\CLASS=CL_CRM_BOL_ENTITY'.
    Please somebody help me on this
    lv_display = me->view_group_context->is_view_in_display_mode( me ).
      IF lv_display EQ abap_false.
      ELSE.
         me->view_group_context->set_view_editable( me ).
      ENDIF.
      DATA:    lr_tx           TYPE REF TO if_bol_transaction_context,
              lr_entity       TYPE REF TO cl_crm_bol_entity,
               lr_comp type REF TO ZL_BT131QI__BSPWDCOMPONEN_IMPL.
      lr_comp ?= me->comp_controller.
      Check lr_comp is BOUND.
      lr_entity ?= lr_comp->typed_context->BTADMINI->collection_wrapper->get_current( ).
      CHECK lr_entity IS BOUND.
      IF lr_entity->lock( ) = abap_true.
        me->view_group_context->set_view_editable( me ).
      ENDIF.
      lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
      WHILE lr_entity IS BOUND.
        lr_entity->lock( ).
        lr_entity ?= me->typed_context->EMAINLEG->collection_wrapper->get_next( ).
      ENDWHILE.
    The following error text was processed in the system:
    Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY
    Exception Class CX_SY_MOVE_CAST_ERROR
    Error Name MOVE_CAST_ERROR
    Program ZL_ZBT131QI_EMAINLEG_IMPL=====CP
    Include ZL_ZBT131QI_EMAINLEG_IMPL=====CM00C
    ABAP Class ZL_ZBT131QI_EMAINLEG_IMPL
    Method EH_ON_EDIT
    Line 33 
    Long text During a 'CAST' operation ('?=' oder 'MOVE ? TO')a type conflict occurred. The source type '\CLASS=CL_BSP_WD_MIXED_NODE' is not compatible for assigning with the target type '\CLASS=CL_CRM_BOL_ENTITY'.
    Thanks in advance!!!

    Hi,
    in CRM a context can consist of model nodes,  value nodes and, unfortunately, mixed nodes. While mixed nodes implement the same interface as model nodes they can't be casted into a CL_CRM_BOL_ENTITY directly. Instead you need to perform the following conversion in order to get the model node from the mixed node:
    DATA:  mixed_node     TYPE REF TO cl_bsp_wd_mixed_node,
               entity              TYPE REF TO cl_crm_bol_entity.
    mixed_node = me->typed_context->EMAINLEG->collection_wrapper->get_first( ).
    entity = ?= mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
    Best,
    Christian

  • How do I switch to mass storage mode with iPhone 3G

    Trying to setup Garmin StreetPilot on my iPhone 3gs.  The garmin website keeps asking me to put the unit in the mass storage mode or file transfer in order to register it.  Any help would be appreicated..

    You don't.
    This is not and has never been a feature of any iphone.

  • How to random select photos in slideshow mode with iPhoto 7 ?

    iPhoto 6 would do random selection of photos during a slideshow. After I installed iPhoto 7, I am unable to find the random key? Do you know if the feature was dropped?
    Gary

    You need software for it. Do you have iPhoto installed? That is one possibility, but there are many others - you create the slideshow from your photos. Or, you can simply use Quicklook - see here:
    http://osxdaily.com/2012/09/06/8-tricks-mac-os-x-full-screen-slideshow/

Maybe you are looking for

  • How to change color of a line on a graph

    Bonjour à tous, I want to change the color of line in a graphic, but i dont know how to do. Thanks for your answer Ivan

  • Logs for planning and work space application

    Hi, where can i find the logs for the planning and workspace application. hyperion is installed in HYP_Home dir--- please say me where i can find the logs thanks ram

  • Need clarification on Project professional CACHE

    Hi I am opening Project plan from cache location in MS Project 2010 (not from retrieve list of all projects from project server) but the issue is can see updated project plan (as like open from project server) Steps which i performed below 1. Created

  • Change/Configure Host and Port for the Web Service Proxy with Server

    Hi, Is there a way to configure Host and Port in generated proxy for Web service depending upon server. (ADF 11g) Scenario: We are consuming Credit Card web service from a service provider and have different Host and Port details for development, QA

  • Error Accessing internet from the flex application.

    Hi I am getting the following error while runningm my flex application deployed on the OC4J server. The error did not come when I was running the application directly from the flex builder. However , after deploying it on the application server my fl