Merge branch 'master' of https://github.com/OpenVidu/openvidu into feature/custom-ice-servers

pull/698/head
cruizba 2022-02-13 20:43:39 +01:00
commit 6b8643d6c8
4 changed files with 10759 additions and 6 deletions

10753
openvidu-browser/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -550,7 +550,7 @@ export class Stream {
*/
enableHarkSpeakingEvent(): void {
this.setHarkListenerIfNotExists();
if (!this.harkSpeakingEnabled) {
if (!this.harkSpeakingEnabled && !!this.speechEvent) {
this.harkSpeakingEnabled = true;
this.speechEvent.on('speaking', () => {
this.session.emitEvent('publisherStartSpeaking', [new PublisherSpeakingEvent(this.session, 'publisherStartSpeaking', this.connection, this.streamId)]);
@ -565,7 +565,7 @@ export class Stream {
*/
enableOnceHarkSpeakingEvent(): void {
this.setHarkListenerIfNotExists();
if (!this.harkSpeakingEnabledOnce) {
if (!this.harkSpeakingEnabledOnce && !!this.speechEvent) {
this.harkSpeakingEnabledOnce = true;
this.speechEvent.once('speaking', () => {
if (this.harkSpeakingEnabledOnce) {
@ -612,7 +612,7 @@ export class Stream {
*/
enableHarkStoppedSpeakingEvent(): void {
this.setHarkListenerIfNotExists();
if (!this.harkStoppedSpeakingEnabled) {
if (!this.harkStoppedSpeakingEnabled && !!this.speechEvent) {
this.harkStoppedSpeakingEnabled = true;
this.speechEvent.on('stopped_speaking', () => {
this.session.emitEvent('publisherStopSpeaking', [new PublisherSpeakingEvent(this.session, 'publisherStopSpeaking', this.connection, this.streamId)]);
@ -627,7 +627,7 @@ export class Stream {
*/
enableOnceHarkStoppedSpeakingEvent(): void {
this.setHarkListenerIfNotExists();
if (!this.harkStoppedSpeakingEnabledOnce) {
if (!this.harkStoppedSpeakingEnabledOnce && !!this.speechEvent) {
this.harkStoppedSpeakingEnabledOnce = true;
this.speechEvent.once('stopped_speaking', () => {
if (this.harkStoppedSpeakingEnabledOnce) {

View File

@ -156,7 +156,7 @@ OPENVIDU_PRO_CLUSTER_LOAD_STRATEGY=streams
# Max days until delete indexes in state of rollover on Elasticsearch
# Type number >= 0
# Default Value is 15
# Default Value is 7
# OPENVIDU_PRO_ELASTICSEARCH_MAX_DAYS_DELETE=
# If you have an external Elasticsearch and Kibana already running, put here the url to elasticsearch and kibana services.

View File

@ -153,7 +153,7 @@ OPENVIDU_PRO_CLUSTER_LOAD_STRATEGY=streams
# Max days until delete indexes in state of rollover on Elasticsearch
# Type number >= 0
# Default Value is 15
# Default Value is 7
# OPENVIDU_PRO_ELASTICSEARCH_MAX_DAYS_DELETE=
# If you have an external Elasticsearch and Kibana already running, put here the url to elasticsearch and kibana services.