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

Fix SDP mangling in DTMF and add a test #767

Merged
merged 5 commits into from Apr 12, 2016
Merged

Fix SDP mangling in DTMF and add a test #767

merged 5 commits into from Apr 12, 2016

Conversation

KaptenJansson
Copy link
Contributor

Description
Update the SDP mangling code.

Fixes #752

Purpose
Fix the DTMF demo

One curious thing though, testing on Stable, Beta and Dev yields 3 different results.

  • Stable (49.0.2623.87) - Works as intended
  • Beta (50.0.2661.37) - Works but crackling noise
  • Dev (51.0.2679.0) - Does not work at all, audioInputLevel is non zero but it does not actually send the audio (bitrate is 0).

Will continue investigating and commit to this PR.

CC @tednakamura

@KaptenJansson KaptenJansson self-assigned this Mar 22, 2016
@KaptenJansson
Copy link
Contributor Author

Turns out the SDP manging code is no longer needed ;).

The issues still remain however they seem to be unrelated to DTMF as I can reproduce them on other samples.

@KaptenJansson KaptenJansson changed the title Fix SDP mangling Fix SDP mangling in DTMF Mar 22, 2016
@KaptenJansson
Copy link
Contributor Author

OK so the choppy audio on M50 was temporary, after a crash when trying to create an aecdump it now sounds OK. Still investigating the M51 issue, however as mentioned it's unrelated to this change.

@KaptenJansson
Copy link
Contributor Author

Interesting, it works fine in the tests on all Chrome channels....Maybe some local issue related to my profile....

@KaptenJansson KaptenJansson changed the title Fix SDP mangling in DTMF Fix SDP mangling in DTMF and add a test Apr 4, 2016
@KaptenJansson
Copy link
Contributor Author

@samdutton PTAL when you get a chance.

@KaptenJansson
Copy link
Contributor Author

PTAL @hkjellander

/* eslint-env node */

'use strict';
// This is a basic test file for use with testling.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testling -> testing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this was testling but we moved away from testling to selenium

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KaptenJansson should we delete that line everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that should be removed.

@kjellander-unity
Copy link
Contributor

Is there an easy way I can try out the fixed page or do I have to patch a fork and use that?

.then(function() {
return driver.wait(function() {
return driver.executeScript(
// For some reason the demo sends and extra space. Assume its due to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its -> it's

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@KaptenJansson
Copy link
Contributor Author

fork (assuming nodejs is installed) and run ´node test/server.js´ then browse to ´https://localhost:8080/´

@kjellander-unity
Copy link
Contributor

LGTM, I assume you'll fix the testling references for all tests in another PR (I wasn't aware it was the name of a test framework ;)

@kjellander-unity kjellander-unity merged commit f1c5a16 into gh-pages Apr 12, 2016
@kjellander-unity kjellander-unity deleted the fixDTMF branch April 12, 2016 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants