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

加上音频流以后视频变的很卡 #21

Open
hechangqin opened this issue Apr 14, 2021 · 1 comment
Open

加上音频流以后视频变的很卡 #21

hechangqin opened this issue Apr 14, 2021 · 1 comment

Comments

@hechangqin
Copy link

hechangqin commented Apr 14, 2021

刚开始一起推送AAC音频流,发现特别卡顿,调整了gstreamer为下面pipeline:
appsrc name=appsrc ! decodebin ! audioconvert ! audioresample ! audio/x-raw,rate=48000 ! opusenc ! rtpopuspay timestamp-offset=0 pt=%d ! udpsink host=127.0.0.1 port=%d
音频是流畅了,可是视频还是卡顿,原音频是22050 Hz的。是不是目前AAC转OPus都不会很好效果?

@notedit
Copy link
Owner

notedit commented Apr 14, 2021

这个是一个demo用来验证, 可以看看srs srs已经很好的支持了rtmp 转 webrtc

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

2 participants