Skip to content

Disable h264 for android firefox - #2190

Merged
cnderrauber merged 6 commits into
masterfrom
disable_h264_ff
Oct 27, 2023
Merged

cnderrauber merged 6 commits into
masterfrom
disable_h264_ff

Conversation

@cnderrauber

@cnderrauber cnderrauber commented Oct 26, 2023 •

Copy link
Copy Markdown
Contributor

Mainly cleaning up where we are doing codec filtering.

There's also behavior change of how we handle codec compatibility. If a client doesn't support the client's desired codec, we'll pick a backup automatically instead of rejecting the client's request.

Requires an update on multi-codec simulcast handling on the client side

@cnderrauber cnderrauber changed the title Disable h264 ff Disable h264 for android firefox Oct 26, 2023
Comment thread pkg/rtc/clientinfo.go

func (c ClientInfo) ComplyWithCodecOrderInSDPAnswer() bool {
return !(c.isLinux() && c.isFirefox())
return !((c.isLinux() || c.isAndroid()) && c.isFirefox())

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Firefox on all Linux busted including desktop?

@cnderrauber cnderrauber Oct 26, 2023 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not tested linux yet, but when I tested the firefox on my android device again, found the ua changed from linux.firefox(yesterday) to android.firefox modile(today).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh boy, fun with user agents 🙁

@davidzhao davidzhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FF logic lgtm.

I have some feedback about codec handling in general that I'll raise separately. Let's get this merged and then I'll have a separate PR/proposal around codec handling

Mainly cleaning up where we are doing codec filtering.

There's also behavior change of how we handle codec compatibility. If a client doesn't support the client's desired codec, we'll pick a backup automatically
instead of rejecting the client's request.

Requires an update on multi-codec simulcast handling.
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

Successfully merging this pull request may close these issues.

3 participants