Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work stream to facebook live #110

Open
Shpionus opened this issue May 7, 2020 · 1 comment
Open

Does not work stream to facebook live #110

Shpionus opened this issue May 7, 2020 · 1 comment

Comments

@Shpionus
Copy link

Shpionus commented May 7, 2020

Does this library support rtmps?

func remote_stream() {
	conn, err := rtmp.Dial("rtmps://live-api-s.facebook.com:443/rtmp/<facebook_token>")
	if err != nil {
		log.Println("remote dial")
		panic(err)
	}

	defer conn.Close()
	if err := avutil.CopyFile(conn, que.Latest()); err != nil && err != io.EOF {
		log.Println("Remote copy file")
		panic(err)
	}
}

Result:

2020/05/07 16:27:30 Remote copy file
panic: unexpected EOF
@derit26
Copy link

derit26 commented May 2, 2021

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants