openvidu-browser: remove inline outdated description of OpenViduAdvancedConfiguration

The resulting HTML docs are bad because they show an incomplete
description of the OpenViduAdvancedConfiguration type, which is then
duplicated (and more complete) in that type's description.
pull/651/head
Juan Navarro 2021-09-09 17:40:01 +02:00
parent 3e7aa986b4
commit 9dd62009fb
1 changed files with 2 additions and 8 deletions

View File

@ -642,13 +642,7 @@ export class OpenVidu {
/**
* Set OpenVidu advanced configuration options. Currently `configuration` is an object with the following optional properties (see [[OpenViduAdvancedConfiguration]] for more details):
* - `iceServers`: set custom STUN/TURN servers to be used by OpenVidu Browser
* - `screenShareChromeExtension`: url to a custom screen share extension for Chrome to be used instead of the default one, based on ours [https://github.com/OpenVidu/openvidu-screen-sharing-chrome-extension](https://github.com/OpenVidu/openvidu-screen-sharing-chrome-extension)
* - `publisherSpeakingEventsOptions`: custom configuration for the [[PublisherSpeakingEvent]] feature and the [StreamManagerEvent.streamAudioVolumeChange](/en/stable/api/openvidu-browser/classes/streammanagerevent.html) feature
* - `forceMediaReconnectionAfterNetworkDrop`: always force WebRTC renegotiation of all the streams of a client after a network loss and reconnection. This can help reducing frozen videos in low quality networks.
*
* Call this method to override previous values at any moment.
* Set OpenVidu advanced configuration options. `configuration` is an object of type [[OpenViduAdvancedConfiguration]]. Call this method to override previous values at any moment.
*/
setAdvancedConfiguration(configuration: OpenViduAdvancedConfiguration): void {
this.advancedConfiguration = configuration;
@ -1081,4 +1075,4 @@ export class OpenVidu {
(platform.isElectron() && videoSource.startsWith('screen:'))
}
}
}