I’m creating a custom overlay based on the AnalyticsOverlay sample. I’ve successfully created a live/playback overlay with the MetadataSupplier and NewImageViewerControlEvent.
MetadataSupplier metadataSupplier = new MetadataSupplier(relatedMetadata, imageViewerAddOn.WindowInformation);
However, when the user changes to playback, the MetadataSupplier_NewMetadataEvent keeps firing as if it still was in live mode. What’s the best approach here to switch over to playback?
While working in the Live and Playback workspaces the MetadataSupplier will be optimal for you. While working elsewhere, in the Search workspace or other places, the MetadataSupplier will not work correctly as it will not have the correct understanding of whether live or playback mode is applicable.
Are you suggesting that I should stop using the MetadataSupplier altogether and only use the MetadataPlaybackSource even though it’s in live mode? What is the fastest way to retrive and process metadata?
While working in the Live and Playback workspaces the MetadataSupplier will be optimal for you. While working elsewhere, in the Search workspace or other places, the MetadataSupplier will not work correctly as it will not have the correct understanding of whether live or playback mode is applicable.