mirror of https://github.com/OpenVidu/openvidu.git
Merge branch 'master' of https://github.com/OpenVidu/openvidu into feature/custom-ice-servers
commit
6b8643d6c8
File diff suppressed because it is too large
Load Diff
|
@ -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) {
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue