Documentation of automation delegate events for record,playback

When trying to use the automation framework, is there any reference documentation of the potential events generated by the Adobe delegate classes?
I'm looking for something similar to the Flex Automation Object Type Information at www.adobe.com/go/flex3_qtp_object_type_reference (which after the codec parameter processing in the events, but that's fine) or similar to the information in AutoQuickEnv.xml or TEAFlex.xml (also after the codecs and limited to the commonly recorded events).  The only one of those that also includes Spark is the TEAFlex.xml for Flex 4.
There is not a direct correlation between the events on the underlying classes and the events generated or replayed by the delegates, so it's not clear where to find out the specific details of the automation framework events that those delegates provide other than by the above sources or reading through the delegate source code.
thanks for any additional information.

Right now e-test only uses IE and IE7 only on 8.2 ....word on the street is that FF support is coming before the end of the year but nothing official yet....
The netscape option is carry over from the 'ole days you can see it on one of the last options in the tree for the script (options>script) ...guess it's hard to let go of the past..
Now in E-load I understand you can emulate Mozilla browsers for your load scripts but at the thin client level it wont tell you much more then what IE would see...(application independent of course)...
Hope this helps

Similar Messages

  • Command or Canvas Events for Recording ?? Please Help..

    Hi I am Abhijith I am a total newbie to the j2me world, And I am learning it now,
    My project topic is "Bluetooth Walkie Talkie " , And I am trying my best and putting
    all my efforts to code incrementally by learning , Before I could implement bluetooth,
    I thought let me complete the recording The audio and playing part first,
    The recording and playing of audio is working fine , But i would like to do it a real manner as Real Walkie talkie does, I want to record audio ONLY when the Key is being
    pressed , and when its released it should exit the player hence saving the recorded file,
    (Actually i dont want to save it in future,i would be sending the bytearray though the bluetooth , but for now , I want the Current module to be ready)
    I tried my best searching online to implement my requirement but the couldnot find
    such events I found Canva's KEYPRESS, KEYRELEASE , etc events but they dint not
    serve my purpose, Let me clearly tell where I am stuck , After the midlet starts(by launching it) then i would like to press a key( keypressed say No 5) for certain
    amount of time and the audio should be recorded only for the keypressed duration ,
    after I release , it should stop recording and save as a wav file .
    Whats happening is When i keep the key pressed , The midlet asks whether to allow
    the recording , for this purpose when I release key the control is going out, and
    i am not able to achieve the needed , I am posting the code here, Please Help me.
    I am not asking for the complete spoon feeding or ready made code, But as a beginner
    I need help from you all to learn and implement it.(at least it should satisfy me,i would feel i have learnt something then)
    Here below is my code ( i AM using WTK 2.5 )
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.media.*;
    import java.io.*;
    import javax.microedition.media.control.*;
    import java.util.*;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    public class Key extends MIDlet{
      private Display  display;
      private KeyCodeCanvas canvas;
      public Key(){
        display = Display.getDisplay(this);
        canvas  = new KeyCodeCanvas(this);
      protected void startApp(){
        display.setCurrent(canvas);
      protected void pauseApp(){}
      protected void destroyApp( boolean unconditional ){
        notifyDestroyed();
    class KeyCodeCanvas extends Canvas implements CommandListener{
      private Command exit;
         public StringItem message ;
         private Player player;
         private byte[] recordedAudioArray = null;
      private String keyValue = null;
      private Key midlet;
         Thread t = null;
         private String eventType = null;
      public KeyCodeCanvas(Key midlet){
        this.midlet = midlet;
        exit = new Command("Exit", Command.EXIT, 1);
        addCommand(exit);
        setCommandListener(this);
      protected void paint(Graphics g){
          g.setColor(255, 0, 0);
          g.fillRect(0, 0, getWidth(), getHeight());
        if (keyValue != null){
          g.setColor(0, 0, 255);
           g.drawString(keyValue + eventType+message, getWidth() / 2, getHeight() / 2,
         Graphics.TOP | Graphics.HCENTER);
      public void commandAction(Command c, Displayable d){
        String label = c.getLabel();
        if(label.equals("Exit"))
          midlet.destroyApp(true);
      protected void keyPressed(int keyCode){
         eventType = "pressed";
        keyValue = getKeyName(keyCode);
        repaint();
      public void keyReleased(int keyCode)
           try
                eventType = "released";
                keyValue = getKeyName(keyCode);
                repaint();
           catch (Exception e)
                System.out.print(e);
      public void keyRepeated(int keyCode)
           eventType = "repeated";
           keyValue = getKeyName(keyCode);
           try
                Thread t1 = new Thread()
                     public void run()
                          try
                               player = Manager.createPlayer("capture://audio?encoding=pcm");
                               player.realize();
                               RecordControl rc = (RecordControl)player.getControl("RecordControl");
                               ByteArrayOutputStream output = new ByteArrayOutputStream();
                               rc.setRecordStream(output);
                               rc.startRecord();
                               player.start();
                               eventType = "Recording";
                               message.setText("Recording...");
                               Thread.sleep(5000);
                               message.setText("Recording Done!");
                               rc.commit();
                               recordedAudioArray = output.toByteArray();
                               player.close();
                          catch (Exception e)
                }; t1.start();
           catch (Exception e)
           repaint();
         //Runnable r1 = new Runnable()
         //    public void run()
         //        try
         //            System.out.print(" here 1");
         //            message.setText(" here 1 ");
         //            player = Manager.createPlayer("capture://audio?encoding=pcm");
         //            player.realize();
         //            RecordControl rc = (RecordControl)player.getControl("RecordControl");
         //            ByteArrayOutputStream output = new ByteArrayOutputStream();
         //            rc.setRecordStream(output);
         //            rc.startRecord();
         //            player.start();
         //            eventType = "Recording";
         //            message.setText("Recording...");
         //            Thread.sleep(5000);
         //            message.setText("Recording Done!");
         //            rc.commit();
         //            recordedAudioArray = output.toByteArray();
         //            player.close();
         //        catch (Exception e)
    }I am really sorry at the end I messed with the code and its altered a Lot, But hope the
    logic Will is clear which is my requirement . I know the code for recording and
    playing is not complete as said, i Messed around a working code and tried adding Canavs
    for keyrepeat method,tried putting a thread around , AT last totally messed,
    I tried working on this for two days but couldn't be successfull , Please Help me!!
    The control goes out when midlet asks whether to allow recording ,
    I thank you anticipation ...
    -Abhijith Rao

    Midlet asking whether to allow the recording are typical permissions prompts specified by MIDP security policy. You need to sign the MIDlet and give it proper permissions.
    Problems like this were discussed in an older thread at WTK forum: *[MIDlet keeps asking for permission.|http://forums.sun.com/thread.jspa?threadID=5347313]* According to one of the posters in the thread, +"...I got it to work on the emulator by setting the permission to 'manufacturer'. It runs smoothly without annoying questions..."+
    If you're interested, check documentation and tutorials on MIDP security policy for more details.
    For events to record audio only when the key is being pressed, consider GameCanvas API, method getKeyStates.
    I am not certain though if doing it this way is a good idea. I doubt that phone users have same habits as those of walkie-talkies; for them it might be indeed more comfortable to use single simple key presses to start and finish recording.

  • Can the GetEvents Web Service return a subset of events for a given record

    Page 173 of Siebel Web Services On Demand Guide Version 3.1 (CRM On Demand Release15) Rev. A, states the following:
    "You can return events for all record types, or a subset of record types, depending on how you prepare the WSDL files associated with the Integration Event service,"
    The IntegrationEventWS_GetEvents_Input type in the Integration Event WSDL that is availble only contains an "Event Count" parameter for the number of events to retrieve and appears to have no way to specify a record type in order to retrieve a subset of the events as stated above.
    Is there any way to retrieve a subset of the Intgeration Events by record type?
    Thanks
    John

    Customer care have replied to me and the line qouted above is a documentation error and there is no way to query the GetEvent Web Service to return a subset of events for a given record.

  • Support for Mozilla/Firefox record & playback

    I was just wondering if e-Tester supports recording and playback of test scripts in Mozilla/Firefox? I know the embedded browser in the application is based on IE.
    I know that the documentation mentions something about support for Netscape, so I was wondering how that worked and if that can be extended to the Mozilla family of browsers.
    Thanks...

    Right now e-test only uses IE and IE7 only on 8.2 ....word on the street is that FF support is coming before the end of the year but nothing official yet....
    The netscape option is carry over from the 'ole days you can see it on one of the last options in the tree for the script (options>script) ...guess it's hard to let go of the past..
    Now in E-load I understand you can emulate Mozilla browsers for your load scripts but at the thin client level it wont tell you much more then what IE would see...(application independent of course)...
    Hope this helps

  • I am using logic to record a podcast and using soundboard to use as a playback for music and sound effects.  I'd like to soft patch sound board into logic, and still use my interface for recording audio from the other members of the podcast.

    I am using logic to record a podcast.  I have a presonus firestudio mobile for my interface so I can record several people at the same time.  I'm also using Soundboard for a playback system for music and sound effects.  I'd like to know how to soft patch Soundboard into Logic while still using the Firestudio interface to record the other members of the podcast.  Does anyone know how to do this? and if so can you tell me how to do it?  Thanks.

    Thanks. Now, since Apple failed to provide an audio in jack for their new and improved iMacs (mine has one), all I can suggest is that you contact AppleCare, since you have 90-dqy free phone support. If need be, you might reconsider your purchase, but that's for you to decide.

  • Search for records in the event viewer after the last run (not the entire event log), remove duplicate - Output Logon type for a specific OU users

    Hi,
    The following code works perfectly for me and give me a list of users for a specific OU and their respective logon types :-
    $logFile = 'c:\test\test.txt'
    $_myOU = "OU=ABC,dc=contosso,DC=com"
    # LogonType as per technet
    $_logontype = @{
        2 = "Interactive" 
        3 = "Network"
        4 = "Batch"
        5 = "Service"
        7 = "Unlock"
        8 = "NetworkCleartext"
        9 = "NewCredentials"
        10 = "RemoteInteractive"
        11 = "CachedInteractive"
    Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0""
    or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>" -ComputerName
    "XYZ" | ForEach-Object {
        #TargetUserSid
        $_cur_OU = ([ADSI]"LDAP://<SID=$(($_.Properties[4]).Value.Value)>").distinguishedName
        If ( $_cur_OU -like "*$_myOU" ) {
            $_cur_OU
            #LogonType
            $_logontype[ [int] $_.Properties[8].Value ]
    #Time-created
    $_.TimeCreated
        $_.Properties[18].Value
    } >> $logFile
    I am able to pipe the results to a file however, I would like to convert it to CSV/HTML When i try "convertto-HTML"
    function it converts certain values . Also,
    a) I would like to remove duplicate entries when the script runs only for that execution. 
    b) When the script is run, we may be able to search for records after the last run and not search in the same
    records that we have looked into before.
    PLEASE HELP ! 

    If you just want to look for the new events since the last run, I suggest to record the EventRecordID of the last event you parsed and use it as a reference in your filter. For example:
    <QueryList>
      <Query Id="0" Path="Security">
        <Select Path="Security">*[System[(EventID=4624 and
    EventRecordID>46452302)]]</Select>
        <Suppress Path="Security">*[EventData[Data[@Name="SubjectLogonId"]="0x0" or Data[@Name="TargetDomainName"]="NT AUTHORITY" or Data[@Name="TargetDomainName"]="Window Manager"]]</Suppress>
      </Query>
    </QueryList>
    That's this logic that the Server Manager of Windows Serve 2012 is using to save time, CPU and bandwidth. The problem is how to get that number and provide it to your next run. You can store in a file and read it at the beginning. If not found, you
    can go through the all event list.
    Let's say you store it in a simple text file, ref.txt
    1234
    At the beginning just read it.
    Try {
    $_intMyRef = [int] (Get-Content .\ref.txt)
    Catch {
    Write-Host "The reference EventRecordID cannot be found." -ForegroundColor Red
    $_intMyRef = 0
    This is very lazy check. You can do a proper parsing etc... That's a quick dirty way. If I can read
    it and parse it as an integer, I use it. Else, I just set it to 0 meaning I'll collect all info.
    Then include it in your filter. You Get-WinEvent becomes:
    Get-WinEvent -FilterXml "<QueryList><Query Id=""0"" Path=""Security""><Select Path=""Security"">*[System[(EventID=4624 and EventRecordID&gt;$_intMyRef)]]</Select><Suppress Path=""Security"">*[EventData[Data[@Name=""SubjectLogonId""]=""0x0"" or Data[@Name=""TargetDomainName""]=""NT AUTHORITY"" or Data[@Name=""TargetDomainName""]=""Window Manager""]]</Suppress></Query></QueryList>"
    At the end of your script, store the last value you got into your ref.txt file. So you can for example get that info in the loop. Like:
    $Result += $LogonRecord
    $_intLastId = $Event.RecordId
    And at the end:
    Write-Output $_intLastId | Out-File .\ref.txt
    Then next time you run it, it is just scanning the delta. Note that I prefer this versus the date filter in case of the machine wasn't active for long or in case of time sync issue which can sometimes mess up with the date based filters.
    If you want to go for a date filtering, do it at the Get-WinEvent level, not in the Where-Object. If the query is local, it doesn't change much. But in remote system, it does the filter on the remote side therefore you're saving time and resources on your
    side. So for example for the last 30 days, and if you want to use the XMLFilter parameter, you can use:
    <QueryList>
    <Query Id="0" Path="Security">
    <Select Path="Security">*[System[TimeCreated[timediff(@SystemTime) &lt;= 2592000000]]]</Select>
    </Query>
    </QueryList>
    Then you can combine it, etc...
    PS, I used the confusing underscores because I like it ;)
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • Can you add a past event Into iCal?  I want to do this for record keeping.

    I want to add past events to my icalendar for record keeping. When I try it disappears right after I add.  Can I do this?

    You don't mention your OS or iCal versions but, based on my own OSX.6.8 and iCal v4.0.4 (1395.7) then go to ...
    iCal > Preferences > Advanced
    ... and look at the Option for Delete events n days after they have passed and ensure that either the option is not checked (which should keep past events for ever) or set to the number of days after which you are happy that past events get deleted.
    Other parameters can also be set for the treatment of To Do items within that same preference panel.
    I guess, although I do not know, that other versions of iCal and Calendar have similar options somewhere within user customisation.

  • Creating Boundary Events for Automated Activity consuming an RFC

    Hi All,
    Can somebody help me in creating the Boundary Events for an Automated activity which is consuming an RFC. I got the docs and few how to for WS Consuming Automated activity, but I couldnu2019t find anything which describes for RFC consuming Automated activity. Your help will be greatly appreciated.
    Regards,
    SrinivaS

    Hello,
    I am facing the same problem. Could you please explain the method you followed in order to solve this issue?
    Thanks in advance.

  • Extended Event Filter Record for PArticular or ONE database

    Hi Folks,
    If am working with Extended Event .In that am use Adventureworks database which are long running queries.Finally i get a result from all  Database those queries are long running queries. But i want to get the result
    from only one database, anyother database long running queries wont come in result., If possible tell me the ways.,
    Thanks

    In this case you can filter the events based on the database id.
    Reference
    http://blog.sqlauthority.com/2010/03/29/sql-server-introduction-to-extended-events-finding-long-running-queries/
    Mention the sqlserver.database_id parameter while creating the event session
    In the below example, I've created session to monitor the long running events for the database_id =15
    CREATE EVENT SESSION LongRunningQuery
    ON SERVER
    -- Add event to capture event
    ADD EVENT sqlserver.sql_statement_completed
    -- Add action - event property
    ACTION (sqlserver.sql_text, sqlserver.tsql_stack,sqlserver.database_id)
    -- Predicate - time 1000 milisecond
    WHERE sqlserver.sql_statement_completed.duration > 1000 and sqlserver.database_id=15
    -- Add target for capturing the data - XML File
    ADD TARGET package0.asynchronous_file_target(
    SET filename='c:\LongRunningQuery.xet', metadatafile='c:\LongRunningQuery.xem'),
    -- Add target for capturing the data - Ring Bugger
    ADD TARGET package0.ring_buffer
    (SET max_memory = 1096)
    WITH (max_dispatch_latency = 1 seconds)
    --Prashanth

  • WVC54GCA Record & Playback problems : Time issues - Playback - AVI conversion

    I have gotten everything to work sort of.
    Time: The camera time seems to be becoming issue and I am not quite sure why. I have synced it with my pc an it seems still lose an hour. It will sometimes go and try and find a Nttp server even though I havent specified one.
    Playbacks: The program for retrieving and playing your recordings. The window never opens to the correct size. I always have to expand it. The slide bar at the bottom (besides not being able to read the font) doesnt display correctly. The speed bar either doesn't speed up the video fast enough for me or doesn't work at all. I am interested in fast forwarding through the recording to see if there is anything worth saving. I am trying to record 12hours per day.
    AVI Conversion: The status box of the conversion box doesn't seem to work. When I convert my video I get lots of avi files and have yet to see the full 12 hours of video converted. Why are the data files broken up.
    So I think this has the potential for being a great product but I need to know if these minor but essential software issues are going to be resolved. Are there people working on them. Are they of concern to anyone. My use for the camera is to watch my house and record any mischief. But if I am vandalized then I need to produce a tape of the event. I still havent seen that I can do it with this product.
    Thanks for listening.

    Did the firmware update but still having issues with date and connecting. I am using the software from another camera that works better than the software that came with the camera. It uses a newer version of the recorder/playback which fast forwards correctly and saves and plays back correctly. The timing issue is irritatting since the camera will not do its scheduled recordings if the time is not the same as the pc. Also I had the camera lock up and not allow me access yesterday (before flash). I had to unplug it to get it back. Yes it has a static ip and the router was powered all day.
    Thanks

  • How do I use optical input for recording in Garageband 9?

    Hi,
    I'm trying to use the Optical Line Input on my G5 for recording in Garageband, using a MOTU 828. I have the 828 optical output connected to the optical audio input on the G5, and I have Digital In (Optical digital-in port) selected in system preferences/sound. But in Garageband preferences, optical or digital input is not among my choices. If I select system setting or built-in audio 2, I get no signal. If I select MOTU 828, it defaults to the analog master outputs on the 828.
    I am a Logic 8 user, and I'm able to select the optical input in Logic with no problem. I have my MOTU audio setup set so that the optical output is the default output, but Garageband still seems to use the analog output. I can tell by the record level, which is considerably louder for analog than for optical.
    Any suggestions?
    Thanks!

    create a new fla, add btn and add the code i suggested.  test.
    var count:int;
    var imageArray:Array=["1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7. jpg",
    "8.jpg","9.jpg","10.jpg","11.jpg","12.jpg","13.jpg"];
    var ldr0:Loader=new Loader();
    ldr0.contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
    var ldr1:Loader=new Loader();
    ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
    btn.addEventListener(MouseEvent.CLICK,clickF);
    function clickF(e:MouseEvent):void{
    // initialize count
    count=0;
    // call loadF
    loadF();
    function loadF():void{
    // add one of the loaders to the top of the displaylist and load the next image
    addChild(this["ldr"+count%2])
    this["ldr"+count%2].load(new URLRequest(imageArray[count]));
    function loadCompleteF(e:Event):void{
    // increment count
    count++;
    // check if the last has loaded
    if(count<imageArray.length){
    // if not clear the content out of the next loader.
    if(this["ldr"+count%2].content){
    this["ldr"+count%2].unloadAndStop();
    // and call loadF so the next loader can load the next image in the array
    loadF();
    } else {
    // if the last has loaded.
    // last load completed

  • An uneventful year... (aka no events for photos taken in 2006)

    Have just installed iPhoto 08 and it has upgraded my library and created events for me.
    However, no photos from between March 21 2005 and February 1 2007 show up in the Events or Photos views at all! I can see these photos in their albums but there is a huge hole between 2005 and 2007 everywhere else, and it only lists '830 photos in 30 events' at the bottom of the window (I know there are a couple of thousand normally). If i select all the photos in an album and ask iPhoto to create an event it pops up a confirmation, I confirm and it looks as if it has created an event (in any case it won't let me do it again, the option is greyed out), but I still cannot see these photos in Events/Photos.
    I tried deleting the album in case a photos can't be in an Event and an Album at the same time but this resulted in not being able to see the photos of that album anywhere! Luckily I have a backup...
    I have tried repairing permissions, rebuilding the library, and restoring the library from backup to give iPhoto another shot at it but nothing seems to work!
    How can I fix this?

    Simon:
    Welcome to the Apple Discussions. Threre are two ways to correct that.
    1 - use the Photo's->Batch Change menu option to change the date to what you want AND write that date to the files as well.
    2 - use the Photos->Adjust Date and Time menu option.
    Both do pretty much the same. I've not figured out the real differences between the two but there's bound to be one. I've been able to do multiple photos at a time with each.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How do I create DRM Licenses that can be used for Offline Playback?

    [ Background ]
    Typically, a license is acquired from the DRM license server when the client video player encounters a video that is DRM-protected.   However, some use cases call for the ability for end-users to be able to play DRM content when a network connection is not available to the device.
    For example - the user wants to download a video from their home, acquire a license to play the content, and then get onto a train/airplane where a network connection isn't available.  On the train/airplane/etc..., the end user expects to be able to watch their video that they downloaded at home.
    [ DRM Policy Requirements ]
    For this use case to be possible, the DRM license must be acquired when the network connection is available.  In addition, the DRM license must be allowed to persist on the device disk.  For this to be possible, one value must be present in the DRM policy:
    1. Offline License Caching must be set to 1 or higher.  This policy parameter indicates how many minutes a license is allowed to be persisted to disk once it's been acquired by the license server.
    [ Workflow ]
    Now that the content has been packaged with a DRM policy that allows for offline caching (persistance) of a license, the video player simply has to acquire the license before the network connection is lost.  This can be accomplished via the typical API calls that the Video Player Application Developer would use to do a normal DRM license acquisition (DRMManager.loadVoucher()).
    For example, by using the DRMManager ActionScript3 API: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/drm/DRMManage r.html
    For other platforms supported by Adobe Access DRM (iOS, Android, etc...), please refer to the appropriate documentation around playback of DRM content on how to pre-fetch the DRM license.
    [ Workflow - iOS ]
    Enabling offline playback using the Primetime Media Player SDK (PSDK) for iOS requires a bit of self-extraction & instantiation of the DRM Metadata from the m3u8.  The reason for this is that as of PSDK v1.2, the PSDK APIs do not expose an mechanism for extracting the DRM metadata.
    You must manually (outside of the PSDK) get access to the DRM Metadata, instantiate a DRMContentData, and then use the DRMManager class to obtain a license for your content.  Afterwards, you may download your HLS content and stream it to your video player application locally.  Since the DRM license was pre-acquired before playback of the downloaded HLS content, your video player application does not require a network connection to acquire a DRM license.  Below is a code sample of obtaining the DRM Metadata from the m3u8 manifest and then using it with the DRMManager singleton.
    /*          Main entry points, playlistURL is url to a top level m3u8. */
    void PlayContent(NSURL* playlistURL)
              DRMManager* drmManager = [DRMManager sharedManager];
              if ([drmManager isSupportedPlaylist:playlistURL])
      // First we need a handler for any errors that may occur
                        DRMOperationError errorHandler = ^(NSUInteger major, NSUInteger minor, NSError* nsErr)
      /*          report error. */
      /*          Synchronous call to DRM manager to extract DRM metadata out of the playlist. */
                        [_drmManager getUpdatedPlaylist:playlistURL
                                                                                      error:errorHandler
                                                                                    updated:^(NSURL *newPlaylist, DRMMetadata *newMetadata)
                                   (void) newPlaylist; /*          updated URL is not used for this code sample. */
                                   if (newMetadata)
                                                      Assumes we are going to try to satisfy requirements to acquire license on the first policy in the metadata.
                                                      If there are multiple policies in the metadata, only 1 of them need to be satisfied for the license request to
                                                      go through.                                          
                                             DRMPolicy* drmPolicy = NULL;
                                             for (id object in newMetadata.policies) {
                                                       DRMPolicy* drmPolicy = (DRMPolicy*)object;
                                                       break;
                                             if (drmPolicy == NULL)
                                                       /*          report error, this metadata is malformed. DRM metadata must contain at least 1 policy*/
                                             if (drmPolicy.authenticationMethod != ANONYMOUS)
    However, please note that the above only describes the DRM license handling for offline playback.  The actual playback of video using the Primetime client SDK is not officially supported.  You will have to use your own mechanism of saving and playback back HLS content locally within the application.
    Theoretically, it is possible to save the HLS stream to the app, and then embed an HTTP server to the app to stream the HLS content back into the application.  However, the Primetime client SDK doesn't not expose a way to do this directly, since it's not yet supported.
    cheers,
    /Eric.

    no, the headers, here's a picture of the headers on this page. When I use SEO for Firefox, it sees them on every other page but never on my iweb sites.
    Quickpost this image to Myspace, Digg, Facebook, and others!

  • Connecting the canon SX50 to HDTV for video playback???

    Connecting the canon SX50 to HDTV for video playback???
    ok, Got this Camera, like it, except for a few confusing issues. I was told, in order to playback HD video onto my HDTV Samsung, with an HDMI4 on the left side of the TV, all I needed was a HDMI to HDMI cable.
     (#1) Shut off both TV and camera, plug the cable into this HDMI plugin, turn on the TV and Camera power supply, and it should recognize, then start paying.
    Well, I did it both ways, (#1) shut off,then turn on, and (#2) I just inserted the camera's HDMI to the HDMI4 while both were on, and tried opening up the Samsung's' Tools >Inputs, etc, and still nothing!
    Is there an easy way to accomplish this?
    The second issue i'm having , is how to shut off the slow motion playback, when viewing the videos, which were not recorded in slow--mo, and it's frustrating trying to playback in normal speed, but instead it plays in slow-mo.
    I'm not quite sure I'm recording in full HD...The payback is only 60i

    Thanks grazie!
    Well, i accomplished most of that and at least got the video on the display (Samsung Anynet HDMI3) But no sound!
    I was also able to control the SX50 TV Display with my samsung remote, kool.
    As far as the playbgack volume, I checked the camera, I did notice the OPERATIONAL SOUND was off, but when I played back the video on the camera itself, i did have volume.
    On that subject of Slow motion videos, if i'm watching each video, then see one playing back in slow-motion, does that mean i actually filmed it in slow motion, without knowing? ( i can send it through Pinnacle Studio 15HD and speed it back up, but theres no background volume anyway)  if i did unknowingly videotaped in slow motion, i bettter be more observant in the future.
    I'm going to increase that ''Operational sound'' on the tools / Camera and try to playback to see if I have any sound.
    I have a Yamaha 7.1 reciever, and TV, BD player,Time-Warner cable all is connected to this receiver....I was pushing all buttons for inputs to see which one would work for sound with video, but could not find any.  Thanks, or grazie grazie!

  • Automating album creation for a new project?

    I have several projects (such as specific event shoots) with the same basic set of albums for that project (some regular albums, some smart albums). I'll have albums for specific subsets of the events (for my sports shots, there's Individuals, Action, Team, etc.).
    I'd like to automate the creation of these albums, as it gets a bit tedious having to create a bunch of albums manually for each new project I create. I looked at Aperture's automator actions, but couldn't find anything related to album creation. Is there such a thing?
    Thanks...
    David

    I'm pretty sure this is scriptable using AppleScript. I haven't really had the need to script Aperture so I can't tell you the exact syntax without looking it up myself, but it shouldn't be too hard if you've ever used AppleScript. Just open Script Editor, go to File > Open Dictionary... > Aperture and you'll get a list of the scriptable actions Aperture has available.

Maybe you are looking for