obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.8k stars 701 forks source link

Bug: if I "seek" a media item in OBS mediaStart occurs "again" #1155

Open BarryCarlyon opened 1 year ago

BarryCarlyon commented 1 year ago

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

29.0.x

OBS Studio Version (Other)

No response

obs-websocket Version

5.1.0

OBS Studio Log URL

N/A

OBS Studio Crash Log URL

No response

Expected Behavior

I'm not sure

Current Behavior

image

Steps to Reproduce

mediaStart is the event MediaInputPlaybackStarted

  1. Create 2 scenes
  2. scene a is whatever scene b has the media scource
  3. switch from scene a to scene b
  4. The media starts to play you get a mediaStart
  5. in OBS I use the seek bar to seek to another point in the video
  6. I get another mediaStart

Anything else we should know?

No response

BarryCarlyon commented 1 year ago

I think conceptually an event for "seek" makes sense.

or a revise to the documetnation to explain that seeking causes a "fresh play" event.

There is a question about "monitoring" the current playhead position, as duration and current "position" of the playhead could be useful