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: Where to start for a component to control custom DV camera functions?



At 2:44 PM -0800 12/29/04, Dave Camp wrote:
What I'd like to do is write a QuickTime component that uses my SDK to allow QuickTime enabled apps to display a standard panel to access our custom settings.

I haven't been able to find any docs or sample code that shows how to do that specifically. I found the SoftVDigX sample which implements an entire VDig, but I just want something that adds my custom controls, not an entire capture component since QuickTime is giving me that for free.

Wether you have to write a complete VDig or not depends on wether your SDK can talk to the camera while Apple's VDig is controlling it and if you can identify that it's your camera.


If that's the case, you can write a SGSettingsPanel component -- they're documented in IM:QuickTime Components.

In your panel component's CanRun() method, determine if the current video source is your camera and return true or false respectively.

That should get you started -- provided you don't get exclusive access errors trying to talk to the camera when Apple's driver is controlling it.

HTH,

-Steve
--
_________________________________________________________________________
Steve Sisak, CTO                                 email@hidden
IOXperts, Inc.                                            +1 617 876-2572
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Where to start for a component to control custom DV camera functions? (From: Dave Camp <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.