How to get the timeline populated with recording indications in "Playback" workspace?

2019 R1

My plugin does not get the default WindowInformation.PlaybackControllerFQID other than null (Inside mouse click event on “Playback” workspace).

If I generate new PlaybackController and add camera to it

_playbackWpfUserControl.SetCameras(new List<FQID>() { _viewItemManager.CameraId });

it’s working there:

Initialization of Wpf control:

            _imageViewerControl = new ImageViewerWpfControl(WindowInformation)
            {
                CameraFQID = _viewItemManager.CameraId,
                VerticalAlignment = System.Windows.VerticalAlignment.Stretch,
                EnableDigitalZoom = true,
                Selected = true
            };
 
            canvasVideo.Children.Add(_imageViewerControl);

The RGBVideoEnhancement plugin sample works in that when the view item is selected the camera used in the view item becomes active on the time line.

The reason it works is that is sets the “EmbeddedCameraFQIDProperty”.

Please look at the RGBVideoEnhancement plugin sample and especially the RGBVideoEnhancementViewItemManager and the SelectedCamera property setter.