forked from External/mediamtx
record: use original timescale of track instead of 90khz (#3212)
This commit is contained in:
parent
55355ad58a
commit
d63a0bc352
1 changed files with 1 additions and 1 deletions
|
|
@ -114,7 +114,7 @@ func (f *formatFMP4) initialize() {
|
|||
|
||||
addTrack := func(format rtspformat.Format, codec fmp4.Codec) *formatFMP4Track {
|
||||
initTrack := &fmp4.InitTrack{
|
||||
TimeScale: 90000,
|
||||
TimeScale: uint32(format.ClockRate()),
|
||||
Codec: codec,
|
||||
}
|
||||
initTrack.ID = nextID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue