nareix/joy4

can not publish stream to aliyun live service

suconghou opened this issue · 0 comments

example rtmp_publish

can not publish stream to aliyun live service but both obs and ffmpeg can .

The first bug I have found is that TcUrl has query in connect
I fix it

func getTcUrl(u *url.URL) string {
	app, _ := SplitPath(u)
	nu := *u
	nu.Path = "/" + app
	return strings.SplitN(nu.String(), "?", 2)[0]
}

But It still can not work , may be you miss releaseStream FCPublish or something else ,
i don't know , would you please fix it .