Luke 42077 Posted May 10, 2023 Posted May 10, 2023 This is being added to PlayStateCommands. The signature and params are identical to Seek, except that the value passed in should be interpreted as being relative to the current playing position. This is very easy to add support for. Just put it next to wherever you're receiving the seek command. For example: else if (msg.Data.Command === 'Seek') { playbackManager.seek(msg.Data.SeekPositionTicks); } else if (msg.Data.Command === 'SeekRelative') { playbackManager.seekRelative(msg.Data.SeekPositionTicks); } @TeamB@quickmic@ebr
TeamB 2438 Posted May 10, 2023 Posted May 10, 2023 so this is like a skip forwards or backwards by x how can i test this? which clients can send it and how?
Luke 42077 Posted May 10, 2023 Author Posted May 10, 2023 Just now, TeamB said: so this is like a skip forwards or backwards by x how can i test this? which clients can send it and how? Once 4.8.0.35 is up, you can test using the dedicated buttons for skipping forward and back in the video player. Previously the client would just try to calculate the final position based on the most recent data that it had. 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now