Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing protected m4p files and dealing with authorization popup windows



I also get an exception when trying
 
RestrictionSet.fromMovie()
 
However, it doesn't seem that the RestrictionSet will help much in determining whether a drm file is authorized to play. According to the API, these are following restrictions handled for quicktime 6 (I'm not sure if any have been added for quicktime 7):
 
enum {
    kQTRestrictionClassSave = 'save'
    kQTRestrictionSaveDontAddMovieResource = (1L << 0)
    kQTRestrictionSaveDontFlatten = (1L << 1)
    kQTRestrictionSaveDontExport = (1L << 2)
    kQTRestrictionSaveDontExtract = (1L << 3), // don't allow  any form of    // extraction of  conten
 
    kQTRestrictionClassEdit = 'edit',
    kQTRestrictionEditDontCopy = (1L << 0), // disable copy
    kQTRestrictionEditDontCut = (1L << 1), // disable cut
    kQTRestrictionEditDontPaste = (1L << 2), // disable paste
    kQTRestrictionEditDontClear = (1L << 3), // disable clear
    kQTRestrictionEditDontModify = (1L << 4), // don't allow  modification
                                              // of content
    kQTRestrictionEditDontExtract = (1L << 5) // don't allow  any form of 
                                            // extraction of content
};
 
As Andre-John mentioned, "what you should do is add a test to find out:

- whether the movie required authorization

- whether the movie was given authorization"

Anyone know if this is possible in Quicktime for Java?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-java/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.