Closed
Bug 1221574
Opened 10 years ago
Closed 9 years ago
Write a full-duplex Android OpenSL ES cubeb backend
Categories
(Core :: Audio/Video: cubeb, defect, P1)
Core
Audio/Video: cubeb
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: padenot, Assigned: achronop)
References
(Blocks 1 open bug)
Details
Attachments
(6 files)
908 bytes,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
2.57 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
2.06 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
3.37 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
1.21 KB,
patch
|
jesup
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Updated•10 years ago
|
Component: Audio/Video: MediaStreamGraph → Audio/Video: cubeb
Updated•10 years ago
|
Rank: 15
Priority: -- → P1
Updated•10 years ago
|
Rank: 15 → 17
Comment 1•9 years ago
|
||
Alex is going to take this; our goal is to get this landed before the London work week (in June).
Assignee: nobody → achronop
Assignee | ||
Comment 2•9 years ago
|
||
Patch is up for review PR: https://github.com/kinetiknz/cubeb/pull/114
Assignee | ||
Comment 3•9 years ago
|
||
Try run with pref off:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=722486f12441
and the updated debug build
https://treeherder.mozilla.org/#/jobs?repo=try&revision=60257532a844
Assignee | ||
Comment 4•9 years ago
|
||
New run with cubeb and life cycle logs:
Full duplex pref set to true:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a766aeb6b65c
Full duplex pref set to false:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ca29617838132b9fe6ede15a4792fc2927c7fe20
Assignee | ||
Comment 5•9 years ago
|
||
New try run with the assert issue loved and some logs activated:
Full duplex pref off:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2f35bc1d4e72
Full duplex pref on:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e036aba33867
Assignee | ||
Comment 6•9 years ago
|
||
New run with less logging and one crash fix:
Full duplex off:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a13fae117867
Full duplex on:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e76495725513
Full duplex on + C2 crashtest fix:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7bd946c6eaf9
Assignee | ||
Comment 7•9 years ago
|
||
Degub run with mda2 problem fixed:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=746d5a694b48
Assignee | ||
Comment 8•9 years ago
|
||
Full run with full duplex pref off:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c553bf42ded8
Assignee | ||
Comment 9•9 years ago
|
||
Full run with full duplex pref on:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=287aa9cb0078
Assignee | ||
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
Update the update.sh script
Attachment #8810930 -
Flags: review?(padenot)
Assignee | ||
Comment 12•9 years ago
|
||
Fix build errors found with the new backend
Attachment #8810931 -
Flags: review?(rjesup)
Assignee | ||
Comment 13•9 years ago
|
||
In case of Android there is not device enumeration available so it is set hardcoded to return the one mic.
Attachment #8810935 -
Flags: review?(rjesup)
Assignee | ||
Comment 14•9 years ago
|
||
Due to lack of device enumeration the assert changes no to expect anything in case of Android.
Attachment #8810937 -
Flags: review?(rjesup)
Assignee | ||
Comment 15•9 years ago
|
||
Update lifecylce logs in respect to android log macros.
Attachment #8810940 -
Flags: review?(rjesup)
Assignee | ||
Comment 16•9 years ago
|
||
Disable one test that fails sporadically in android. No failure in autophone.
Attachment #8810944 -
Flags: review?(rjesup)
Reporter | ||
Updated•9 years ago
|
Attachment #8810930 -
Flags: review?(padenot) → review+
Updated•9 years ago
|
Attachment #8810931 -
Flags: review?(rjesup) → review+
Updated•9 years ago
|
Attachment #8810935 -
Flags: review?(rjesup) → review+
Comment 17•9 years ago
|
||
Comment on attachment 8810937 [details] [diff] [review]
004-gecko-crash-error
Review of attachment 8810937 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/webrtc/MediaEngineWebRTC.h
@@ +268,5 @@
>
> void StartRecording(SourceMediaStream *aStream, AudioDataListener *aListener)
> {
> +#ifdef MOZ_WIDGET_ANDROID
> + // OpenSL ES does not support enumerate devices.
"enumerating"
Attachment #8810937 -
Flags: review?(rjesup) → review+
Updated•9 years ago
|
Attachment #8810940 -
Flags: review?(rjesup) → review+
Updated•9 years ago
|
Attachment #8810944 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 18•9 years ago
|
||
(In reply to Randell Jesup [:jesup] from comment #17)
> Comment on attachment 8810937 [details] [diff] [review]
> 004-gecko-crash-error
>
> Review of attachment 8810937 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/media/webrtc/MediaEngineWebRTC.h
> @@ +268,5 @@
> >
> > void StartRecording(SourceMediaStream *aStream, AudioDataListener *aListener)
> > {
> > +#ifdef MOZ_WIDGET_ANDROID
> > + // OpenSL ES does not support enumerate devices.
>
> "enumerating"
Patch has been updated
Assignee | ||
Comment 19•9 years ago
|
||
Bug 1318619 update the cubeb upstream up to the patch before the OpenSL ES full duplex implementation.
Assignee | ||
Comment 20•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/3765376057ce889747ddf549bcc248eb3086b624
Bug 1221574 - [01] Add queue array in update.sh script. r=padenot
https://hg.mozilla.org/integration/mozilla-inbound/rev/5a104f59c9f3c946276b448330eb9a839144e7ba
Bug 1221574 - [02] Fix build erros with the new backend. r=jesup
https://hg.mozilla.org/integration/mozilla-inbound/rev/bd59a9fb070a85ba8d03357bb3b516d38ee462db
Bug 1221574 - [03] Hardcode expected mic device on Android. r=jesup
https://hg.mozilla.org/integration/mozilla-inbound/rev/d0269eb23e0c23e08b95158c4c125c82a64dfaa0
Bug 1221574 - [04] Change assert of expected devices in case of Android. r=jesup
https://hg.mozilla.org/integration/mozilla-inbound/rev/14af435edc2d399d2834a32d43b0d7d4ffec9782
Bug 1221574 - [05] Fix MediaStreamGraph lifecycle logs in case of Android. r=jesup
https://hg.mozilla.org/integration/mozilla-inbound/rev/36297c58723f978d1924bd7ad74dc25ad34feb4d
Bug 1221574 - [06] Disable one media test in case of Android. r=jesup
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d3f2c421fee39c99140a6c14075814a35476ad6
Bug 1221574 - [07] Update cubeb to b6315bb including full duplex for OpenSL ES. r=kinetik, r=padenot
Assignee | ||
Comment 21•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a40cac8610de8543bf21eecaa91dacf3ed1b73e7
Bug 1221574 - [08] Add new file cubeb_array_queue.h. r=bustage-fix on a CLOSED TREE
Comment 22•9 years ago
|
||
(In reply to Alex Chronopoulos [:achronop] from comment #21)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/
> a40cac8610de8543bf21eecaa91dacf3ed1b73e7
> Bug 1221574 - [08] Add new file cubeb_array_queue.h. r=bustage-fix on a
> CLOSED TREE
update.sh needs to be updated to copy this across during import, too.
Flags: needinfo?(achronop)
Assignee | ||
Comment 23•9 years ago
|
||
(In reply to Matthew Gregan [:kinetik] from comment #22)
> update.sh needs to be updated to copy this across during import, too.
1st patch does that:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3765376057ce889747ddf549bcc248eb3086b624
Bug 1221574 - [01] Add queue array in update.sh script. r=padenot
Flags: needinfo?(achronop)
Comment 24•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3765376057ce
https://hg.mozilla.org/mozilla-central/rev/5a104f59c9f3
https://hg.mozilla.org/mozilla-central/rev/bd59a9fb070a
https://hg.mozilla.org/mozilla-central/rev/d0269eb23e0c
https://hg.mozilla.org/mozilla-central/rev/14af435edc2d
https://hg.mozilla.org/mozilla-central/rev/36297c58723f
https://hg.mozilla.org/mozilla-central/rev/0d3f2c421fee
https://hg.mozilla.org/mozilla-central/rev/a40cac8610de
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•9 years ago
|
QA Contact: oana.horvath
Comment 25•9 years ago
|
||
Hi,
I will take this feature as a QA. Here is the Test plan based on which the testing is made: https://wiki.mozilla.org/QA/Fennec/Full_Duplex_testing
You need to log in
before you can comment on or make changes to this bug.
Description
•