Граф коммитов

2532 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] 9fed82e6f6 Bug 1290948 - Part 6: Remove some unused code. r+drno r=drno
MozReview-Commit-ID: G1uxg77wO78

--HG--
extra : rebase_source : bb8f7238bebb48251967cc453257ea6665095535
2017-08-23 16:15:11 -05:00
Byron Campen [:bwc] 7a8dcf7887 Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 7379357abe05ef043260a13faf2bcebbcd2b1d39
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc] 46f6fa03a6 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : e1a5afa85ed544ab0acac08240b6007954e289e4
2017-08-23 15:55:05 -05:00
Jesse Schwartzentruber 5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Dan Minor 14aa323f6f Bug 1406937 - Add unittests for the video-encode path through VideoConduit; r=pehrsons
MozReview-Commit-ID: 8pxdYORXmlP

--HG--
extra : rebase_source : d19427e587230acd5df751a23696255cc5d6b1bf
2017-11-24 11:38:12 -05:00
Munro Mengjue Chiang aa4f8e8705 Bug 1388219 - down scale camera output frame to the target capability. r=jib
MozReview-Commit-ID: BpAhwYrgHtA

--HG--
extra : rebase_source : 0213c8c820765898a0509ec7845c487d7fa0c230
2017-11-17 23:48:49 +08:00
Nils Ohlmeier [:drno] 0cc879cf44 Bug 1230759: Part 3 - changes to signaling to work with libsrtp 2.2 r=jesup
MozReview-Commit-ID: BHyoeIyQOJy

--HG--
extra : rebase_source : ec6260f390dfc4ba36c115426bd4ea24d9f0b340
2017-11-07 22:04:23 -08:00
Dan Minor e8f6af16d7 Bug 1406935 - Add unittests for ConfigureRecvMediaCodecs; r=pehrsons
MozReview-Commit-ID: BHeHPVmeBYm

--HG--
extra : rebase_source : be59d684fe8eabcb5515fc8399da7b6ed010135f
2017-11-16 14:13:23 -05:00
Dan Minor 574910af02 Bug 1406935 - Initialize mRembFbSet in VideoCodecConfig ctor; r=mjf
MozReview-Commit-ID: B99JXDxkoYk

--HG--
extra : rebase_source : 183a2172f6d32a029dc7d19908873bddea66c711
2017-11-22 11:48:42 -05:00
Dan Minor eaf37cc4c4 Bug 1406935 - Add unittests for ConfigureSendMediaCodec; r=pehrsons
MozReview-Commit-ID: 9yYxdOYmNtx

--HG--
extra : rebase_source : ee63d061fe14b6f0370283d2e0e56ea5a8873c70
2017-10-23 15:26:03 -04:00
Dan Minor b2e561f2b6 Bug 1406935 - Reset FEC payload types in ConfigureSendMediaCodec; r=mjf
MozReview-Commit-ID: 7z0lsof3rUm

--HG--
extra : rebase_source : 12daa5329df9de7dbb87c8bd166395dcd0d53fe2
2017-11-22 11:44:35 -05:00
Dan Minor 2953ba72a4 Bug 1406935 - Ensure maximum bitrate is at least minimum bitrate in VideoConduit; r=pehrsons
MozReview-Commit-ID: ImKXYTN7WtM

--HG--
extra : rebase_source : 4645fe9ee5f75762a692d68b3568885e96a191b7
2017-11-22 11:43:46 -05:00
Dan Minor 4c65912b7d Bug 1406935 - Add mocks for AudioStreams, VideoStreams and Call; r=pehrsons
MozReview-Commit-ID: AL0iudPJKED

--HG--
extra : rebase_source : a40c16fa6ffb3807912af0f7fbd5316a1b23ff66
2017-10-23 14:57:41 -04:00
Munro Mengjue Chiang 7afd6261d5 Bug 1418871 - release RWLock before return if CreateCapabilityMap failed. r=jib
MozReview-Commit-ID: 7wPGf4Dxjq5

--HG--
extra : rebase_source : 1bb561a454f4a26d0d8f40aa1efef7aaab1fe572
2017-11-20 15:04:42 +08:00
Tom Ritter 5e81122570 Bug 1411742 Remove the pref media.getusermedia.playout_delay and the field as they are not used anywhere r=jib
MozReview-Commit-ID: Gjbeg0zWtJ1

--HG--
extra : rebase_source : 55ad0e8f5e8ec45e7ed365ea516da9ecbc498253
2017-11-16 21:57:07 -06:00
Michael Froman cb81178b8a Bug 1414167 - Add offer/answer labels to local and remote sdp headings on about:webrtc. r=drno,smaug
Add a new |offerer| field to RTCStatsReport.
Based on offerer, label the local sdp as offer or answer.
Based on offerer, label the remote sdp as offer or answer.

MozReview-Commit-ID: 4jdWP8tpr9w

--HG--
extra : rebase_source : 5724645ef8e39c2af0c5fccf7d7872ee2cb437b5
2017-11-15 13:40:09 -06:00
Munro Mengjue Chiang 83d4da19c4 Bug 1399413 - Make VideoEngine & VideoCaptureModule singletons. r=jib
MozReview-Commit-ID: Czm0IYYpOpN

--HG--
extra : rebase_source : 7a6838c5725fd01b33c8cdde58d8e937643d8898
2017-11-02 11:25:14 +08:00
Nika Layzell b4d99baba8 Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
MozReview-Commit-ID: GIiSlDzjgWb

--HG--
extra : rebase_source : e21578e4056b1f3000ef320d2c380fd9889ca9eb
2017-11-15 11:34:27 -05:00
Andrea Marchesini 4b1b084ce7 Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
shindli 385fb3428c Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Chris Peterson 768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Andrea Marchesini 642cdd108b Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
Dan Minor f2ef09632b Bug 1376276 - Fix limiting framerate in getusermedia with screen on Windows; r=jesup
This changes code in PlatformUIThread::Run to match what was present in
ThreadWindowsUI::Run prior to the branch 49 update. With this update in place
it is possible to limit framerate on Windows again. The limit does not work
as well as on other platforms, the actual framerate seems to be 1.5x to 2x
the request value on the systems I have tested. That was also the case prior
to the branch 49 update.

MozReview-Commit-ID: W5xnWfkaET

--HG--
extra : rebase_source : dc4422864306063e83e6e1f4a7d51a0d97cbf1c6
2017-10-27 11:45:57 -04:00
huangwenjun 4d46bb2355 Bug 1223312 - Part 2: Disable Noise reduction same as ARM. r=jesup
--HG--
extra : rebase_source : 4f06c862e6f019587717c7be19d2085c9047e80d
2017-11-08 18:33:00 -05:00
huangwenjun adc74c715f Bug 1223312 - Part 1: Enable webrtc on MIPS64 platforms by default. r=drno, r=jesup, r=ted
--HG--
extra : rebase_source : 4bda2b90dc957d93e92edc6f36d10997608617d4
2017-11-08 18:30:00 -05:00
Dan Minor 93e787c563 Bug 1414632 - Prevent division by zero in webrtc::Merge::SignalScaling; r=jesup
A zero input_length here would be caused by a decoder error in
NetEqImpl::Decode(). Looking at the code in GetAudioInternal() which calls
Decode() it appears that the intention is to continue processing even if no new
audio data is decoded. Based on this, it seems safest to just skip muting in
SignalScaling if the input_length is zero.

The other potential cause of a division by zero here is if fs_mult_ is zero which
should not normally happen. But there's no harm in checking for that as well.


MozReview-Commit-ID: J0pd2wbjeZl

--HG--
extra : rebase_source : 5206abd1f85986d395a7eead148cb06d1d050842
2017-11-08 12:39:53 -05:00
Nika Layzell c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell 3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Randell Jesup 97cdc0cf7f Bug 1408523 - Use SyncRunnable instead of Dispatch(...NS_DISPATCH_SYNC) when running on non-nsThreads. r=jib
--HG--
extra : rebase_source : 3b80f942f75e7c36b8f753d09d095793fc440cb8
2017-10-24 00:16:29 -04:00
Sylvestre Ledru 3465611f71 Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor
MozReview-Commit-ID: 83U02hqgW6d

--HG--
extra : rebase_source : 5baf00d2a8a3ad239981bb1774743980e3dbc0a6
2017-11-05 16:56:19 +01:00
Michael Froman 7eb5cd2f86 Bug 1413709 - add tests to detect improper ice restart by answer. r=bwc
Adding tests that would have shown the issue fixed in Bug 1405940.
If the answer during a renegotiation has modified ICE credentials,
it should cause an error.  These tests check for that error.

MozReview-Commit-ID: 9u8GGpslDdK

--HG--
extra : rebase_source : 6b204cefa96e95abd61d9a57ddd643dd81a41254
2017-11-01 11:56:35 -05:00
Jean-Yves Avenard 96d64e1c44 Bug 1392961 - Add preference to make VP9 the preferred video codec. r=jesup
Behaviour is controlled through the media.navigator.video.vp9_preferred preference.

MozReview-Commit-ID: J06ArFYNmTk

--HG--
extra : rebase_source : a25bd4783fde0acf8291ee440745a619d3fa7db8
2017-10-19 15:18:51 +02:00
Jim Chen ec08814aaa Bug 1406168 - 2. Remove AndroidJNIWrapper; r=snorp
Remove AndroidJNIWrapper. It was primarily used by JNI.jsm and WebRTC.
Usages in WebRTC are replaced with equivalent uses of JNI templates.

MozReview-Commit-ID: DPSeMOtH2wF
2017-11-01 14:48:48 -04:00
Andrew Gaul 7ee6e2a506 Bug 1382049 - Make inner classes static when possible. r=nalexander, r=sebastian
This avoids an implicit this field and can help GC. Found via error-prone.

--HG--
extra : rebase_source : 6d91bfcb98a05c94c13fc41fd0b5b14f1404ddcf
2017-07-18 16:51:30 -07:00
Nils Ohlmeier [:drno] daf7230f6d Bug 1411498: delete unused sipcc states. r=bwc,smaug
MozReview-Commit-ID: DnJrQk4hkYb

--HG--
extra : rebase_source : c615899389154cca4eecdbd6e332986837451d26
2017-10-24 23:40:02 -07:00
Andi-Bogdan Postelnicu b5bdcb596f Bug 1411605 - don't memset the entire mCodecSpecificInfo. r=dminor
MozReview-Commit-ID: DEJXdfAuZrl

--HG--
extra : rebase_source : 6ebbf8191d02e8b55bf05e9a0df1a47586defbf6
2017-10-26 12:20:26 +03:00
Attila Craciun 0cab95ab0f Merge inbound to mozilla-central r=merge a=merge 2017-10-26 12:20:45 +03:00
Nathan Froyd 01b0ad5257 Bug 1411694 - add an override declaration in WebrtcMediaCodecVP8VideoCodec; r=jesup
We have override declarations for lots of other overriden virtual
functions, but not this one.
2017-10-25 16:00:54 -04:00
Munro Mengjue Chiang eba2fd4463 Bug 1409643 - call GetWindowTextLength() for visble window only. r=jib
MozReview-Commit-ID: CKl1mwV7YHw

--HG--
extra : rebase_source : fe743f735c8c1935d0042279e70d15b289189107
2017-10-19 18:03:05 +08:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Sylvestre Ledru d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
bechen@mozilla.com c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Dan Minor 20baeb4811 Bug 1404039 - Add a unittest for VideoConduit getting a signal to reduce quality due to load or bandwidth; r=pehrsons
MozReview-Commit-ID: 5J3wINSnStR

--HG--
extra : rebase_source : 0c9518c0501ca579ed9d948bde63159c21d9657c
2017-10-18 15:19:21 -04:00
Jean-Yves Avenard 858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Sebastian Hengst 24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Dan Minor 5168e78250 Bug 1402334 - Fix static analysis warning in CSFLog.cpp; r=drno
MozReview-Commit-ID: 2m1nKxCsxwg

--HG--
extra : rebase_source : 88b50248bf4b065af5bd893c660bf27ab40dc6dd
2017-10-16 09:03:04 -04:00
Dan Minor 0fd69c4f78 Bug 1408582 - Fix unused variable warning in CSFLog.cpp on Android; r=drno
MozReview-Commit-ID: 2PZyw40eMaF

--HG--
extra : rebase_source : 96f6460593afcfa5bc16ba9cfdb9244965ec6210
extra : amend_source : f18bd495180bbd2d3031fa226433e8f2f29e4a6e
2017-10-16 12:44:26 -04:00
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Nils Ohlmeier [:drno] 8fd8af4c1b Bug 1408371: report AEC log dir through getter. r=ng,smaug
MozReview-Commit-ID: 1Tb8nwYzMFt

--HG--
extra : rebase_source : e44b90749667961771d573da3b9e6d65b3bf554c
2017-10-13 17:57:15 -07:00
Dan Horák a098eb0deb Bug 1408504 - Implement WriteSamples in tests for big endian platforms; r=dminor
Webrtc code supports big endian platforms, but a method in tests lacks a big endian
variant. Add it based on WavReader/WavWriter code.

MozReview-Commit-ID: A4OTnYlGgvU

--HG--
extra : rebase_source : f331c799cea89e6090fd02269d3ee8728cbeca45
2017-10-17 10:27:12 +00:00