joy5
joy5 copied to clipboard
Failed Connect [EOF] response
hi want to publish a video to yotube live stream but i got an EOF error
here example code
package main
import (
"fmt"
"github.com/nareix/joy5/format/rtmp"
)
func main() {
cc := rtmp.NewClient()
_, _, err := cc.Dial("rtmp://x.rtmp.youtube.com/live2/{streamkey}", rtmp.PrepareWriting)
if err != nil {
fmt.Println("Failed to connect", err)
return
}
fmt.Println("success")
}
error response
Failed to connect EOF
@derit26 did you every find a solution to this?