![]() Private async void Watcher_Updated(DeviceWatcher sender, DeviceInformationUpdate args) _watcher = DeviceInformation.CreateWatcher(remoteCameraAqs) _remoteCameraCollection = new ObservableCollection() Public RemoteCameraPairingHelper(CoreDispatcher uiDispatcher) Private ObservableCollection _remoteCameraCollection class RemoteCameraPairingHelper : IDisposable ![]() In the Updated handler, the associated remote camera device is removed from and then added back to the collection. Note that the helper class maintains a reference to the app's CoreDispatcher and updates the collection of cameras within calls to RunAsync to ensure that the UI bound to the collection is updated on the UI thread.Īlso, this example handles the DeviceWatcher.Updated event in addition to the Added and Removed events. Typical apps would wrap the MediaFrameSourceGroup in a custom model class. The following example shows a helper class that uses a DeviceWatcher to create and update an ObservableCollection of MediaFrameSourceGroup objects to support data binding to the list of cameras. Pass this ID into the MediaFrameSourceGroup.FromIdAsync method to get a MediaFrameSourceGroup object that you can use to retrieve frames from the camera. Each of these objects has an Id property that is the identifier for the network camera for which the event was fired. The event args passed into the Added and Removed event handlers are a DeviceInformation or a DeviceInformationUpdate object, respectively. Until you stop the watcher by calling Stop, the Added event will be raised when new network camera devices become available and the Removed event will be raised when a camera device becomes unavailable. When you start the returned DeviceWatcher by calling the Start method, it will raise the Added event for every network camera that is currently available. To monitor only network cameras, you should use the AQS string shown above. With that said, Sofortbild is still being actively developed, adding some features, fixing problems and supporting new Nikon cameras as SDKs become available.īut, unfortunately there is no specific plan to support other vendors in addition to Nikon any time soon.The helper method MediaFrameSourceGroup.GetDeviceSelector returns an AQS string that will monitor locally-connected and remote network cameras. Nevertheless, this was never enough to make a solid investment into Sofortbild. A few people have donated some money in the past, for which the original developer was very grateful. Although Sofortbild has become one of the most used applications for tethered shooting, it does not generate any revenue. Sofortbild currently only has a single developer, working on it as a private side project. Adding support for Sony and other DSLRs is even harder. Both SDKs do not have much in common, which means most of the code would need to be rewritten from scratch to add support for Canon cameras. Canon provides SDKs for third party developers like Nikon does. Sofortbild currently uses the Nikon camera drivers exclusively. ![]() Since releasing Sofortbild (and Nikon Control before renaming the software) we got emails asking for support of basically every DSLR ever released. Models from other manufacturers like Canon, Sony, Olympus or others are not supported at this time. Tl dr: Sofortbild only works with the specific Nikon DSRL cameras outlined on the Supported Nikon Cameras page. “my camera” is a placeholder for any not yet supported Nikon or any Canon, Sony, etc. The single most frequently asked question about Sofortbild is: “Does Sofortbild support my camera?” or “When will Sofortbild support my camera?”. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |