Skip to content

Does not work stream to facebook live #110

@Shpionus

Description

@Shpionus

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

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