Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correctly use videoSegmentTimingInfo from the transmuxer #601

Merged
merged 7 commits into from
Aug 19, 2019

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Jul 16, 2019

Description

This must have happened sometime during the merging of tba/lhls and #371

Seems like we were expecting the native SourceBuffer to fire videoSegmentTimingInfo which won't happen because we were firing it in VirtualSourceBuffer when the transmuxer fired it. Now we simply pass callbacks to mediaSegmentRequest for functions that we want to handle from the transmuxer.

src/source-updater.js Outdated Show resolved Hide resolved
@brandonocasey brandonocasey force-pushed the fix/video-segment-timing-info branch 2 times, most recently from 65ce4d0 to 1c84622 Compare July 16, 2019 20:37
@@ -6,7 +6,7 @@ import SourceUpdater from '../src/source-updater';
import {mp4VideoInit, mp4AudioInit, mp4Video, mp4Audio} from './dist/test-segments';
import { timeRangesEqual } from './custom-assertions.js';

const checkIntialDuration = function({duration}) {
const checkInitialDuration = function({duration}) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spelling

@brandonocasey brandonocasey force-pushed the fix/video-segment-timing-info branch 2 times, most recently from 928f63b to 4b91de1 Compare July 16, 2019 20:45
@brandonocasey brandonocasey force-pushed the fix/video-segment-timing-info branch from bf6f9c5 to 29c4ccc Compare July 17, 2019 20:57
@brandonocasey brandonocasey force-pushed the fix/video-segment-timing-info branch from 29c4ccc to 1929142 Compare July 18, 2019 15:04
src/source-updater.js Outdated Show resolved Hide resolved
@brandonocasey brandonocasey merged commit 857eb4c into master Aug 19, 2019
@brandonocasey brandonocasey deleted the fix/video-segment-timing-info branch August 19, 2019 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants