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

/webrtc/test/screenshare 页面 推流webrtc 使用av1 codec #36

Open
zxfskr opened this issue Dec 26, 2024 · 3 comments
Open

/webrtc/test/screenshare 页面 推流webrtc 使用av1 codec #36

zxfskr opened this issue Dec 26, 2024 · 3 comments

Comments

@zxfskr
Copy link

zxfskr commented Dec 26, 2024

localsdp
image

remote sdp
image

server 报错 没有轨道,但是 使用h264 是正常的,是av1 没有支持么?

@langhuihui
Copy link
Member

应该支持了

@zxfskr zxfskr closed this as completed Jan 7, 2025
@zxfskr zxfskr reopened this Jan 15, 2025
@zxfskr
Copy link
Author

zxfskr commented Jan 15, 2025

@langhuihui
image
好像是这个地方,av1 没有检测 i 帧,vt.iframeReceived和rv.IFrame一直为false, 导致vt.flush 里面的attach track 逻辑没有走到,最终超时导致连接断开,我手动设置让他走attach track之后,就可以正常推流播放了,但是metadata 丢了...

@langhuihui
Copy link
Member

你可以尝试一下提个 PR

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