Active speaker detection for videoconferencing
The active speaker detection system in videoconferencing accurately identifies and indicates the active speaker by smoothing and correcting labels, addressing delays and inaccuracies in existing systems, enhancing meeting efficiency and reducing data requirements.
Patent Information
- Application Number
- US18/373737
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Filing Date
- 2023-09-27
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2044-06-08
AI Technical Summary
Current active speaker detection in videoconferencing introduces a large delay and inaccuracies in identifying the active speaker, leading to frequent switching and mismatch between voice and indicated speaker.
An active speaker detection system processes audio signals from multiple participants, segments them, determines an active speaker based on energy and speech presence, smooths the speaker labels using a buffer to reduce frequent switches, and corrects shared or unknown labels, ensuring accurate and efficient detection.
The system provides more accurate and efficient active speaker detection with reduced delay, improving meeting efficiency by accurately indicating the speaker and reducing data output, thus minimizing network bandwidth and storage requirements.
Smart Images

Figure US12818902-D00000_ABST
Abstract
Description
FIELD
[0001] The present application generally relates to videoconferencing, and more particularly relates to detecting active speakers for videoconferencing.BRIEF DESCRIPTION OF THE DRAWINGS
[0002] The accompanying drawings, which are incorporated into and constitute a part of this specification, illustrate one or more certain examples and, together with the description of the example, serve to explain the principles and implementations of the certain examples.
[0003] FIG. 1 shows an example system that provides videoconferencing functionality to various client devices, according to certain aspects described herein.
[0004] FIG. 2 shows an example system in which a chat and video conference provider provides videoconferencing functionality to various client devices, according to certain aspects described herein.
[0005] FIG. 3 shows an example of an operating environment for active speaker detection for videoconferencing, according to certain aspects of the present disclosure.
[0006] FIG. 4 shows a block diagram of the workflow in the active speaker detection for videoconferencing, according to certain aspects of the present disclosure.
[0007] FIG. 5 shows an example of active speaker labels in a buffer to be smoothed for the active speaker detection for videoconferencing, according to certain aspects of the present disclosure.
[0008] FIG. 6 shows an example of a user interface of a video conference application used by participants to join a video conference, according to certain aspects of the present disclosure.
[0009] FIG. 7 shows a flowchart depicting a process for detecting active speakers for videoconferencing, according to certain aspects of the present disclosure.
[0010] FIG. 8 shows an example computing device suitable for performing certain aspects of the present disclosure.DETAILED DESCRIPTION
[0011] Examples are described herein in the context of systems and methods for active speaker detection for videoconferencing. Those of ordinary skill in the art will realize that the following description is illustrative only and is not intended to be in any way limiting. Reference will now be made in detail to implementations of examples as illustrated in the accompanying drawings. The same reference indicators will be used throughout the drawings and the following description to refer to the same or like items.
[0012] In the interest of clarity, not all of the routine features of the examples described herein are shown and described. It will, of course, be appreciated that in the development of any such actual implementation, numerous implementation-specific decisions must be made in order to achieve the developer's specific goals, such as compliance with application- and business-related constraints, and that these specific goals will vary from one implementation to another and from one developer to another.
[0013] Videoconferencing has become a common way for people to meet as a group, but without being at the same physical location. Participants can be invited to a videoconference meeting, join from their personal computers or telephones, and are able to see and hear each other and converse largely as they would during an in-person group meeting or event. The advent of user-friendly videoconferencing software has enabled teams to work collaboratively despite being dispersed around the country or the world. It has also enabled families and friends to engage with each other in more meaningful ways, despite being physically distant from each other.
[0014] In the video-conferencing platform, active speaker indication can be very helpful during and after the video conferences. For example, by highlighting the active speaker during the video conference, the videoconferencing system could help the conference participants to locate the speaker, thereby relieving fatigue and confusion and improving the efficiency of the video conference.
[0015] However, current active speaker indication technology in videoconferencing technology introduced a large delay in the detection of active speaker to avoid frequent switching between speakers. This delay also affects the accuracy of the active speaker detection and causes mismatch between the voice and the indicated active speaker.
[0016] To solve the above problems, example systems and methods for active speaker detection for videoconferencing are provided. As described herein, an active speaker detection system receives or otherwise accesses audio signals of a video conference. The audio signals include N streams of audio signals from N participants of the video conference. The received N audio signals are each divided into segments (e.g., frames). For each segment, the active speaker detection system determines an active speaker among the N participants and outputs the label for the determined active speaker. Determining the active speaker for each segment can be based on the features extracted from each of the N audio signals, such as the energy of the audio signal, the presence of human speech detected in the audio signal, the sound event predicted from the audio signal, and so on. For example, the active speaker detection system can filter the N corresponding segments to remove the segments that do not have human speech detected. In the remaining audio signal segments, the segment having the highest energy can be identified and the label representing the participant corresponding to such a segment (referred to as the “active speaker label”) can be output for the segment. For segments where there is no active speaker detected, a silence label can be assigned. As a result, the active speaker detection system can generate a sequence of active speaker labels, each label indicating the active speaker for the corresponding segment except for the silence label.
[0017] The sequence of active speaker labels can be processed to improve the active speaker detection results. For example, the active speaker detection system can smooth the sequence of active speaker labels to prevent frequent switching of the detected active speaker from one participant to another participant. To smooth the sequence of active speaker labels, a smoothing buffer can be used to include multiple consecutive labels, such as the active speaker label for the current segment, active speaker labels for one or more segments before the current segment (past segments) and active speaker labels for one or more segments after the current segment (future segments). The labels between two consecutive switches or changes in active speaker labels in the buffer have the same value and are referred to as the “current active speaker label” (or “current label” in short). The active speaker label immediately before the first switch is referred to as the “preceding active speaker label” (or “preceding label” in short) and the active speaker label immediately after the second switch is referred to as the “following active speaker label” (or “following label” in short).
[0018] The smoothing can be performed based on multiple factors, such as the duration of the current label, the values of the current label, the preceding label, and the following label, and others. For example, if the duration of the current label is smaller than a duration threshold value, and the preceding label and the following label have the same value, the current label is replaced with the preceding label or the following label. As a result of the smoothing, the sequence of active speaker labels has fewer label switches.
[0019] In addition to label sequence smoothing, the sequence of active speaker labels can be further processed to correct speaker labels, such as shared speaker labels or unknown speaker labels. Shared speaker labels can occur in the sequence of active speaker labels when multiple participants cannot be distinguished, such as multiple participants joined by phone. A shared speaker label can be identified and replaced with a specific speaker label if such information is available; otherwise, the shared speaker label is marked with an unknown speaker label. To address the unknown speaker labels, a correction buffer can be generated and used to collect labels within a time period for the information of the unknown labels to arrive. Once the speaker label for the unknown label is confirmed, the speaker label is used to replace the unknown label in the sequence.
[0020] The processed sequence of active speaker labels can be transmitted, stored or otherwise output. Because of the structure of the sequence of active speaker labels, the active speaker labels can be output by sending or storing the active speaker label at the start of each label switch along with the corresponding timestamp. The output sequence of active speaker labels can be used in various applications, such as online active speaker indication, online or offline automatic speech recognition (ASR), speech transcription, speaker diarization, meeting summary, and so on.
[0021] As described herein, certain embodiments provide improvements to active speaker detection for videoconferencing by solving problems that are specific to online platforms. These improvements include more accurate detection of the active speaker for each segment of the audio signals of a video conference. In this way, the active speaker can be indicated during the video conference allowing the participants to locate the speaker accurately, thereby increasing the meeting efficiency.
[0022] Compared with the existing active speaker detection where delays are introduced to avoid frequent switches in the detected labels, the active speaker detection described herein addresses the issues associated with frequent switches during a post-processing of the detected speaker labels (e.g., the label smoothing process) where a much smaller delay is introduced. Further, the delay incurred during the post-processing can be shifted back for offline applications to make the delay become zero. In addition, by removing unnecessary switches in the sequence of active speaker labels, the smoothing process also significantly reduces the amount of data needed for outputting the detected sequence of active speaker labels. As such, the network bandwidth and the storage space needed for storing the sequence of active speaker labels are significantly reduced.
[0023] This illustrative example is given to introduce the reader to the general subject matter discussed herein and the disclosure is not limited to this example. The following sections describe various additional non-limiting examples and examples of systems and methods for active speaker detection for videoconferencing.
[0024] Referring now to FIG. 1, FIG. 1 shows an example system 100 that provides videoconferencing functionality to various client devices. The system 100 includes a chat and video conference provider 110 that is connected to multiple communication networks 120, 130, through which various client devices 140-180 can participate in video conferences hosted by the chat and video conference provider 110. For example, the chat and video conference provider 110 can be located within a private network to provide video conferencing services to devices within the private network, or it can be connected to a public network, e.g., the internet, so it may be accessed by anyone. Some examples may even provide a hybrid model in which a chat and video conference provider 110 may supply components to enable a private organization to host private internal video conferences or to connect its system to the chat and video conference provider 110 over a public network.
[0025] The system optionally also includes one or more authentication and authorization providers, e.g., authentication and authorization provider 115, which can provide authentication and authorization services to users of the client devices 140-160. Authentication and authorization provider 115 may authenticate users to the chat and video conference provider 110 and manage user authorization for the various services provided by chat and video conference provider 110. In this example, the authentication and authorization provider 115 is operated by a different entity than the chat and video conference provider 110, though in some examples, they may be the same entity.
[0026] Chat and video conference provider 110 allows clients to create videoconference meetings (or “meetings”) and invite others to participate in those meetings as well as perform other related functionality, such as recording the meetings, generating speech transcripts from meeting audio, generating summaries and translations from meeting audio, manage user functionality in the meetings, enable text messaging during the meetings, create and manage breakout rooms from the virtual meeting, etc. FIG. 2, described below, provides a more detailed description of the architecture and functionality of the chat and video conference provider 110. It should be understood that the term “meeting” encompasses the term “webinar” used herein.
[0027] Meetings in this example chat and video conference provider 110 are provided in virtual rooms to which participants are connected. The room in this context is a construct provided by a server that provides a common point at which the various video and audio data is received before being multiplexed and provided to the various participants. While a “room” is the label for this concept in this disclosure, any suitable functionality that enables multiple participants to participate in a common videoconference may be used.
[0028] To create a meeting with the chat and video conference provider 110, a user may contact the chat and video conference provider 110 using a client device 140-180 and select an option to create a new meeting. Such an option may be provided in a webpage accessed by a client device 140-160 or a client application executed by a client device 140-160. For telephony devices, the user may be presented with an audio menu that they may navigate by pressing numeric buttons on their telephony device. To create the meeting, the chat and video conference provider 110 may prompt the user for certain information, such as a date, time, and duration for the meeting, a number of participants, a type of encryption to use, whether the meeting is confidential or open to the public, etc. After receiving the various meeting settings, the chat and video conference provider may create a record for the meeting and generate a meeting identifier and, in some examples, a corresponding meeting password or passcode (or other authentication information), all of which meeting information is provided to the meeting host.
[0029] After receiving the meeting information, the user may distribute the meeting information to one or more users to invite them to the meeting. To begin the meeting at the scheduled time (or immediately, if the meeting was set for an immediate start), the host provides the meeting identifier and, if applicable, corresponding authentication information (e.g., a password or passcode). The video conference system then initiates the meeting and may admit users to the meeting. Depending on the options set for the meeting, the users may be admitted immediately upon providing the appropriate meeting identifier (and authentication information, as appropriate), even if the host has not yet arrived, or the users may be presented with information indicating that the meeting has not yet started, or the host may be required to specifically admit one or more of the users.
[0030] During the meeting, the participants may employ their client devices 140-180 to capture audio or video information and stream that information to the chat and video conference provider 110. They also receive audio or video information from the chat and video conference provider 110, which is displayed by the respective client device 140 to enable the various users to participate in the meeting.
[0031] At the end of the meeting, the host may select an option to terminate the meeting, or it may terminate automatically at a scheduled end time or after a predetermined duration. When the meeting terminates, the various participants are disconnected from the meeting, and they will no longer receive audio or video streams for the meeting (and will stop transmitting audio or video streams). The chat and video conference provider 110 may also invalidate the meeting information, such as the meeting identifier or password / passcode.
[0032] To provide such functionality, one or more client devices 140-180 may communicate with the chat and video conference provider 110 using one or more communication networks, such as network 120 or the public switched telephone network (“PSTN”) 130. The client devices 140-180 may be any suitable computing or communication devices that have audio or video capability. For example, client devices 140-160 may be conventional computing devices, such as desktop or laptop computers having processors and computer-readable media, connected to the chat and video conference provider 110 using the internet or other suitable computer network. Suitable networks include the internet, any local area network (“LAN”), metro area network (“MAN”), wide area network (“WAN”), cellular network (e.g., 3G, 4G, 4G LTE, 5G, etc.), or any combination of these. Other types of computing devices may be used instead or as well, such as tablets, smartphones, and dedicated video conferencing equipment. Each of these devices may provide both audio and video capabilities and may enable one or more users to participate in a video conference meeting hosted by the chat and video conference provider 110.
[0033] In addition to the computing devices discussed above, client devices 140-180 may also include one or more telephony devices, such as cellular telephones (e.g., cellular telephone 170), internet protocol (“IP”) phones (e.g., telephone 180), or conventional telephones. Such telephony devices may allow a user to make conventional telephone calls to other telephony devices using the PSTN, including the chat and video conference provider 110. It should be appreciated that certain computing devices may also provide telephony functionality and may operate as telephony devices. For example, smartphones typically provide cellular telephone capabilities and thus may operate as telephony devices in the example system 100 shown in FIG. 1. In addition, conventional computing devices may execute software to enable telephony functionality, which may allow the user to make and receive phone calls, e.g., using a headset and microphone. Such software may communicate with a PSTN gateway to route the call from a computer network to the PSTN. Thus, telephony devices encompass any devices that can make conventional telephone calls and are not limited solely to dedicated telephony devices like conventional telephones.
[0034] Referring again to client devices 140-160, these devices 140-160 contact the chat and video conference provider 110 using network 120 and may provide information to the chat and video conference provider 110 to access functionality provided by the chat and video conference provider 110, such as access to create new meetings or join existing meetings. To do so, the client devices 140-160 may provide user authentication information, meeting identifiers, meeting passwords or passcodes, etc. In examples that employ an authentication and authorization provider 115, a client device, e.g., client devices 140-160, may operate in conjunction with an authentication and authorization provider 115 to provide authentication and authorization information or other user information to the chat and video conference provider 110.
[0035] An authentication and authorization provider 115 may be any entity trusted by the chat and video conference provider 110 that can help authenticate a user to the chat and video conference provider 110 and authorize the user to access the services provided by the chat and video conference provider 110. For example, a trusted entity may be a server operated by a business or other organization with whom the user has created an account, including authentication and authorization information, such as an employer or trusted third-party. The user may sign into the authentication and authorization provider 115, such as by providing a username and password, to access their account information at the authentication and authorization provider 115. The account information includes information established and maintained at the authentication and authorization provider 115 that can be used to authenticate and facilitate authorization for a particular user, irrespective of the client device they may be using. An example of account information may be an email account established at the authentication and authorization provider 115 by the user and secured by a password or additional security features, such as single sign-on, hardware tokens, two-factor authentication, etc. However, such account information may be distinct from functionality such as email. For example, a health care provider may establish accounts for its patients. And while the related account information may have associated email accounts, the account information is distinct from those email accounts.
[0036] Thus, a user's account information relates to a secure, verified set of information that can be used to authenticate and provide authorization services for a particular user and should be accessible only by that user. By properly authenticating, the associated user may then verify themselves to other computing devices or services, such as the chat and video conference provider 110. The authentication and authorization provider 115 may require the explicit consent of the user before allowing the chat and video conference provider 110 to access the user's account information for authentication and authorization purposes.
[0037] Once the user is authenticated, the authentication and authorization provider 115 may provide the chat and video conference provider 110 with information about services the user is authorized to access. For instance, the authentication and authorization provider 115 may store information about user roles associated with the user. The user roles may include collections of services provided by the chat and video conference provider 110 that users assigned to those user roles are authorized to use. Alternatively, more or less granular approaches to user authorization may be used.
[0038] When the user accesses the chat and video conference provider 110 using a client device, the chat and video conference provider 110 communicates with the authentication and authorization provider 115 using information provided by the user to verify the user's account information. For example, the user may provide a username or cryptographic signature associated with an authentication and authorization provider 115. The authentication and authorization provider 115 then either confirms the information presented by the user or denies the request. Based on this response, the chat and video conference provider 110 either provides or denies access to its services, respectively.
[0039] For telephony devices, e.g., client devices 170-180, the user may place a telephone call to the chat and video conference provider 110 to access video conference services. After the call is answered, the user may provide information regarding a video conference meeting, e.g., a meeting identifier (“ID”), a passcode or password, etc., to allow the telephony device to join the meeting and participate using audio devices of the telephony device, e.g., microphone(s) and speaker(s), even if video capabilities are not provided by the telephony device.
[0040] Because telephony devices typically have more limited functionality than conventional computing devices, they may be unable to provide certain information to the chat and video conference provider 110. For example, telephony devices may be unable to provide authentication information to authenticate the telephony device or the user to the chat and video conference provider 110. Thus, the chat and video conference provider 110 may provide more limited functionality to such telephony devices. For example, the user may be permitted to join a meeting after providing meeting information, e.g., a meeting identifier and passcode, but only as an anonymous participant in the meeting. This may restrict their ability to interact with the meetings in some examples, such as by limiting their ability to speak in the meeting, hear or view certain content shared during the meeting, or access other meeting functionality, such as joining breakout rooms or engaging in text chat with other participants in the meeting.
[0041] It should be appreciated that users may choose to participate in meetings anonymously and decline to provide account information to the chat and video conference provider 110, even in cases where the user could authenticate and employs a client device capable of authenticating the user to the chat and video conference provider 110. The chat and video conference provider 110 may determine whether to allow such anonymous users to use services provided by the chat and video conference provider 110. Anonymous users, regardless of the reason for anonymity, may be restricted as discussed above with respect to users employing telephony devices, and in some cases may be prevented from accessing certain meetings or other services, or may be entirely prevented from accessing the chat and video conference provider 110.
[0042] Referring again to chat and video conference provider 110, in some examples, it may allow client devices 140-160 to encrypt their respective video and audio streams to help improve privacy in their meetings. Encryption may be provided between the client devices 140-160 and the chat and video conference provider 110 or it may be provided in an end-to-end configuration where multimedia streams (e.g., audio or video streams) transmitted by the client devices 140-160 are not decrypted until they are received by another client device 140-160 participating in the meeting. Encryption may also be provided during only a portion of a communication, for example encryption may be used for otherwise unencrypted communications that cross international borders.
[0043] Client-to-server encryption may be used to secure the communications between the client devices 140-160 and the chat and video conference provider 110, while allowing the chat and video conference provider 110 to access the decrypted multimedia streams to perform certain processing, such as recording the meeting for the participants or generating transcripts of the meeting for the participants. End-to-end encryption may be used to keep the meeting entirely private to the participants without any worry about a chat and video conference provider 110 having access to the substance of the meeting. Any suitable encryption methodology may be employed, including key-pair encryption of the streams. For example, to provide end-to-end encryption, the meeting host's client device may obtain public keys for each of the other client devices participating in the meeting and securely exchange a set of keys to encrypt and decrypt multimedia content transmitted during the meeting. Thus, the client devices 140-160 may securely communicate with each other during the meeting. Further, in some examples, certain types of encryptions may be limited by the types of devices participating in the meeting. For example, telephony devices may lack the ability to encrypt and decrypt multimedia streams. Thus, while encrypting the multimedia streams may be desirable in many instances, it is not required as it may prevent some users from participating in a meeting.
[0044] By using the example system shown in FIG. 1, users can create and participate in meetings using their respective client devices 140-180 via the chat and video conference provider 110. Further, such a system enables users to use a wide variety of different client devices 140-180 from traditional standards-based video conferencing hardware to dedicated video conferencing equipment to laptop or desktop computers to handheld devices to legacy telephony devices. etc.
[0045] Referring now to FIG. 2, FIG. 2 shows an example system 200 in which a chat and video conference provider 210 provides videoconferencing functionality to various client devices 220-250. The client devices 220-250 include two conventional computing devices 220-230, dedicated equipment for a video conference room 240, and a telephony device 250. Each client device 220-250 communicates with the chat and video conference provider 210 over a communications network, such as the internet for client devices 220-240 or the PSTN for client device 250, generally as described above with respect to FIG. 1. The chat and video conference provider 210 is also in communication with one or more authentication and authorization providers 215, which can authenticate various users to the chat and video conference provider 210 generally as described above with respect to FIG. 1.
[0046] In this example, the chat and video conference provider 210 employs multiple different servers (or groups of servers) to provide different examples of video conference functionality, thereby enabling the various client devices to create and participate in video conference meetings. The chat and video conference provider 210 uses one or more real-time media servers 212, one or more network services servers 214, one or more video room gateways 216, one or more message and presence gateways 217, and one or more telephony gateways 218. Each of these servers 212-218 is connected to one or more communications networks to enable them to collectively provide access to and participation in one or more video conference meetings to the client devices 220-250.
[0047] The real-time media servers 212 provide multiplexed multimedia streams to meeting participants, such as the client devices 220-250 shown in FIG. 2. While video and audio streams typically originate at the respective client devices, they are transmitted from the client devices 220-250 to the chat and video conference provider 210 via one or more networks where they are received by the real-time media servers 212. The real-time media servers 212 determine which protocol is optimal based on, for example, proxy settings and the presence of firewalls, etc. For example, the client device might select among UDP, TCP, TLS, or HTTPS for audio and video and UDP for content screen sharing.
[0048] The real-time media servers 212 then multiplex the various video and audio streams based on the target client device and communicate multiplexed streams to each client device. For example, the real-time media servers 212 receive audio and video streams from client devices 220-240 and only an audio stream from client device 250. The real-time media servers 212 then multiplex the streams received from devices 230-250 and provide the multiplexed stream to client device 220. The real-time media servers 212 are adaptive, for example, reacting to real-time network and client changes, in how they provide these streams. For example, the real-time media servers 212 may monitor parameters such as a client's bandwidth CPU usage, memory and network I / O as well as network parameters such as packet loss, latency and jitter to determine how to modify the way in which streams are provided.
[0049] The client device 220 receives the stream, performs any decryption, decoding, and demultiplexing on the received streams, and then outputs the audio and video using the client device's video and audio devices. In this example, the real-time media servers do not multiplex client device 220's own video and audio feeds when transmitting streams to it. Instead, each client device 220-250 only receives multimedia streams from other client devices 220-250. For telephony devices that lack video capabilities, e.g., client device 250, the real-time media servers 212 only deliver multiplex audio streams. The client device 220 may receive multiple streams for a particular communication, allowing the client device 220 to switch between streams to provide a higher quality of service.
[0050] In addition to multiplexing multimedia streams, the real-time media servers 212 may also decrypt incoming multimedia stream in some examples. As discussed above, multimedia streams may be encrypted between the client devices 220-250 and the chat and video conference provider 210. In some such examples, the real-time media servers 212 may decrypt incoming multimedia streams, multiplex the multimedia streams appropriately for the various clients, and encrypt the multiplexed streams for transmission.
[0051] As mentioned above with respect to FIG. 1, the chat and video conference provider 210 may provide certain functionality with respect to unencrypted multimedia streams at a user's request. For example, the meeting host may be able to request that the meeting be recorded or that a transcript of the audio streams be prepared, which may then be performed by the real-time media servers 212 using the decrypted multimedia streams, or the recording or transcription functionality may be off-loaded to a dedicated server (or servers), e.g., cloud recording servers, for recording the audio and video streams. In some examples, the chat and video conference provider 210 may allow a meeting participant to notify it of inappropriate behavior or content in a meeting. Such a notification may trigger the real-time media servers to 212 record a portion of the meeting for review by the chat and video conference provider 210. Still other functionality may be implemented to take actions based on the decrypted multimedia streams at the chat and video conference provider, such as monitoring video or audio quality, adjusting or changing media encoding mechanisms, etc.
[0052] It should be appreciated that multiple real-time media servers 212 may be involved in communicating data for a single meeting and multimedia streams may be routed through multiple different real-time media servers 212. In addition, the various real-time media servers 212 may not be co-located, but instead may be located at multiple different geographic locations, which may enable high-quality communications between clients that are dispersed over wide geographic areas, such as being located in different countries or on different continents. Further, in some examples, one or more of these servers may be co-located on a client's premises, e.g., at a business or other organization. For example, different geographic regions may each have one or more real-time media servers 212 to enable client devices in the same geographic region to have a high-quality connection into the chat and video conference provider 210 via local servers 212 to send and receive multimedia streams, rather than connecting to a real-time media server located in a different country or on a different continent. The local real-time media servers 212 may then communicate with physically distant servers using high-speed network infrastructure, e.g., internet backbone network(s), that otherwise might not be directly available to client devices 220-250 themselves. Thus, routing multimedia streams may be distributed throughout the video conference system and across many different real-time media servers 212.
[0053] Turning to the network services servers 214, these servers 214 provide administrative functionality to enable client devices to create or participate in meetings, send meeting invitations, create or manage user accounts or subscriptions, and other related functionality. Further, these servers may be configured to perform different functionalities or to operate at different levels of a hierarchy, e.g., for specific regions or localities, to manage portions of the chat and video conference provider under a supervisory set of servers. When a client device 220-250 accesses the chat and video conference provider 210, it will typically communicate with one or more network services servers 214 to access their account or to participate in a meeting.
[0054] When a client device 220-250 first contacts the chat and video conference provider 210 in this example, it is routed to a network services server 214. The client device may then provide access credentials for a user, e.g., a username and password or single sign-on credentials, to gain authenticated access to the chat and video conference provider 210. This process may involve the network services servers 214 contacting an authentication and authorization provider 215 to verify the provided credentials. Once the user's credentials have been accepted, and the user has consented, the network services servers 214 may perform administrative functionality, like updating user account information, if the user has account information stored with the chat and video conference provider 210, or scheduling a new meeting, by interacting with the network services servers 214. Authentication and authorization provider 215 may be used to determine which administrative functionality a given user may access according to assigned roles, permissions, groups, etc.
[0055] In some examples, users may access the chat and video conference provider 210 anonymously. When communicating anonymously, a client device 220-250 may communicate with one or more network services servers 214 but only provide information to create or join a meeting, depending on what features the chat and video conference provider allows for anonymous users. For example, an anonymous user may access the chat and video conference provider using client device 220 and provide a meeting ID and passcode. The network services server 214 may use the meeting ID to identify an upcoming or on-going meeting and verify the passcode is correct for the meeting ID. After doing so, the network services server(s) 214 may then communicate information to the client device 220 to enable the client device 220 to join the meeting and communicate with appropriate real-time media servers 212.
[0056] In cases where a user wishes to schedule a meeting, the user (anonymous or authenticated) may select an option to schedule a new meeting and may then select various meeting options, such as the date and time for the meeting, the duration for the meeting, a type of encryption to be used, one or more users to invite, privacy controls (e.g., not allowing anonymous users, preventing screen sharing, manually authorize admission to the meeting, etc.), meeting recording options, etc. The network services servers 214 may then create and store a meeting record for the scheduled meeting. When the scheduled meeting time arrives (or within a threshold period of time in advance), the network services server(s) 214 may accept requests to join the meeting from various users.
[0057] To handle requests to join a meeting, the network services server(s) 214 may receive meeting information, such as a meeting ID and passcode, from one or more client devices 220-250. The network services server(s) 214 locate a meeting record corresponding to the provided meeting ID and then confirm whether the scheduled start time for the meeting has arrived, whether the meeting host has started the meeting, and whether the passcode matches the passcode in the meeting record. If the request is made by the host, the network services server(s) 214 activates the meeting and connects the host to a real-time media server 212 to enable the host to begin sending and receiving multimedia streams.
[0058] Once the host has started the meeting, subsequent users requesting access will be admitted to the meeting if the meeting record is located and the passcode matches the passcode supplied by the requesting client device 220-250. In some examples additional access controls may be used as well. But if the network services server(s) 214 determines to admit the requesting client device 220-250 to the meeting, the network services server 214 identifies a real-time media server 212 to handle multimedia streams to and from the requesting client device 220-250 and provides information to the client device 220-250 to connect to the identified real-time media server 212. Additional client devices 220-250 may be added to the meeting as they request access through the network services server(s) 214.
[0059] After joining a meeting, client devices will send and receive multimedia streams via the real-time media servers 212, but they may also communicate with the network services servers 214 as needed during meetings. For example, if the meeting host leaves the meeting, the network services server(s) 214 may appoint another user as the new meeting host and assign host administrative privileges to that user. Hosts may have administrative privileges to allow them to manage their meetings, such as by enabling or disabling screen sharing, muting or removing users from the meeting, assigning or moving users to the mainstage or a breakout room if present, recording meetings, etc. Such functionality may be managed by the network services server(s) 214.
[0060] For example, if a host wishes to remove a user from a meeting, they may select a user to remove and issue a command through a user interface on their client device. The command may be sent to a network services server 214, which may then disconnect the selected user from the corresponding real-time media server 212. If the host wishes to remove one or more participants from a meeting, such a command may also be handled by a network services server 214, which may terminate the authorization of the one or more participants for joining the meeting.
[0061] In addition to creating and administering on-going meetings, the network services server(s) 214 may also be responsible for closing and tearing-down meetings once they have been completed. For example, the meeting host may issue a command to end an on-going meeting, which is sent to a network services server 214. The network services server 214 may then remove any remaining participants from the meeting, communicate with one or more real time media servers 212 to stop streaming audio and video for the meeting, and deactivate, e.g., by deleting a corresponding passcode for the meeting from the meeting record, or delete the meeting record(s) corresponding to the meeting. Thus, if a user later attempts to access the meeting, the network services server(s) 214 may deny the request.
[0062] Depending on the functionality provided by the chat and video conference provider, the network services server(s) 214 may provide additional functionality, such as by providing private meeting capabilities for organizations, special types of meetings (e.g., webinars), etc. Such functionality may be provided according to various examples of video conferencing providers according to this description.
[0063] Referring now to the video room gateway servers 216, these servers 216 provide an interface between dedicated video conferencing hardware, such as may be used in dedicated video conferencing rooms. Such video conferencing hardware may include one or more cameras and microphones and a computing device designed to receive video and audio streams from each of the cameras and microphones and connect with the chat and video conference provider 210. For example, the video conferencing hardware may be provided by the chat and video conference provider to one or more of its subscribers, which may provide access credentials to the video conferencing hardware to use to connect to the chat and video conference provider 210.
[0064] The video room gateway servers 216 provide specialized authentication and communication with dedicated video conferencing hardware that may not be available to other client devices 220-230, 250. For example, the video conferencing hardware may register with the chat and video conference provider when it is first installed and the video room gateway may authenticate the video conferencing hardware using such registration as well as information provided to the video room gateway server(s) 216 when dedicated video conferencing hardware connects to it, such as device ID information, subscriber information, hardware capabilities, hardware version information etc. Upon receiving such information and authenticating the dedicated video conferencing hardware, the video room gateway server(s) 216 may interact with the network services servers 214 and real-time media servers 212 to allow the video conferencing hardware to create or join meetings hosted by the chat and video conference provider 210.
[0065] Referring now to the telephony gateway servers 218, these servers 218 enable and facilitate telephony devices' participation in meetings hosted by the chat and video conference provider 210. Because telephony devices communicate using the PSTN and not using computer networking protocols, such as TCP / IP, the telephony gateway servers 218 act as an interface that converts between the PSTN, and the networking system used by the chat and video conference provider 210.
[0066] For example, if a user uses a telephony device to connect to a meeting, they may dial a phone number corresponding to one of the chat and video conference provider's telephony gateway servers 218. The telephony gateway server 218 will answer the call and generate audio messages requesting information from the user, such as a meeting ID and passcode. The user may enter such information using buttons on the telephony device, e.g., by sending dual-tone multi-frequency (“DTMF”) audio streams to the telephony gateway server 218. The telephony gateway server 218 determines the numbers or letters entered by the user and provides the meeting ID and passcode information to the network services servers 214, along with a request to join or start the meeting, generally as described above. Once the telephony client device 250 has been accepted into a meeting, the telephony gateway server is instead joined to the meeting on the telephony device's behalf.
[0067] After joining the meeting, the telephony gateway server 218 receives an audio stream from the telephony device and provides it to the corresponding real-time media server 212 and receives audio streams from the real-time media server 212, decodes them, and provides the decoded audio to the telephony device. Thus, the telephony gateway servers 218 operate essentially as client devices, while the telephony device operates largely as an input / output device, e.g., a microphone and speaker, for the corresponding telephony gateway server 218, thereby enabling the user of the telephony device to participate in the meeting despite not using a computing device or video.
[0068] It should be appreciated that the components of the chat and video conference provider 210 discussed above are merely examples of such devices and an example architecture. Some video conference providers may provide more or less functionality than described above and may not separate functionality into different types of servers as discussed above. Instead, any suitable servers and network architectures may be used according to different examples.
[0069] Referring now to FIG. 3, FIG. 3 shows an example of an operating environment 300 for active speaker detection for videoconferencing, according to certain aspects described herein. The operating environment 300 includes a chat and video conference provider 302 configured to host and provide various functionalities of video conferences, such as the chat and video conference provider 110 and the chat and video conference provider 210 described above with respect to FIGS. 1 and 2, respectively. The chat and video conference provider 302 includes a media service 304 configured to host and deliver videoconferencing streams to client computing devices 310A-310C (which may be referred to herein individually as a client computing device 310 or collectively as the client computing devices 310). The video conferencing streams can include video signals of the participants, audio signals captured at respective client computing devices associated with the participants (e.g., audio signals 312A-312C), and other signals or streams regarding the participants. The media service 304 may be the real-time media server 212 discussed above with respect to FIG. 2. The client computing devices 310 may be the client devices 140-180 and 220-250 discussed above with respect to FIGS. 1 and 2.
[0070] The chat and video conference provider 302 further includes an active speaker detection system 306 configured to detect the active speakers throughout the video conference based on the audio signals 312 sent from the client computing devices 310 associated with the participants of the video conference. The audio signals 312 are received by the active speaker detection system 306 from the media service 304 whenever the media service 304 receives the audio signals from the meeting participants. For example, the media service 304 can select N participants whose audio signals have a higher energy than the remaining participants in the meeting. N can be a number smaller than the total number of participants, such as 2 to 5. Alternatively, N can be the total number of participants of the video conference.
[0071] The active speaker detection system 306 can evaluate the audio signals segment by segment and determine an active speaker for each segment. A segment can include an audio frame or multiple frames. In some implementations, an audio frame has a duration between 10 ms and 40 ms. But other durations can also be used. For each segment, the active speaker detection system 306 evaluates the N audio signals and determines one of the N audio signals as the active audio signal and the associated participant as the active speaker. The determined active speaker can be indicated using an active speaker label that uniquely represents the active speaker. As a result, the active speaker detection system 306 can generate a sequence of active speaker labels for the audio signals of the video conference.
[0072] To improve the accuracy of the detection, the active speaker detection system 306 can post process the sequence of active speaker labels. The post-processing can include label smoothing where noises, frequent switches among active speaker labels, etc. can be removed. The post-processing can further include removing ambiguity in the active speaker labels by replacing shared speaker labels with specific speaker labels and filling in unknown speaker labels. Additional details regarding detecting active speakers for a video conference are provided below with respect to FIGS. 4-7. Depending on the application, the processed active speaker labels 308 can be saved or transmitted to the media service 304 or another device within or outside the chat the video conference provider 302.
[0073] In some implementations, the active speaker detection system 306 is implemented in a computing system configured to host a virtual participant as a recording client. The virtual recording client is created to record the content of the video conference, such as the video, the audio, the chat messages, and so on. The virtual recording client receives audio signals 312 from the media service 304 for recording. The active speaker detection system 306 can access those audio signals 312 to detect the active speakers. In some examples, the active speaker detection system 306 outputs the active speaker labels 308 to the media service 304 for use during the video conference. For instance, the active speaker labels 308 can be used to highlight the active speaker in the user interface of a video conference application used by participants to join a video conference.
[0074] The active speaker labels 308 can also be sent to the conversion server(s) configured to convert the speech in the audio signal of the meeting into text in real time or near real time to provide the closed captioning for the meeting. The active speaker labels 308 can be used to guide the speech to text conversion to improve the accuracy of the conversion. For example, for an audio clip containing speech signals by two persons speaking one right after the other, the conversion server(s) may mistakenly treat the speech as being spoken by one person leading to a conversion error. With the active speaker labels 308, the conversion server(s) can correctly determine that the speech signal belongs to two persons and convert them separately thereby eliminating the conversion error and increasing the accuracy. The active speaker labels 308 can also be saved along with the meeting recording and used in various offline applications, such as speech transcription, speaker diarization, meeting summary systems, etc.
[0075] While in the example shown in FIG. 3, the action speaker detection system 306 is described as being separate from the media service 304, in other examples, the action speaker detection system 306 may be implemented by the media service 304 or by another subsystem of the chat and video conference provider 302.
[0076] Referring now to FIG. 4, FIG. 4 shows a block diagram of the workflow in the active speaker detection for videoconferencing, according to certain aspects of the present disclosure. As shown in FIG. 4, a feature extraction 402 can be applied on each of the received audio signals 312 to generate the audio features that can be used to detect active speakers. For example, the audio features of an audio signal can include energy features such as the real time energy, smoothed energy, or other types of metrics measuring the energy of the audio signal. The audio features can further include a human presence feature indicating the presence of human speech in the audio signal (or a probability thereof) determined via voice activity detection (VAD), a category feature indicating a categorization of the audio signal such as a pure noise category, a music category, and so on. The audio features may further include speaker features generated using speaker detection from the audio signal or event features generated using event detection from the audio signal. The events may be detected via sound event detection, such as babble environment detection, music detection, single speech detection, phoneme detection, laughter detection, and so on. These audio features may be detected by digital signal processing (DSP) algorithms or machine learning models. As discussed above, the active speaker is detected for each audio segment. As such, the audio features can be generated for each segment of each audio signal 312. In some examples, the audio features are generated from a pre-processed audio signal. The pre-processing can include removing noises from the audio signals, separating voices from babble in the audio signals and so on.
[0077] In some implementations, the active speaker detection system 306 can also receive the video signals 414 associated with the audio signals 312 from the media service 304. The active speaker detection system 306 can thus extract features from the video signals 414 during the feature extraction 402 to facilitate the active speaker detection. The video features can include an indication of whether there is an active human in the video scene detected via human detection. For an audio signal, if a human is present in the corresponding video signal, it is likely that the audio signal contains human speech. However, if the human shown in the video signal has no lip movement, the human speech in the audio signal may be from the background, rather than the participant and thus could be irrelevant to the video conference. As such, a video feature can be generated using lip movement detection to indicate if the speaker is currently speaking or not. Other types of video features can also be generated for active speaker detection.
[0078] The generated audio features can be provided to the active speaker detection 404 to determine an active speaker for each segment of the audio signals 312. In some examples, the active speaker is determined based on the audio features and video features if available. For instance, for a given audio segment, the active speaker detection system 306 can determine if any of the N audio signals contains human speech, such as based on the human presence feature, the speaker or event features, video features indicating the presence of human and lip movement, and so on. For those audio signals having a presence of human speech (such as the probability of the presence of human speech is higher than a threshold value), the active speaker detection system 306 can compare the energy features of these audio signals. The participant whose audio signal has the highest energy level as indicated by the energy features can be selected as the active speaker for the segment.
[0079] In another example, the active speaker detection system 306 selects a subset (e.g., 2~5) of the N audio signals with an energy level higher than the remaining audio signals. Other audio features, such as the human presence feature, the speaker or event features, video features indicating the presence of human and lip movement, can be used to select the final active speaker by determining an audio signal which has the highest likelihood of containing human speech.
[0080] The output of the active speaker detection 404 includes an active speaker label indicating the determined active speaker for each audio segment. These active speaker labels form a sequence of active speaker labels 412 that is post processed by the active speaker label processing 406. The active speaker label processing 406 includes label sequence smoothing 408 where the sequence of active speaker labels 412 is smoothed to remove noises such as frequent label switches.
[0081] To smooth the sequence of active speaker labels 412, the active speaker detection system 306 can build a smoothing buffer with a length M. The smoothing buffer can be used to hold the active speaker label for a current segment, labels for one or more segments before the current segment (“past segments”) and labels for one or more segments after the current segment (“future segments”). FIG. 5 shows an example of the active speaker labels 520 in a smoothing buffer 530 to be smoothed for the active speaker detection. In this example, the smoothing buffer 530 can hold 11 segments with two past segments 504, one current segment 506, and 8 future segments 508. The determined active speaker label for each of these segments is indicated inside each box. For illustration purposes, the active speaker label has a value between 1 to P with P being the number of participants in the video conference. The active speaker label could be any number to represent a unique speaker. The active speaker label may also take a special value, e.g., −1, to indicate a silence segment where no one is talking.
[0082] The active speaker detection system 306 determines at least two consecutive label switches within the smoothing buffer. In the example shown in FIG. 5, the first switch occurs at the 5th segment, from label “1” to label “2.” The second switch occurs at the 9th segment from label “2” to label “1.” Before the first switch, the labels that are the same are referred to as “preceding label”512. Between the first and second switches, the labels are the same and referred to as “current label”514. The labels after the second switch that have the same value are referred to as “following label”516.
[0083] Referring back to FIG. 4, the label sequence smoothing 408 can be performed based on multiple factors, such as the duration of the current label, the values of the current label, the preceding label, and the following label, and others. For example, the smoothing can be applied when the duration of the current label is smaller than a duration threshold value, such as 20 ms, 50 ms, or 100 ms. The duration threshold values for different scenarios may be different. In addition, the smoothing is performed based on whether the following and preceding labels are the same or different. For example, if the following and preceding labels are the same and none of the following label, current label, and preceding label is a silence label, the current label can be replaced by the preceding label or the following label. If the following label and preceding label are different and none of the following label, current label, and preceding label is a silence label, the current label can be replaced by the following label or the preceding label whichever has a longer time length and energy. If the following label is a silence label and the preceding label is not a silence label, the current label can be replaced by the preceding label. If the following and preceding labels are both silence labels and the duration of the current label is much smaller than the least speech length, which is usually smaller than the duration threshold value, the current label can be replaced with the silence label.
[0084] In the example of FIG. 5, the duration of the current label 514 is 40 ms (assuming each segment is 10 ms). If the duration threshold value is 60 ms, the current label has a duration smaller than the threshold and thus the smoothing needs to be performed. According to the above smoothing strategy, the preceding label 512 and the following label 516 have the same active speaker label, the current label 514 can be replaced to be “1,” which means all four segments will be assigned label “1.” As a result, all the segments in the smoothing buffer 530 will have the same label “1” and the two switches in the smoothing buffer are eliminated in the smoothed sequence of active speaker labels.
[0085] The smoothing can be performed differently if the current label is a silence label. For example, if the current label is a silence label and the following and preceding labels are the same, the current label can be replaced by the following label or the preceding label. In this example, the duration threshold value can be set longer than the duration threshold value for smoothing non-silence labels as discussed above. In another scenario, if the current label is a silence label and the following and preceding labels are different, the preceding label is likely associated with the ending of a speech and the following label is usually the initial part of another speech. In this scenario, the current label can be replaced by the preceding label to avoid delaying the speech start time. The duration threshold value for this scenario can be set much smaller than the previous scenario and even smaller than the duration threshold value for smoothing non-silence labels. In some scenarios, the smoothing is not performed, such as at the beginning of the audio where the duration of the initial label is less than the duration threshold value, but the preceding label is a silence label. This initial label is the first non-silence label and thus is not smoothed or replaced so that the start of the speech is not delayed.
[0086] The label sequence smoothing 408 can significantly reduce the switch frequency of the active speaker labels by reducing unnecessary switches, while the active speaker switch accuracy is maintained. In addition, because the sequence of active speaker labels is output by transmitting or storing the timestamp of the start of the switch along with the label, the consumption of the network bandwidth and storage space can be significantly reduced.
[0087] The active speaker label processing 406 further includes a label correction 410 to resolve ambiguities or correct information in the smoothed sequence of active speaker labels. In certain specialized transmission architectures, the audio signals received by the active speaker detection system 306 may include audio signals from multiple channels (e.g., telephone calls, and those multiple channels might share the same speaker label. As such, the active speaker detection system 306 cannot determine the correct active speaker label for those audio signals. To resolve the ambiguity, the label correction 410 can be performed. For example, the media service 304 can provide specific speaker label information to the active speaker detection system 306. When the active speaker detection system 306 determines that an audio signal corresponds to a shared speaker label, the active speaker detection system 306 can determine the specific speaker label based on the information sent by the media service 304 and replace the shared speaker label with the specific speaker label.
[0088] If the specific speaker label is not available, the shared speaker label is replaced with an unknown speaker label. The specific speaker label being unavailable is mainly caused by the communication delay. To ensure convenient and reliable transmission, the TCP protocol is commonly employed for transmitting speaker label information between servers and clients. This might introduce some latency compared to audio signal transmission. When processing a shared speaker label, the active speaker detection system 306 might encounter situations where specific speaker label information for the audio segment has not been received. To address this issue and to fix the unknown speaker label, a buffer mechanism can be used to improve the accuracy of the detected active speaker labels.
[0089] For example, a correction buffer can be established to accumulate labels over a period of time. Upon receiving a new speaker label information, each segment's speaker label information is put into the correction buffer. Other types of information, such as the timestamp, machine type, are also collected. The correction buffer continuously collects speaker label information from the media service 304. Based on the timestamp information, the active speaker detection system 306 can replace the unknown speaker labels in the correction buffer with the newly collected speaker labels. After the unknown speaker labels are replaced, the sequence of active speaker labels can be sent to the downstream servers for various applications, such as ASR, speech transcription, meeting summary, etc.
[0090] The correction buffer size could be adjusted to fit into different applications. For applications that have a higher tolerance of latency, such as offline ASR, the correction buffer size can be set to be higher than one to correct the unknown labels in the sequence of active speaker labels. For applications that require real time or near real time determination, the correction buffer size is set to one segment, where the correction buffer becomes inactive and does not process the speaker labels.
[0091] The processed active speaker labels 308 can be output and used in various applications, such as online active speaker indication, online or offline ASR, speech transcription, speaker diarization, meeting summary, and so on. FIG. 6 shows an example of the online active speaker indication and online ASR using the active speaker labels. The user interface 600 shown in FIG. 6 is a user interface of a video conference application used by participants to join a video conference. In this example, the user interface 600 includes a primary display area 602 showing the video of the active speaker and a secondary display area 612 showing the videos of the remaining participants 604-610. The user interface 600 further includes a tool area at the bottom showing the icons of various tools that can be invoked for the video conferencing, such as the chat tool, the tool for displaying the participant list, the tool for sharing screen, the tool for recording the meeting, and the tools for configuring the microphone and the camera of the client computing device 310.
[0092] In the example shown in FIG. 6, the active speaker can be identified by the active speaker detection system 306 as described above. For each segment, the active speaker detection system 306 can transmit the determined active speaker label to the media service 304 or another component of the chat and video conference provider 302. The chat and video conference provider 302 can transmit the active speaker label information for each segment to the individual client computing devices 310 in real time or near real time so that the active speaker can be indicated on the respective client computing devices according to the layout settings. For instance, if the layout setting of the user interface is the speaker view as shown in FIG. 6, the active speaker can be indicated by displaying a high-resolution video of the active speaker in the primary display area 602. If the layout setting is a standard view or a gallery view, the active speaker can be indicated by highlighting the border of the active speaker's video. Other ways to indicate the active speaker in a videoconferencing user interface can be utilized.
[0093] FIG. 6 further shows live closed captions 620 for the video conference. As discussed above, the live closed captions can be generated with the assistance of the identified active speaker for each segment to improve the accuracy of the conversion from the audio to text. To do so, the chat and video conference provider 302 can transmit the active speaker labels to the server configured to perform the conversion for closed captioning in real time or near real time. The conversion server can perform the conversion and send the closed captions to the individual client computing devices 310 for display.
[0094] In the online applications, such as those shown in FIG. 6, the smoothing buffer and the correction buffer (if used) may cause delays to the process. But the delays are on the scale of milliseconds which is much smaller than the existing approaches for active speaker detection where the delay is on the scale of seconds. For offline applications, such as offline ASR, speech transcription, speaker diarization, meeting summary, and so on, the delays can be eliminated. For example, the output sequence of active speaker labels may be shifted by the amount of delay caused by the smoothing buffer and the correction buffer to align with the original audio signals. As a result, the sequence of active speaker labels has no delays compared with the original audio signals. Any subsequent usage of the sequence of active speaker labels will not be impacted by the delays incurred during the active speaker detection.
[0095] FIG. 7 shows a flowchart depicting a process 700 for detecting active speakers for videoconferencing, according to certain aspects of the present disclosure. The active speaker detection system 306 can be configured to implement operations depicted in FIG. 7 by executing suitable program code. The software or program code may be stored on a non-transitory storage medium (e.g., on a memory device). The process depicted in FIG. 7 and described below is intended to be illustrative and non-limiting. Although FIG. 7 depicts the various processing blocks occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the blocks may be performed in some different order, or some blocks may also be performed in parallel. For illustrative purposes, the process 700 is described with reference to certain examples depicted in the figures. Other implementations, however, are possible.
[0096] At block 710, the process 700 involves accessing N audio signals for a group of N participants of a video conference. As discussed above, the group of N participants may be a subset of the participants of the video conference and be determined by the media service 304 based on the energy of the audio signals of these participants being higher than remaining audio signals. The audio signals of the group of participants may be transmitted by the media service 304 to the active speaker detection system 306 in real time or near real time upon receiving the audio signals during the video conference. In other examples, the audio signals of the group of participants may be retrieved from a storage device configured to store the audio signals of the video conference after the video conference is over, such as a storage device in the media service 304.
[0097] At block 712, the process 700 involves extracting features for each of N audio signals including audio features and video features. The audio features of an audio signal can include energy features such as the real time energy, smoothed energy, or other types of metrics measuring the energy of the audio signal. The audio features can further include a human presence feature indicating the presence of human speech in the audio signal (or a probability thereof) determined via voice activity detection (VAD), a category feature indicating a categorization of the audio signal such as a pure noise category, a music category, and so on. The audio features may further include speaker or event features generated using speaker or event detection from the audio signal. The events may be detected via sound event detection, such as babble environment detection, music detection, single speech detection, phoneme detection, laughter detection, and so on. These audio features may be detected by digital signal processing (DSP) algorithms or machine learning models. In some examples, generating the audio features can include pre-processing the audio signal and generating the audio features from the pre-processed audio signal. The pre-processing can include removing noises from the audio signals, separating voices from babble in the audio signals and so on.
[0098] In examples where the video signals of the conference are available, video features can be extracted. The video features can include an indication of whether there is an active human in the video scene detected via human detection, a video feature generated using lip movement detection to indicate if the speaker is currently speaking or not. Other types of video features can also be generated for active speaker detection.
[0099] At block 714, the process 700 involves determining an active speaker for each segment of the audio signals based on the features to generate a sequence of active speaker labels. For example, the active speaker detection system 306 can determine the active speaker for a segment by comparing the energy features of the segments from the N audio signals. The active speaker detection system 306 can select a subset (e.g., 2~5) of the N audio segments with an energy level higher than the remaining audio signals. Among the subset of audio segments, audio features such as the human presence feature, the speaker or event features, video features indicating the presence of human and lip movement, can be used to select the final active speaker by determining an audio signal which has the highest likelihood of containing human speech. In alternative or additional examples, the active speaker detection system 306 can determine if any of the N audio segments contains human speech, such as based on the human presence feature, the speaker or event features, video features indicating the presence of human and lip movement, and so on. For those audio signals having a presence of human speech (such as the probability of the presence of human speech is higher than a threshold value), the active speaker detection system 306 can compare the energy features of these audio signals. The participant whose audio signal has the highest energy level as indicated by the energy features can be selected as the active speaker for the segment.
[0100] At block 716, which includes blocks 718 and 720, the process 700 involves processing the sequence of active speaker labels. At block 718, the process 700 involves smoothing the sequence of active speaker labels. As discussed above in detail, smoothing the sequence of active speaker labels can be performed based on multiple factors, such as the duration of the current label, the values of the current label, the preceding label, and the following label, and others. For example, the smoothing can be applied when the duration of the current label is smaller than a duration threshold value. The duration threshold values for different scenarios may be different.
[0101] The smoothing can be performed further based on whether the following and preceding labels are the same or different. For example, if the following and preceding labels are the same and none of the following label, current label, and preceding label is a silence label, the current label can be replaced by the preceding label or the following label. If the following label and preceding label are different and none of the following label, current label, and preceding label is a silence label, the current label can be replaced by the following label or the preceding label whichever has a longer time length and a larger energy. If the following label is a silence label and the preceding label is not a silence label, the current label can be replaced by the preceding label. If the following and preceding labels are both silence labels and the duration of the current label is much smaller than the least speech length, which is usually smaller than the duration threshold value, the current label can be replaced with the silence label.
[0102] The smoothing can be performed differently if the current label is a silence label. For example, if the current label is a silence label and the following and preceding labels are the same, the current label can be replaced by the following label or the preceding label. If the current label is a silence label and the following and preceding labels are different, the current label can be replaced by the preceding label. In some scenarios, the smoothing is not performed, such as at the beginning of the audio where the duration of the initial label is less than the duration threshold value, but the preceding label is a silence label. This initial label is the first non-silence label and thus is not smoothed or replaced so that the start of the speech is not delayed.
[0103] At block 720, the process 700 involves correcting the sequence of active speaker labels to resolve ambiguities or correcting information in the smoothed sequence of active speaker labels. For example, the media service 304 can provide specific speaker label information to the active speaker detection system 306. When the active speaker detection system 306 determines that an audio signal corresponds to a shared speaker label, the active speaker detection system 306 can determine the specific speaker label based on the information sent by the media service 304 and replace the shared speaker label with the specific speaker label. If the specific speaker label is not available, the shared speaker label is replaced with an unknown speaker label.
[0104] To fix the unknown speaker label, a correction buffer can be established to accumulate labels over a period of time. Upon receiving a new speaker label information from the media service 304, each segment's speaker label information is put into the correction buffer. Other types of information, such as the timestamp, machine type, are also collected. The correction buffer continuously collects speaker label information from the media service 304. Based on the timestamp information, the active speaker detection system 306 can replace the unknown speaker labels in the correction buffer with the newly collected speaker labels.
[0105] At block 722, the process 700 involves outputting the processed sequence of active speaker labels. Because of the structure of the sequence of active speaker labels, the active speaker labels can be output by sending or storing the active speaker label at the start of each label switch along with the corresponding timestamp. The output sequence of active speaker labels can be used in various applications, such as online active speaker indication, online or offline ASR, speech transcription, speaker diarization, meeting summary, and so on.
[0106] Referring now to FIG. 8, FIG. 8 shows an example computing device 800 suitable for performing certain aspects of the present disclosure. The example computing device 800 includes a processor 810 which is in communication with the memory 820 and other components of the computing device 800 using one or more communications buses 802. The processor 810 is configured to execute processor-executable instructions stored in the memory 820 to perform one or more processes described herein, such as part or all of the example process 700 described above with respect to FIG. 7. For example, the software application 860 provided on the computing device 800 may provide instructions for performing one or more steps of the process 700. The computing device, in this example, also includes one or more user input devices 850, such as a keyboard, mouse, touchscreen, video input device (e.g., one or more cameras), microphone, etc., to accept user input. The computing device 800 also includes a display 840 to provide visual output to a user.
[0107] The computing device 800 also includes a communications interface 830. In some examples, the communications interface 830 may enable communications using one or more networks, including a local area network (“LAN”); wide area network (“WAN”), such as the Internet; metropolitan area network (“MAN”); point-to-point or peer-to-peer connection; etc. Communication with other devices may be accomplished using any suitable networking protocol. For example, one suitable networking protocol may include the Internet Protocol (“IP”), Transmission Control Protocol (“TCP”), User Datagram Protocol (“UDP”), or combinations thereof, such as TCP / IP or UDP / IP.
[0108] While some examples of methods and systems herein are described in terms of software executing on various machines, the methods and systems may also be implemented as specifically-configured hardware, such as field-programmable gate array (FPGA) specifically to execute the various methods according to this disclosure. For example, examples can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in a combination thereof. In one example, a device may include a processor or processors. The processor comprises a computer-readable medium, such as a random access memory (RAM) coupled to the processor. The processor executes computer-executable program instructions stored in memory, such as executing one or more computer programs. Such processors may comprise a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), field programmable gate arrays (FPGAs), and state machines. Such processors may further comprise programmable electronic devices such as PLCs, programmable interrupt controllers (PICs), programmable logic devices (PLDs), programmable read-only memories (PROMs), electronically programmable read-only memories (EPROMs or EEPROMs), or other similar devices.
[0109] Such processors may comprise, or may be in communication with, media, for example one or more non-transitory computer-readable media, which may store processor-executable instructions that, when executed by the processor, can cause the processor to perform methods according to this disclosure as carried out, or assisted, by a processor. Examples of non-transitory computer-readable medium may include, but are not limited to, an electronic, optical, magnetic, or other storage device capable of providing a processor, such as the processor in a web server, with processor-executable instructions. Other examples of non-transitory computer-readable media include, but are not limited to, a floppy disk, CD-ROM, magnetic disk, memory chip, ROM, RAM, ASIC, configured processor, all optical media, all magnetic tape or other magnetic media, or any other medium from which a computer processor can read. The processor, and the processing, described may be in one or more structures, and may be dispersed through one or more structures. The processor may comprise code to carry out methods (or parts of methods) according to this disclosure.
[0110] These illustrative examples are mentioned not to limit or define the scope of this disclosure, but rather to provide examples to aid understanding thereof. Illustrative examples are discussed above in the Detailed Description, which provides further description. Advantages offered by various examples may be further understood by examining this specification.
[0111] As used below, any reference to a series of examples is to be understood as a reference to each of those examples disjunctively (e.g., “Examples 1-4” is to be understood as “Examples 1, 2, 3, or 4”).
[0112] Example #1: a method performed by a computing device, the method comprising: accessing a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference; extracting audio features for each audio signal in the group of audio signals; determining an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals; processing the sequence of active speaker labels comprising smoothing the sequence of active speaker labels to reduce a number of switches in the sequence of active speaker labels; and outputting the processed sequence of active speaker labels.
[0113] Example #2: The method of Example #1, wherein processing the sequence of active speaker labels further comprises replacing a shared speaker label in the sequence of active speaker labels with a specific speaker label.
[0114] Example #3: The method of Examples #1-2, wherein processing the sequence of active speaker labels further comprises replacing an unknown speaker label in the sequence of active speaker labels with a specific speaker label.
[0115] Example #4: The method of Examples #1-3, wherein smoothing the sequence of active speaker labels comprises: determining a first switch of speaker label and a second switch of speaker label in a portion of the sequence of active speaker labels, wherein an active speaker label between the first switch and the second switch is a current label, an active speaker label before the first switch is a preceding label, and an active speaker label after the second switch is a following label; and replacing the current label with the preceding label or the following label based on one or more of: a duration of the current label is smaller than a duration threshold value; the following label and the preceding label are different; the following label and the preceding label are the same; the following label is a silence label; the preceding label is not a silence label; or the current label is a silence label.
[0116] Example #5: The method of Examples #1-4, wherein outputting the processed sequence of active speaker labels causes the processed sequence of active speaker labels being shifted by an amount of time, the amount of time estimated based on a delay caused by one or more of the determining and the processing.
[0117] Example #6: The method of Examples #1-5, wherein outputting the processed sequence of active speaker labels further causes one or more of speech transcripts of the video conference to be generated based on the processed sequence of active speaker labels or a summary of the video conference to be generated based on the processed sequence of active speaker labels.
[0118] Example #7: The method of Examples #1-6, wherein the group of audio signals are received during the video conference, and wherein outputting the processed sequence of active speaker labels causes one or more of: the processed sequence of active speaker labels to be indicated in a user interface associated with the video conference; or an automatic speech recognition to be performed on the group of audio signals.
[0119] Example #8: The method of Examples #1-7, further comprising: accessing a group of video signals of the group of participants associated with the group of audio signals; and extracting video features from each video signal in the group of video signals, wherein the active speaker for each segment of the group of audio signals is further determined based on the video features.
[0120] Example #9: The method of Examples #1-8, wherein the audio features of an audio signal comprise one or more of an energy of the audio signal, a category feature indicating a categorization of the audio signal, a human presence feature indicating a presence of human speech in the audio signal, a speaker feature generated using speaker detection from the audio signal, or an event feature generated using event detection from the audio signal.
[0121] Example #10: The method of Examples #1-10, further comprising: joining the video conference as a virtual participant; and recording the group of audio signals.
[0122] Example #11: A computing device, comprising: a non-transitory computer-readable medium; and a processor communicatively coupled to the non-transitory computer-readable medium, the processor configured to execute processor-executable instructions stored in the non-transitory computer-readable medium to: access a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference; extract audio features for each audio signal in the group of audio signals; determine an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals; process the sequence of active speaker labels comprising smoothing the sequence of active speaker labels to reduce a number of switches in the sequence of active speaker labels; and output the processed sequence of active speaker labels.
[0123] Example #12: The computing device of Example #11, wherein processing the sequence of active speaker labels further comprises replacing a shared speaker label in the sequence of active speaker labels with a specific speaker label.
[0124] Example #13: The computing device of Examples #11-12, wherein processing the sequence of active speaker labels further comprises replacing an unknown speaker label in the sequence of active speaker labels with a specific speaker label.
[0125] Example #14: The computing device of Examples #11-13, wherein smoothing the sequence of active speaker labels comprises: determining a first switch of speaker label and a second switch of speaker label in a portion of the sequence of active speaker labels, wherein an active speaker label between the first switch and the second switch is a current label, an active speaker label before the first switch is a preceding label, and an active speaker label after the second switch is a following label; and replacing the current label with the preceding label or the following label based on one or more of: a duration of the current label is smaller than a duration threshold value; the following label and the preceding label are different; the following label and the preceding label are the same; the following label is a silence label; the preceding label is not a silence label; or the current label is a silence label.
[0126] Example #15: The computing device of Examples #11-14, wherein outputting the processed sequence of active speaker labels causes the processed sequence of active speaker labels being shifted by a pre-determined amount of time, the pre-determined amount of time estimated based on a delay caused by one or more of the determining and the processing.
[0127] Example #16: A non-transitory computer-readable medium comprising processor-executable instructions configured to cause one or more processors to: access a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference; extract audio features for each audio signal in the group of audio signals; determine an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals; process the sequence of active speaker labels comprising smoothing the sequence of active speaker labels to reduce a number of switches in the sequence of active speaker labels; and output the processed sequence of active speaker labels.
[0128] Example #17: The non-transitory computer-readable medium of Example #16, wherein the group of audio signals are received during the video conference, and wherein outputting the processed sequence of active speaker labels causes one or more of: the processed sequence of active speaker labels to be indicated in a user interface associated with the video conference; or an automatic speech recognition to be performed on the group of audio signals.
[0129] Example #18: The non-transitory computer-readable medium of Examples #16-17, wherein the processor-executable instructions are configured to further cause the one or more processors to: access a group of video signals of the group of participants associated with the group of audio signals; and extract video features from each video signal in the group of video signals, wherein the active speaker for each segment of the group of audio signals is further determined based on the video features.
[0130] Example #19: The non-transitory computer-readable medium of Examples #16-18, wherein the audio features of an audio signal comprise one or more of an energy of the audio signal, a category feature indicating a categorization of the audio signal, a human presence feature indicating a presence of human speech in the audio signal, a speaker feature generated using speaker detection from the audio signal, or an event feature generated using event detection from the audio signal.
[0131] Example #20: The non-transitory computer-readable medium of Examples #16-19, wherein the processor-executable instructions are configured to further cause one or more processors: joining the video conference as a virtual participant; and recording the group of audio signals.
[0132] The foregoing description of some examples has been presented only for the purpose of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Numerous modifications and adaptations thereof will be apparent to those skilled in the art without departing from the spirit and scope of the disclosure.
[0133] Reference herein to an example or implementation means that a particular feature, structure, operation, or other characteristic described in connection with the example may be included in at least one implementation of the disclosure. The disclosure is not restricted to the particular examples or implementations described as such. The appearance of the phrases “in one example,”“in an example,”“in one implementation,” or “in an implementation,” or variations of the same in various places in the specification does not necessarily refer to the same example or implementation. Any particular feature, structure, operation, or other characteristic described in this specification in relation to one example or implementation may be combined with other features, structures, operations, or other characteristics described in respect of any other example or implementation.
[0134] Use herein of the word “or” is intended to cover inclusive and exclusive OR conditions. In other words, A or B or C includes any or all of the following alternative combinations as appropriate for a particular usage: A alone; B alone; C alone; A and B only; A and C only; B and C only; and A and B and C.
Claims
1. A method performed by a computing device, the method comprising:accessing a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference;extracting, using an active speaker detection system, audio features for each audio signal in the group of audio signals;determining, using the ASD system, an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals;buffering active speaker labels as they are generated;determining active speaker label changes for buffered active speaker labels;processing the buffered active speaker labels comprising smoothing the buffered active speaker labels to generate smoothed buffered active speaker labels to reduce a number of switches in the buffered active speaker labels; andoutputting the smoothed buffered active speaker labels.
2. The method of claim 1, wherein processing the buffered active speaker labels further comprises replacing a shared speaker label in the buffered active speaker labels with a specific speaker label.
3. The method of claim 2, wherein processing the buffered active speaker labels further comprises replacing an unknown speaker label in the buffered active speaker labels with a specific speaker label.
4. The method of claim 1, wherein smoothing the buffered active speaker labels comprises:determining a first switch of speaker label and a second switch of speaker label in a portion of the buffered active speaker labels, wherein an active speaker label between the first switch and the second switch is a current label, an active speaker label before the first switch is a preceding label, and an active speaker label after the second switch is a following label; andreplacing the current label with the preceding label or the following label based on one or more of:a duration of the current label is smaller than a duration threshold value;the following label and the preceding label are different;the following label and the preceding label are the same;the following label is a silence label;the preceding label is not a silence label; orthe current label is a silence label.
5. The method of claim 1, wherein outputting the smoothed buffered active speaker labels causes the smoothed buffered active speaker labels being shifted by an amount of time, the amount of time estimated based on a delay caused by one or more of the determining and the processing.
6. The method of claim 5, wherein outputting the smoothed buffered active speaker labels further causes one or more of speech transcripts of the video conference to be generated based on the smoothed buffered active speaker labels or a summary of the video conference to be generated based on the smoothed buffered active speaker labels.
7. The method of claim 1, wherein the group of audio signals are received during the video conference, and wherein outputting the smoothed buffered active speaker labels causes one or more of:the smoothed buffered active speaker labels to be indicated in a user interface associated with the video conference; oran automatic speech recognition to be performed on the group of audio signals.
8. The method of claim 1, further comprising:accessing a group of video signals of the group of participants associated with the group of audio signals; andextracting video features from each video signal in the group of video signals, wherein the active speaker for each segment of the group of audio signals is further determined based on the video features.
9. The method of claim 1, wherein the audio features of an audio signal comprise one or more of an energy of the audio signal, a category feature indicating a categorization of the audio signal, a human presence feature indicating a presence of human speech in the audio signal, a speaker feature generated using speaker detection from the audio signal, or an event feature generated using event detection from the audio signal.
10. The method of claim 1, further comprising:joining the video conference as a virtual participant; andrecording the group of audio signals.
11. A computing device, comprising:a non-transitory computer-readable medium; anda processor communicatively coupled to the non-transitory computer-readable medium, the processor configured to execute processor-executable instructions stored in the non-transitory computer-readable medium to:access a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference;extract, using an active speaker detection (“ASD”) system, audio features for each audio signal in the group of audio signals;determine, using the ASD system, an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals;buffer active speaker labels as they are generated;determine active speaker label changes for buffered active speaker labels;process the buffered active speaker labels comprising smoothing the buffered active speaker labels to generate smoothed buffered active speaker labels to reduce a number of switches in the buffered active speaker labels; andoutput the smoothed buffered active speaker labels.
12. The computing device of claim 11, wherein processing the buffered active speaker labels further comprises replacing a shared speaker label in the buffered active speaker labels with a specific speaker label.
13. The computing device of claim 11, wherein processing the buffered active speaker labels further comprises replacing an unknown speaker label in the buffered active speaker labels with a specific speaker label.
14. The computing device of claim 11, wherein smoothing the buffered active speaker labels comprises:determining a first switch of speaker label and a second switch of speaker label in a portion of the buffered active speaker labels, wherein an active speaker label between the first switch and the second switch is a current label, an active speaker label before the first switch is a preceding label, and an active speaker label after the second switch is a following label; andreplacing the current label with the preceding label or the following label based on one or more of:a duration of the current label is smaller than a duration threshold value;the following label and the preceding label are different;the following label and the preceding label are the same;the following label is a silence label;the preceding label is not a silence label; orthe current label is a silence label.
15. The computing device of claim 11, wherein outputting the smoothed buffered active speaker labels causes the smoothed buffered active speaker labels being shifted by a pre-determined amount of time, the pre-determined amount of time estimated based on a delay caused by one or more of the determining and the processing.
16. A non-transitory computer-readable medium comprising processor-executable instructions configured to cause one or more processors to:access a group of audio signals captured at respective client computing devices associated with a group of participants of a video conference;extract, using an active speaker detection (“ASD”) system, audio features for each audio signal in the group of audio signals;determine, using the ASD system, an active speaker for each segment of the group of audio signals based on the extracted audio features to generate a sequence of active speaker labels for the group of audio signals;buffer active speaker labels as they are generated;determine active speaker label changes for buffered active speaker labels;process the buffered active speaker labels comprising smoothing the buffered active speaker labels to generate smoothed buffered active speaker labels to reduce a number of switches in the buffered active speaker labels; andoutput the smoothed buffered active speaker labels.
17. The non-transitory computer-readable medium of claim 16, wherein the group of audio signals are received during the video conference, and wherein outputting the smoothed buffered active speaker labels causes one or more of:the smoothed buffered active speaker labels to be indicated in a user interface associated with the video conference; oran automatic speech recognition to be performed on the group of audio signals.
18. The non-transitory computer-readable medium of claim 16, wherein the processor-executable instructions are configured to further cause the one or more processors to:access a group of video signals of the group of participants associated with the group of audio signals; andextract video features from each video signal in the group of video signals, wherein the active speaker for each segment of the group of audio signals is further determined based on the video features.
19. The non-transitory computer-readable medium of claim 16, wherein the audio features of an audio signal comprise one or more of an energy of the audio signal, a category feature indicating a categorization of the audio signal, a human presence feature indicating a presence of human speech in the audio signal, a speaker feature generated using speaker detection from the audio signal, or an event feature generated using event detection from the audio signal.
20. The non-transitory computer-readable medium of claim 16, wherein the processor-executable instructions are configured to further cause one or more processors:joining the video conference as a virtual participant; andrecording the group of audio signals.
Citation Information
Patent Citations
Associating faces with voices for speaker diarization within videos
US10497382B2
Differentiating attendees in a conference call
US11165597B1
Acoustic echo cancellation based sub band domain active speaker detection for audio and video conferencing applications
US20190132452A1
Applying multi-channel communication metrics and semantic analysis to human interaction data extraction
US20210271864A1
Techniques for end-to-end speaker diarization with generalized neural speaker clustering
US20240013774A1
