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

Bugfix: Avoid repeat transcoding when the transcode is the same and source ip is localhost #3618

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

feixintianxia
Copy link
Contributor

@feixintianxia feixintianxia commented Jul 6, 2023

When transcoding, if the output is set as "rtmp://127.0.0.1:[port]/[app]/[stream]_[engine]?vhost=[vhost]",
the source ip is "127.0.0.1", then it will cause repeated transcoding on the same server and the program crash.

For example:

-rw-rw-r-- 1 li li 9.6K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream.log
-rw-rw-r-- 1 li li 9.4K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream_.log
-rw-rw-r-- 1 li li 8.8K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream__.log
-rw-rw-r-- 1 li li 8.5K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream___.log
-rw-rw-r-- 1 li li 8.3K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream____.log
-rw-rw-r-- 1 li li 8.1K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream_____.log
-rw-rw-r-- 1 li li 7.5K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream______.log
-rw-rw-r-- 1 li li 7.4K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream_______.log
-rw-rw-r-- 1 li li 6.9K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream________.log
-rw-rw-r-- 1 li li 6.8K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream_________.log
-rw-rw-r-- 1 li li 3.3K  Jul  6 12:54 ffmpeg-encoder-__defaultVhost__-live-livestream__________.log


TRANS_BY_GPT3

@xiaozhihong xiaozhihong added Bug It might be a bug. and removed Bug It might be a bug. labels Jul 17, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants