Skip to content

Commit

Permalink
fix frame
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyoshiaki committed Nov 28, 2023
1 parent 2678af3 commit fd1c601
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/rtp/src/container/mp4/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,11 @@ export class Mp4Container {
}

const res = {
type: frame.type,
timestamp: frame.timestamp,
duration: frame.duration ?? 0,
data,
type: bufferFrame.type,
timestamp: bufferFrame.timestamp,
kind: frame.track,
duration,
data,
};
this.onData.execute(res);
}
Expand Down

0 comments on commit fd1c601

Please sign in to comment.