-
-
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
Unable to display, need to restore with stty echo #1592
Comments
Change to print logs without color, directly use printf(log_str), the same issue will occur.
|
It seems that after starting the FFMPEG process, STDIN was not closed, redirecting STDIN to /dev/null will fix it.
|
There is no direct closing of stdin, but instead dup2(/dev/null, stdin) is used to keep stdin file descriptor existing. There was a comment mentioning that closing stdin would cause FFMPEG to fail. Although it did not fail when tested, there might be some risks, so the dup2 method was adopted.
|
Description'
Please ensure that the markdown structure is maintained.
3.0.114
Replay
How to replay bug?
./objs/srs -c conf/ingest.conf
Steps to reproduce the bug:
Press
CTRL+C
to cancel.There may be no feedback, so you need to run
stty echo
to restore it.Note: It is easier to reproduce when there are multiple Ingesters.
Expected behavior (Expect)
> Describe your expectation (Please describe your expectation)
Terminal echo is normal.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: