Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing audio track following a webRTC Glare detection #1508

Open
4 tasks done
EdGallimore opened this issue Jun 25, 2021 · 2 comments
Open
4 tasks done

Losing audio track following a webRTC Glare detection #1508

EdGallimore opened this issue Jun 25, 2021 · 2 comments
Assignees

Comments

@EdGallimore
Copy link

  • I have verified that the issue occurs with the latest twilio-video.js release and is not marked as a known issue in the CHANGELOG.md.
  • I reviewed the Common Issues and open GitHub issues and verified that this report represents a potentially new issue.
  • I verified that the Quickstart application works in my environment.
  • I am not sharing any Personally Identifiable Information (PII)
    or sensitive account information (API keys, credentials, etc.) when reporting this issue.

Context:
Two parties are contacting each other via twilio video in the browser. One is called the ‘expert’, and the other the ‘customer’. The customer publishes only audio and data channels. The expert publishes audio, video and data.

The customer and expert both connect to the room and publish their channels. When they connect - on some connections the expert is unable to hear the customer. The issue only arises 1 out of every 20-100 runs.

Technology:
The application we have built is based on the react sample code.
When the expert navigates to our page - they connect to the twilio room, then (because of the behaviour of our app and the twilio hooks) immediately independently publishes data, audio and video tracks (more or less in parallel). A similar thing will happen on the customers machine at approximately the same time.
We have turned on twilio logging.

Observation
Whenever the customer's sound is not present - it is always accompanied by a 'Glare detected; rolling back' twilio log entry on the customer's machine.
On the expert's machine the audio initially mounts, but we quickly receive a MediaStreamTrack ended event and audio tag's srcObject active becomes false.
The broker cannot hear any sound from the customer
We receive no further events regarding additional MediaStreams / Tracks being published/started

Log Files
I cannot supply any code, but have attached relevant fragments of the twilio log file in the attached excel.

TwilioAudioLog.xlsx

Software versions:
Chrome v89 on MacOs
twilio-video.js 2.15.1
react 17.0.2

@charliesantos charliesantos self-assigned this Jun 25, 2021
@charliesantos
Copy link
Collaborator

Hi @EdGallimore , thanks for submitting. Can you please update to latest chrome version and post logs in a .txt or .log format?

@EdGallimore
Copy link
Author

Hello, @charliesantos - I have verified that the issue still occurs in the latest version of chrome (v91)

I have attached text file versions of the log files below
customer.txt
expert.txt

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants