Remove the notion of streams from the MediaStreamGraph
Categories
(Core :: Audio/Video: MediaStreamGraph, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: pehrsons, Assigned: pehrsons)
References
(Blocks 4 open bugs)
Details
Attachments
(7 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•7 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D45821
Assignee | ||
Comment 3•5 years ago
|
||
The patches are huge, but getting them green was a breeze.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e3eaffaecf200c24ce15a286dd6c1a8e82c7cdeb
Assignee | ||
Comment 4•5 years ago
|
||
TrackID has been used to denote tracks that are part of MediaStreams in the
MediaStreamGraph. The TrackInfo::mTrackId IDs are no longer used in the
MediaStream APIs and as such it's not necessary that they have the type TrackID.
This patch changes TrackInfo::mTrackId to be of type uint32_t instead, as that
is the type of Mp4parseTrackInfo::track_id, which is assigned to
TrackInfo::mTrackId as the sole remaining non-static user.
Other users set a static trackId of 1
or 2
, and as such remain supported by
this change.
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D46763
Assignee | ||
Comment 6•5 years ago
|
||
This functionality is not used since we moved to only having a single track per
MediaStream (bug 1493613).
Depends on D46764
Assignee | ||
Comment 7•5 years ago
|
||
The stream order does not depend on streams' finished state, so these calls are
unnecessary.
Depends on D47686
Assignee | ||
Comment 8•5 years ago
|
||
AudioNodeStream is a subclass of MediaStream, which now exposes a
public const mSampleRate member.
Depends on D45821
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Backed out 7 changesets (bug 1454998) for build bustages at MediaTrackGraph.h on a CLOSED TREE.
Backout link: https://hg.mozilla.org/integration/autoland/rev/5f5e153eb14b8ecd44b5453e7a4a9e53e95193dd
**Push with failures:**https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=80417bdfa72112c6f9472c29ce49e8ff81e8c688&selectedJob=269383949
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=269383949&repo=autoland&lineNumber=20447
Log snippet:
[task 2019-10-02T08:38:13.611Z] 08:38:13 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions'
[task 2019-10-02T08:38:13.611Z] 08:38:13 INFO - extensions/permissions/Unified_cpp_permissions0.o
[task 2019-10-02T08:38:13.611Z] 08:38:13 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions'
[task 2019-10-02T08:38:13.961Z] 08:38:13 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/storage/test/gtest'
[task 2019-10-02T08:38:13.962Z] 08:38:13 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/gcc/bin/g++ -o Unified_cpp_storage_test_gtest0.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/storage/test/gtest -I/builds/worker/workspace/build/src/obj-firefox/storage/test/gtest -I/builds/worker/workspace/build/src/storage -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wformat -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fno-omit-frame-pointer -funwind-tables -Werror -MD -MP -MF .deps/Unified_cpp_storage_test_gtest0.o.pp Unified_cpp_storage_test_gtest0.cpp
[task 2019-10-02T08:38:13.962Z] 08:38:13 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/storage/test/gtest'
[task 2019-10-02T08:38:13.969Z] 08:38:13 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions/test/gtest'
[task 2019-10-02T08:38:13.969Z] 08:38:13 INFO - mkdir -p '.deps/'
[task 2019-10-02T08:38:13.969Z] 08:38:13 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions/test/gtest'
[task 2019-10-02T08:38:13.969Z] 08:38:13 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions/test/gtest'
[task 2019-10-02T08:38:13.970Z] 08:38:13 INFO - extensions/permissions/test/gtest/Unified_cpp_test_gtest0.o
[task 2019-10-02T08:38:13.970Z] 08:38:13 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/extensions/permissions/test/gtest'
[task 2019-10-02T08:38:14.066Z] 08:38:14 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/xpcom/components'
[task 2019-10-02T08:38:14.066Z] 08:38:14 INFO - /builds/worker/fetches/sccache/sccache /builds/worker/fetches/gcc/bin/g++ -o StaticComponents.o -c -I/builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers -I/builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers -include /builds/worker/workspace/build/src/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/builds/worker/workspace/build/src/xpcom/components -I/builds/worker/workspace/build/src/obj-firefox/xpcom/components -I/builds/worker/workspace/build/src/obj-firefox/xpcom -I/builds/worker/workspace/build/src/xpcom/base -I/builds/worker/workspace/build/src/xpcom/build -I/builds/worker/workspace/build/src/xpcom/ds -I/builds/worker/workspace/build/src/chrome -I/builds/worker/workspace/build/src/js/xpconnect/loader -I/builds/worker/workspace/build/src/layout/build -I/builds/worker/workspace/build/src/modules/libjar -I/builds/worker/workspace/build/src/obj-firefox/ipc/ipdl/_ipdlheaders -I/builds/worker/workspace/build/src/ipc/chromium/src -I/builds/worker/workspace/build/src/ipc/glue -I/builds/worker/workspace/build/src/obj-firefox/dist/include -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nspr -I/builds/worker/workspace/build/src/obj-firefox/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /builds/worker/workspace/build/src/obj-firefox/mozilla-config.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wformat -D_GLIBCXX_USE_CXX11_ABI=0 -fno-sized-deallocation -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fno-omit-frame-pointer -funwind-tables -Werror -I/builds/worker/workspace/build/src/widget/gtk/compat-gtk3 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gtk-3.0/unix-print -MD -MP -MF .deps/StaticComponents.o.pp StaticComponents.cpp
[task 2019-10-02T08:38:14.066Z] 08:38:14 INFO - In file included from /builds/worker/workspace/build/src/obj-firefox/dist/include/MediaEngine.h:9:0,
[task 2019-10-02T08:38:14.066Z] 08:38:14 INFO - from /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/MediaManager.h:8,
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - from StaticComponents.cpp:42:
[task 2019-10-02T08:38:14.068Z] 08:38:14 ERROR - /builds/worker/workspace/build/src/obj-firefox/dist/include/MediaTrackGraph.h:445:13: error: explicit specialization in non-namespace scope 'class mozilla::MediaTrack'
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - template <>
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - ^
[task 2019-10-02T08:38:14.068Z] 08:38:14 ERROR - /builds/worker/workspace/build/src/obj-firefox/dist/include/MediaTrackGraph.h:446:41: error: template-id 'GetData<mozilla::MediaSegment>' in declaration of primary template
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - MediaSegment* GetData<MediaSegment>() const {
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - ^~~~~
[task 2019-10-02T08:38:14.068Z] 08:38:14 INFO - /builds/worker/workspace/build/src/config/rules.mk:785: recipe for target 'StaticComponents.o' failed
[task 2019-10-02T08:38:14.068Z] 08:38:14 ERROR - make[4]: *** [StaticComponents.o] Error 1
[task 2019-10-02T08:38:14.069Z] 08:38:14 INFO - make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/xpcom/components'
[task 2019-10-02T08:38:14.069Z] 08:38:14 INFO - /builds/worker/workspace/build/src/config/recurse.mk:74: recipe for target 'xpcom/components/target-objects' failed
[task 2019-10-02T08:38:14.069Z] 08:38:14 ERROR - make[3]: *** [xpcom/components/target-objects] Error 2
[task 2019-10-02T08:38:14.069Z] 08:38:14 INFO - make[3]: *** Waiting for unfinished jobs....
[task 2019-10-02T08:38:14.070Z] 08:38:14 INFO - make[4]: Entering directory '/builds/worker/workspace/build/src/obj-firefox/storage'
[task 2019-10-02T08:38:14.070Z] 08:38:14 INFO - storage/Unified_cpp_storage0.o
Comment 11•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b310c9ac5d35
https://hg.mozilla.org/mozilla-central/rev/a4d88d5b86d2
https://hg.mozilla.org/mozilla-central/rev/398d14785168
https://hg.mozilla.org/mozilla-central/rev/3f763ede55c3
https://hg.mozilla.org/mozilla-central/rev/7cd5ea4167b6
https://hg.mozilla.org/mozilla-central/rev/6a9a41e0bf24
https://hg.mozilla.org/mozilla-central/rev/9ea7aabf10fb
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
What docs did you have in mind Chris? This is an internal optimization really, I don't expect anything js-observable to come from this.
Comment 14•5 years ago
|
||
(In reply to Andreas Pehrson [:pehrsons] from comment #13)
What docs did you have in mind Chris? This is an internal optimization really, I don't expect anything js-observable to come from this.
It looked like there was a WebIDL change. Does that not need changing in the docs?
Assignee | ||
Comment 15•5 years ago
|
||
There was a chrome-only name change that is only for our automated tests.
Comment 16•5 years ago
|
||
(In reply to Andreas Pehrson [:pehrsons] from comment #15)
There was a chrome-only name change that is only for our automated tests.
OK, no worries then. Thanks for clarifying!
Description
•