Skip to content

Live Stream Sync #13

@gazugafan

Description

@gazugafan

Related to Issue #4

I'm trying to synchronize a live HLS stream using a global epoch timestamp, but running into a wall. I think my issue must be either that...

  1. I'm using video.js, and this isn't compatible with mediaSync for some reason.
    or 2) The epoch timestamps aren't being included in the stream.

So, I guess this is a two part question...

  1. Do you have any idea if mediaSync should work with video.js? Should I switch to using hls.js instead?
  2. I've included -f dash -min_seg_duration 1000000 -use_template 1 -use_timeline 1 in the advanced X264 encoder options in OBS, which I think just gets passed to ffmpeg. I'm not really sure how to confirm that this is working correctly, though. Do you know what I might look for to confirm that the epoch timestamps are indeed included? When I check the video's timestamp via the video.js object's getTimestamp() method, it's just returning the number of seconds the stream has been running--not a global epoch timestamp.

Really appreciate all your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions