Fix stream info for publishing RTMP

This commit is contained in:
Alex X
2024-06-19 06:52:49 +03:00
parent a4885c2c3a
commit eaae7aee39
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func streamsHandle(url string) (core.Producer, error) {
func streamsConsumerHandle(url string) (core.Consumer, func(), error) {
cons := flv.NewConsumer()
run := func() {
wr, err := rtmp.DialPublish(url)
wr, err := rtmp.DialPublish(url, cons)
if err != nil {
return
}