Shehryar Iqbal
Shehryar Iqbal

Reputation: 19

How to disable WebRTC in GeckoFX C#

I'm trying to disable WebRTC functionality in GeckoFx.

I've heard about media.peerconnection.enabled. but i'm unable to find how to set it up programmatically using C#.net.

I was able to disable it by going to about:config page manually.

Upvotes: 1

Views: 912

Answers (1)

vmas
vmas

Reputation: 454

See GeckoPreferences.Default or GeckoPreferences.User:

GeckoPreferences.Default["media.peerconnection.enabled"] = false;

Upvotes: 1

Related Questions