-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
OBS streaming to SRS, republishing failed #454
Comments
You can use tcpdump to capture packets:
|
nginx-rtmp has no problem stopping and starting again after starting. However, with SRS, after starting and stopping, it gets stuck at "connecting" and eventually times out. It is unable to establish a connection for continuous publishing.
|
The package sent by OBS is: And NginxRTMP only returns one: And SRS returns three (in the same way as FMS returns): Actually, this connection has already been disconnected during stop, so it is a problem when dealing with new connections.
|
It was found that in the second connection packet sent by OBS to SRS, there is an app in the tcURL. However, OBS only has an app in the first packet sent to nginx, and there is no app in the following packets. It seems that nginx did not disconnect the connection.
|
The result is that it is a problem with the chunk_size. OBS should set the chunk_size before exceeding 128 bytes, otherwise it will cause parsing failure.
|
As mentioned in the title.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: