Skip to content

Failed Connect [EOF] response #9

@derit26

Description

@derit26

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions