miroslavpejic85 / mirotalksfu

🏆 WebRTC - SFU - Simple, Secure, Scalable Real-Time Video Conferences Up to 8k, compatible with all browsers and platforms.
https://sfu.mirotalk.com
GNU Affero General Public License v3.0
2.15k stars 340 forks source link

Push to talk #122

Closed AlexAT closed 1 year ago

AlexAT commented 1 year ago

Please add push to talk function ( https://github.com/miroslavpejic85/mirotalk/issues/143 ) to SFU client as well. Kind thanks.

miroslavpejic85 commented 1 year ago

Push to Talk (PTT)

Logic: If Active, When SpaceBar keydown the microphone will be resumed, on keyup will be paused, like a walkie-talkie.

mirotalk-sfu-push-to-talk

Push-to-talk (PTT) is a communication method used in various contexts, particularly in voice communication systems. It allows users to transmit their voice only when they press a designated button or key, effectively enabling them to control when they're transmitting audio. When the button is released, the audio transmission is immediately cut off.

PTT is commonly used in situations where constant audio transmission might be impractical or undesirable. Some common applications of push-to-talk include:

  1. Two-way Radios: PTT is often used in two-way radio communication systems, such as walkie-talkies or professional radio systems. This method ensures that only one person can speak at a time and reduces background noise.

  2. Voice over IP (VoIP): In online gaming or conference calls, PTT can help prevent background noise or accidental transmissions. Participants can communicate more effectively by speaking only when necessary.

  3. Messaging Apps: Some messaging apps, especially those designed for group or team communication, offer push-to-talk features. This allows users to send voice messages only when the PTT button is pressed.

  4. Emergency Services: PTT functionality is crucial for emergency services and first responders who need to coordinate their communication quickly and efficiently.

  5. Aviation and Military Communication: Pilots, air traffic controllers, and military personnel often use PTT systems to ensure clear and concise communication in high-stress environments.

  6. Public Events: PTT can be used for event coordination, security, and crowd management during public gatherings or large events.

The push-to-talk concept helps in conserving bandwidth and keeping communication channels clear. It's particularly useful in situations where multiple users share a communication channel, and there's a need to avoid constant background noise or simultaneous speech.

AlexAT commented 1 year ago

Wow, you're the best, thanks!