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

forwardrtmp DialFailed while publish to youtube #13

Open
pascallin opened this issue May 16, 2022 · 2 comments
Open

forwardrtmp DialFailed while publish to youtube #13

pascallin opened this issue May 16, 2022 · 2 comments

Comments

@pascallin
Copy link

pascallin commented May 16, 2022

It worked publishing to twitch and facebook, but it failed to dail youtube. Is anyone got the same problem?

avtool forwardrtmp :1935

fwd rtmp://a.rtmp.youtube.com/live2/secretkey
DialFailed
@tyronegroves
Copy link

@pascallin I have the same issue! Did you find a solution?

@anilkumarmeena
Copy link

Hi i have a solution for the same, after this youtube will work.

format/rtmp/cmd.go line:403
if err = c.writeCommand(4, c.avmsgsid, "publish", transid, nil, publishpath, connectpath); err != nil {
return
}
change connectpath to value "live"
if err = c.writeCommand(4, c.avmsgsid, "publish", transid, nil, publishpath,"live"); err != nil {
return
}

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

3 participants