Difference between revisions of "GstWebRTC - Advanced Settings"

From RidgeRun Developer Connection
Jump to: navigation, search
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{GstWebRTC Page|
+
{{GstWebRTC/Head|previous=API Reference|next=Elements|metakeywords=Gstreamer WebRTC Basics,Plugin Overview,Gstreamer WebRTC Plugin Overview,Signaler,signaler-obj,WebRTC Signaler,WebRTC API,signaling}}
[[GstWebRTC - API Reference | API Reference]]|
 
[[GstWebRTC - Elements | Plugin Elements]]|
 
  
 
==Change the Max Persistent Connections per Server==
 
==Change the Max Persistent Connections per Server==
 +
The problem is that if more than 5 pages of webrtc are connected using the same browser page, the 6 will freeze but if one of the 5 is disconnected the 6 will work. That happens by the limit of http request set it by the browser.
 +
 +
Some possible solutions for the different browsers are:
 +
 
===Firefox===
 
===Firefox===
  
Line 10: Line 12:
 
===Chrome===
 
===Chrome===
  
This property is hardcoded in Chrome for that reason for change that property you need to recompile the code of the browser. Another option is that every user in Chrome could use 5 sessions and for more than that use other pages whit different sessions.
+
This property is hardcoded in Chrome. In order to change this setting, you will need to recompile the browser. Alternatively, each user in Chrome could use 5 sessions so more connections could be opened with different users.
  
|keywords=Gstreamer WebRTC Basics,Plugin Overview,Gstreamer WebRTC Plugin Overview,Signaler,signaler-obj,WebRTC Signaler,WebRTC API}}
+
{{GstWebRTC/Foot|previous=API Reference|next=Elements}}

Latest revision as of 10:14, 9 March 2023



Previous: API Reference Index Next: Elements




Change the Max Persistent Connections per Server

The problem is that if more than 5 pages of webrtc are connected using the same browser page, the 6 will freeze but if one of the 5 is disconnected the 6 will work. That happens by the limit of http request set it by the browser.

Some possible solutions for the different browsers are:

Firefox

Write about:config in the browser and in that page search for network.http.max-persistent-connections-per-server and changed for the desired value.

Chrome

This property is hardcoded in Chrome. In order to change this setting, you will need to recompile the browser. Alternatively, each user in Chrome could use 5 sessions so more connections could be opened with different users.


Previous: API Reference Index Next: Elements