Playback recorded video in floating window and same camera open next window in live, applied playbackcommand,but its not working, please help

Below is the code that I am using

EnvironmentManager.Instance.SendMessage(

        new VideoOS.Platform.Messaging.Message

          (MessageId.SmartClient.PlaybackCommand,

            new PlaybackCommandData() { Command = PlaybackData.Play, DateTime = DateTime.Now.ToUniversalTime().AddHours(-5)}), cameraItem.FQID

          );

Try to explore the View and Window Tool sample, the Playback tab.

https://developer.milestonesys.com/s/article/Exploring-the-MIP-SDK-Tool-View-and-Window-Tool

I hope this is hint you need.