Skip to content

Commit

Permalink
Added muxing to the testing
Browse files Browse the repository at this point in the history
  • Loading branch information
djthorpe committed Jun 26, 2024
1 parent d5a5ac9 commit 0fcfbc9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions writer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package media_test

import (
"context"
"path/filepath"
"strings"
"testing"
Expand Down Expand Up @@ -33,5 +34,12 @@ func Test_writer_001(t *testing.T) {
t.SkipNow()
}
defer writer.Close()

t.Log(writer, "=>", filename)

// Perform muxing of packets
writer.Mux(context.Background(), func(stream int) (Packet, error) {
t.Log("Muxing packet for stream", stream)
return nil, nil
})
}

0 comments on commit 0fcfbc9

Please sign in to comment.