hls muxer: fix black screen on iOS when there's no audio track (#816)
This commit is contained in:
parent
8cb2a7ffd4
commit
99f3215cfe
|
@ -13,8 +13,8 @@ type muxerTSWriter struct {
|
|||
}
|
||||
|
||||
func newMuxerTSWriter(
|
||||
videoTrack gortsplib.Track,
|
||||
audioTrack gortsplib.Track) *muxerTSWriter {
|
||||
videoTrack *gortsplib.TrackH264,
|
||||
audioTrack *gortsplib.TrackAAC) *muxerTSWriter {
|
||||
w := &muxerTSWriter{}
|
||||
|
||||
w.innerMuxer = astits.NewMuxer(context.Background(), w)
|
||||
|
|
Loading…
Reference in New Issue