-
-
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
CRASH: SRS2 crashed for TS encoder assert failed. #834
Comments
It is very strange that both PAT and PMT exist, but there is no Audio or Video. According to the code, it seems to be an impossible logic.
Moreover, vcodec and acodec are not Disabled. There is only one possibility, which is that PAT was written (which sets PAT and PMT), but PMT was not written. The last connected log:
Discovered that there is a streamName that is empty, causing the file writing to fail:
It happened that the Program Association Table (PAT) failed to write, resulting in only PAT and Program Map Table (PMT) being present, without any Audio or Video.
|
Therefore, there are two solutions:
|
I found SRS2 crashed for some special audio/video packets:
TS encoder assert failed:
The caller stack:
The text was updated successfully, but these errors were encountered: