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

5266 Коммитов

Автор SHA1 Сообщение Дата
Dan Glastonbury 11c2d37f9d Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r=kinetik
MozReview-Commit-ID: GN5POBqy56W

--HG--
extra : rebase_source : 0af5972b29c2209beef82ef109e0b5f10613848e
2017-04-27 10:51:52 +10:00
Ralph Giles fcb2bf2018 Bug 1369950 - Update aom. r=gerald
Update our in-tree copy of the aom reference implementation
of the av1 video codec to upstream git commit id
aadbb0251996c8ebb8310567bea330ab7ae9abe4.

This picks up recent changes and addresses a build issue on win64.

MozReview-Commit-ID: 34LXXzFtEFN

--HG--
extra : rebase_source : 0face926928de6bd1c6a1726df912bd20e363e60
2017-05-10 14:16:55 -07:00
Masatoshi Kimura 7713108b41 Bug 1370062 - turn off more warnings in ffvpx. r=rillian
MozReview-Commit-ID: JqG9XXxBQfv

--HG--
extra : rebase_source : 089cde35ba41b5520e02bc03151c4cfe760c7184
2017-06-04 17:42:50 +09:00
Paul Adenot 08dd28ea34 Bug 1369967 - Remove one use of a stack-allocated buffer and fix another buffer's size. r=jesup
Two things here:
- The default stack size of the thread pool is not very big, it's better to
stick the buffer we need on the object.
- There was a unit mismatch between bytes and samples. This changes the name to
make the unit more obvious, and fixes its usage by dividing by the sample size.

MozReview-Commit-ID: 19bbS6iGvTw

--HG--
extra : rebase_source : bb5c2c074b8c1c3d69e002c8d82f4f72cc57582d
2017-06-05 11:42:43 +02:00
Jean-Yves Avenard fe9bd75acb Bug 1367128: P2. Add methods to trim index. r=gerald
The MoofParser's used by the MP4Demuxer, can grow very large as it keeps adding new tables and is never reset.

Once we have demuxed all data present in the MP4 media segment, we no longer require the samples table for that media segment and we can drop it from the index.

Unfortunately. some websites (in particular some using live video) use media segments containing a single sample in order to (incorrectly) reduce latency. While this is a very bad approach from a performance perspective it does happen in the wild.

MozReview-Commit-ID: I66jxcScmKM

--HG--
extra : rebase_source : d0029b74df94b92dc0a115c77f6e560b30e5ed5c
2017-06-02 21:15:10 +02:00
Jean-Yves Avenard 1e3d2193d7 Bug 1367128: P1. Remove unused member. r=alwu
MozReview-Commit-ID: 1SQaAdePmyf

--HG--
extra : rebase_source : 41418340e20f42bf6ff669a02d43ab0b4a3ee2fa
2017-06-02 18:07:36 +02:00
Gerald Squelart 7e4d1255aa Bug 1369326 - Make mp4_demuxer::ResourceStream use a MediaResourceIndex - r=cpearce
Access the MediaResource through a MediaResourceIndex, which brings caching
reads (and therefore can avoid some of the repeated locking and IOs from
consecutive read operations).

MozReview-Commit-ID: Crk6ZgLWdw8

--HG--
extra : rebase_source : 9cc8c3577747829e8bd5931e9f48c782d6423fe6
2017-05-31 18:17:37 +12:00
Masatoshi Kimura a39099bca1 Bug 1166955 - Stop including nsAutoPtr.h from BasePin.cpp. r=jesup
MozReview-Commit-ID: CCvJyVmH1JI

--HG--
extra : rebase_source : 72cf22b38f7c4d3ef5c315351f0eca942345b752
2017-06-03 17:59:29 +09:00
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd a98cff2fb4 Bug 1369791 - turn off more warnings for ffvpx; r=rillian 2017-06-02 17:07:17 -04:00
Randell Jesup ae21d19935 Bug 1353030: document use of WrapRunnable(this) r=cpearce
MozReview-Commit-ID: Fb3KjsI9tE3
2017-06-02 16:36:34 -04:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Jim Chen 858e777c78 Bug 1369108 - 3. Implement new device permission code path for Fennec; r=esawin
Instead of asking for permission in VideoCaptureDeviceInfoAndroid.java,
we now merely check for permission there. The actual permission prompt
now happens in WebrtcUI.js, using the new
"getUserMedia:ask-device-permission" and
"getUserMedia:got-device-permission" notifications.

MozReview-Commit-ID: DSVPjjW2JNR
2017-06-02 16:11:53 -04:00
Jim Chen 9798dcedbb Bug 1369108 - 2. Refresh Android camera list when necessary; r=jesup
Currently, if permission is first denied, the list of cameras is empty.
However, if permission is later granted, the list stays empty because we
never try to refresh the list. This patch causes us to refresh the list
when necessary.

MozReview-Commit-ID: 5eodPCWVyaP
2017-06-02 16:11:53 -04:00
Nils Ohlmeier [:drno] 9406837246 Bug 1367930: adjust ssrc's and encondings as simulcast answerer. r=bwc
MozReview-Commit-ID: EPdIWF5nn7u

--HG--
extra : rebase_source : 5301c7541f1f2d2eeac37f5b0545ad83e71d8e46
2017-05-27 00:04:55 -07:00
Nils Ohlmeier [:drno] f8f118d912 Bug 1335262: read and emit datachannel max-message-size. r=jesup
MozReview-Commit-ID: HwaoshovZIS

--HG--
extra : rebase_source : c1c171c53e5433607083dcd88fc9de0820e3382f
2017-05-31 20:58:53 -07:00
Randell Jesup 712586b20b Bug 1369724: Fix setting size for fake H264 codec r=jya
From bug 1341285

MozReview-Commit-ID: E6g6phiQC5H
2017-06-02 09:59:36 -04:00
Nils Ohlmeier [:drno] 8cb88eaf14 Bug 1176415: verify absence of SSRC's in data channel m-sections. r=bwc
MozReview-Commit-ID: ADstE36mzzu

--HG--
extra : rebase_source : 4f94e662bb931ed7d5b87a7658a78d19ad450976
2017-06-01 11:29:07 -07:00
Nils Ohlmeier [:drno] b922e0c78a Bug 1176415: stop adding ssrc's to data channel m-sections. r=bwc
MozReview-Commit-ID: H7tiJ9YRThQ

--HG--
extra : rebase_source : ac638a15838cef16d9c614ca7eb677960e38df2f
2017-05-31 22:13:04 -07:00
Alfredo Yang 385ae73922 Bug 1367508 - Update rust parser to limit table size in case of OOM. r=kinetik
MozReview-Commit-ID: H5dAp12Hnbn

--HG--
extra : rebase_source : 0b8189c6c62a14476c4c6f3ebb699757258a6008
2017-06-01 10:27:48 +08:00
Jean-Yves Avenard 8902ac6e16 Bug 1313398: P5. Do not parse encrypted data. r=gerald
The encrypted data is nonsensical as far as the parsing of NALs is concerned.

MozReview-Commit-ID: Hm1fJf6h2S7

--HG--
extra : rebase_source : b32f56d748ad33afbd227379c1639a5aa449fb84
2017-06-01 13:37:35 +02:00
Jean-Yves Avenard 097f5acf02 Bug 1313398: P2. Always check for SPS/PPS inband. r=gerald
Ignore the known out of band extradata.

MozReview-Commit-ID: 8ARjrTtxhwY

--HG--
extra : rebase_source : 16d8d3ca9eb4663ec94ec804c290ea0409fbeea4
2017-05-31 16:15:45 +02:00
Jean-Yves Avenard f6be4845be Bug 1369313: Remove PPS related code. r=alwu
It is no longer needed.

MozReview-Commit-ID: DeD8893ES2p

--HG--
extra : rebase_source : df22efbf6c5b17cb7bf63b5e50cb495002b58b1c
2017-06-01 11:19:59 +02:00
Gerald Squelart 3c84151dc6 Bug 1364828 - Use nsTArray (with fallible append) in mp4_demuxer::ByteWriter - r=jya
mfbt's Vector is actually infallible by default, so it would crash in case of
OOM. I'm switching to nsTArray, and using fallible AppendElements in
ByteWriter.

MozReview-Commit-ID: F7TBpCyIlg

--HG--
extra : rebase_source : 54f21d3c6ddb99cb8f83f86a08e2aecf7ce36a31
2017-06-07 14:21:09 +12:00
Masatoshi Kimura 2ccb684d0c Bug 1279593 - Add /arch:AVX or /arch:AVX2 to compile some files under media/libvpx. r=ted.mielczarek
MozReview-Commit-ID: CDXWpG4058E

--HG--
extra : rebase_source : dda30eeb18671eb5e9b3418bac4079fdd7632b6d
2017-06-06 20:31:34 +09:00
Carsten "Tomcat" Book bd7620cf36 Merge mozilla-central to mozilla-inbound 2017-06-13 12:11:42 +02:00
Randell Jesup 6b92cb978e Bug 1341285: Fix bustage on android due to merge failure r=bustage 2017-06-13 02:33:20 -04:00
Randell Jesup 450c4d90a1 Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor
Includes re-importing gyp files removed from upstream in v56, and then
updating them to match the BUILD.gn file changes.

--HG--
rename : media/webrtc/trunk/webrtc/call/audio_send_stream.cc => media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc
2017-06-13 01:54:13 -04:00
Randell Jesup c2dfe0a8c9 Bug 1341285: Webrtc updated to branch 57 rev 52b6562a10b495; initial pull made Feb 2 2017 14:38 EST
Pull updated from 71394677e4dc343ca5c0f996037207a9bd9616c9 to 52b6562a10b495 in late May

--HG--
rename : media/webrtc/trunk/webrtc/base/iosfilesystem.mm => media/webrtc/trunk/webrtc/base/applefilesystem.mm
rename : media/webrtc/trunk/webrtc/test/testsupport/gtest_prod_util.h => media/webrtc/trunk/webrtc/base/gtest_prod_util.h
rename : media/webrtc/trunk/webrtc/base/exp_filter.cc => media/webrtc/trunk/webrtc/base/numerics/exp_filter.cc
rename : media/webrtc/trunk/webrtc/base/exp_filter.h => media/webrtc/trunk/webrtc/base/numerics/exp_filter.h
rename : media/webrtc/trunk/webrtc/base/exp_filter_unittest.cc => media/webrtc/trunk/webrtc/base/numerics/exp_filter_unittest.cc
rename : media/webrtc/trunk/webrtc/base/rtccertificate_unittests.cc => media/webrtc/trunk/webrtc/base/rtccertificate_unittest.cc
rename : media/webrtc/trunk/webrtc/common_audio/swap_queue.h => media/webrtc/trunk/webrtc/base/swap_queue.h
rename : media/webrtc/trunk/webrtc/common_audio/swap_queue_unittest.cc => media/webrtc/trunk/webrtc/base/swap_queue_unittest.cc
rename : media/webrtc/trunk/webrtc/audio_receive_stream.h => media/webrtc/trunk/webrtc/call/audio_receive_stream.h
rename : media/webrtc/trunk/webrtc/audio_state.h => media/webrtc/trunk/webrtc/call/audio_state.h
rename : media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/h264_bitstream_parser_unittest.cc => media/webrtc/trunk/webrtc/common_video/h264/h264_bitstream_parser_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/h264_sps_parser_unittest.cc => media/webrtc/trunk/webrtc/common_video/h264/sps_parser_unittest.cc
rename : media/webrtc/trunk/webrtc/frame_callback.h => media/webrtc/trunk/webrtc/common_video/include/frame_callback.h
rename : media/webrtc/trunk/webrtc/call/rtc_event_log.proto => media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log.proto
rename : media/webrtc/trunk/webrtc/video/video_decoder.cc => media/webrtc/trunk/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc
rename : media/webrtc/trunk/webrtc/video/video_encoder_unittest.cc => media/webrtc/trunk/webrtc/media/engine/videoencodersoftwarefallbackwrapper_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.h => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.h => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack.h => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_mips.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_mips.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/histogram.h => media/webrtc/trunk/webrtc/modules/audio_processing/agc/loudness_histogram.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/test/audio_processing_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_unittest.cc
rename : media/webrtc/trunk/webrtc/test/common_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_processing/config_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_mips.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_mips.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_sse2.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_sse2.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios_objc.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios_objc.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/rtc_video_capture_ios_objc.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/rtc_video_capture_objc.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/rtc_video_capture_ios_objc.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/rtc_video_capture_objc.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/video_capture_ios.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/video_capture.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc => media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc
rename : media/webrtc/trunk/webrtc/p2p/base/constants.cc => media/webrtc/trunk/webrtc/p2p/base/p2pconstants.cc
rename : media/webrtc/trunk/webrtc/p2p/base/constants.h => media/webrtc/trunk/webrtc/p2p/base/p2pconstants.h
rename : media/webrtc/trunk/webrtc/base/objc/NSString+StdString.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/NSString+StdString.h
rename : media/webrtc/trunk/webrtc/base/objc/NSString+StdString.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/NSString+StdString.mm
rename : media/webrtc/trunk/webrtc/base/objc/RTCCameraPreviewView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCCameraPreviewView.m
rename : media/webrtc/trunk/webrtc/base/objc/RTCDispatcher.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCDispatcher.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCEAGLVideoView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceServer+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceServer.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLegacyStatsReport+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLegacyStatsReport.mm
rename : media/webrtc/trunk/webrtc/base/objc/RTCLogging.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaStreamTrack+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCNSGLVideoView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCOpenGLVideoRenderer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCSessionDescription+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCSessionDescription.mm
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.cc
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu_unittest.cc
rename : media/webrtc/trunk/webrtc/base/objc/RTCCameraPreviewView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h
rename : media/webrtc/trunk/webrtc/base/objc/RTCDispatcher.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDispatcher.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCEAGLVideoView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h
rename : media/webrtc/trunk/webrtc/base/objc/RTCLogging.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLogging.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaStreamTrack.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCNSGLVideoView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCVideoFrame.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCVideoRenderer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoRenderer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
rename : media/webrtc/trunk/webrtc/api/objctests/RTCIceCandidateTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCIceServerTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCIceServerTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCMediaConstraintsTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCSessionDescriptionTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCSessionDescriptionTest.mm
rename : media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_mac.cc => media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_darwin.cc
rename : media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_posix.cc => media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc
rename : media/webrtc/trunk/webrtc/video/full_stack_plot.py => media/webrtc/trunk/webrtc/video/full_stack_tests_plot.py
rename : media/webrtc/trunk/webrtc/call/transport_adapter.cc => media/webrtc/trunk/webrtc/video/transport_adapter.cc
rename : media/webrtc/trunk/webrtc/call/transport_adapter.h => media/webrtc/trunk/webrtc/video/transport_adapter.h
rename : media/webrtc/trunk/webrtc/modules/utility/source/file_player_unittests.cc => media/webrtc/trunk/webrtc/voice_engine/file_player_unittests.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/channel_transport.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/channel_transport.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/channel_transport.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/channel_transport.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/traffic_control_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/traffic_control_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/traffic_control_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/traffic_control_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_manager_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_manager_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_posix.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_posix.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_wrapper.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_wrapper.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_posix.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_posix.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_posix.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_posix.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper_unittest.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_impl.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_impl.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_impl.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc
2017-06-13 01:52:22 -04:00
Ryan VanderMeulen b9fe830aa0 Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-31 14:32:55 -04:00
Dan Minor f7fe01502f Bug 1354350 - libyuv should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix from Bug 1354207 to the libyuv moz.build.

--HG--
extra : rebase_source : 006b869166a0c361fb006226a3769fb975b3dcb7
extra : amend_source : a3f9336cd38d07e37c31ec4f3f0614dee89cb1ed
2017-05-30 15:33:55 -04:00
Dan Minor f17b41d15d Bug 1354353 - nICEr and nrappkit should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix used in Bug 1354207 for webrtc to nICEr and nrappkit.

--HG--
extra : rebase_source : d3f1370c9100ca66272611348c1b3462e65cdfaf
2017-05-30 12:37:29 -04:00
Alex Chronopoulos 4c1cef4cb9 Bug 1368910 - Update cubeb from upstream to 3428c2b. r=kinetik
MozReview-Commit-ID: FIUMIri84Wr
2017-05-31 07:59:22 +03:00
Alfredo Yang 371305491a Bug 1368850 - fix warning message about enumeration value 'mp4parse_codec_MP4V' not handled. r=gerald
MozReview-Commit-ID: 9z6DMh872QR

--HG--
extra : rebase_source : 673b519119cbdd2d46ae20932be67b2ecc3916dc
2017-05-31 15:38:00 +08:00
Carsten "Tomcat" Book b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Dan Glastonbury 9224fdaf13 Bug 1367646 - Update cubeb from upstream to 087dc94. r=kinetik
MozReview-Commit-ID: E1D2XCtugqW

--HG--
extra : rebase_source : 20d630e763aa840d1a07e0edf128206dd8b679e8
2017-05-25 14:45:04 +10:00
Petr Sumbera acc89e9d56 Bug 1367775 - libstagefright build should avoid _GLIBCXX_OS_DEFINES on Solaris. r=gerald 2017-05-29 00:36:19 -07:00
Nico Grunbaum e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
Phil Ringnalda 93e4bc0075 Backed out 2 changesets (bug 1363669) for stagefright_MPEG4Metadata.test_case_mp4 gtest failures
Backed out changeset 92c5898618c2 (bug 1363669)
Backed out changeset be3f9be99903 (bug 1363669)

MozReview-Commit-ID: 37We5EdBTQ4
2017-05-25 22:15:27 -07:00
Alfredo Yang 9a47aeaf13 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 3873af0c56 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Jim Chen e7f79e098e Bug 1363885 - 2. Remove ViERenderer dependency on orientation listener; r=snorp
ViERenderer is not used anywhere but has a couple calls to the obsolete
GeckoAppShell orientation listener. The entire ViERenderer.java file is
getting removed in the upcoming WebRTC update, so we should just go
ahead and remove those lines.

MozReview-Commit-ID: AwG7dBg5MV8
2017-05-25 18:33:30 -04:00
Alfredo Yang 735198aa6d Bug 1363669 - update gtest about 'mp4v' video parsing. r=kinetik
MozReview-Commit-ID: 12taLJSJgVm

--HG--
extra : rebase_source : 2b45da30224d433b8c76d255815cbb185196bfd6
2017-05-26 17:05:39 +08:00
Alfredo Yang a87d972281 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 0725d6f5e0 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Alfredo Yang 55d6ddef12 Bug 1365872 - remove parsing mp4v mCodecSpecificConfig which is for b2g. r=jya
MozReview-Commit-ID: G3l6AtEH0hO

--HG--
extra : rebase_source : bad9f7ae16715acb53826a494203cd7bbee138b3
2017-05-18 16:54:43 +08:00
Ralph Giles 1951777591 Bug 1367208 - Update to libopus 1.1.5. r=kinetik
This fixes a quality issue with the surround-sound encoder
handling loud signals.

MozReview-Commit-ID: EkzEqs9io6N

--HG--
extra : rebase_source : 15e31af6865f0726beae0a988cb986bd182bac8e
2017-05-23 13:38:45 -07:00
Nils Ohlmeier [:drno] 411dd4acd1 Bug 1366581: offer bundle support for single m-section. r=bwc
MozReview-Commit-ID: DYmjCmV1fKF

--HG--
extra : rebase_source : 1d9e60663e11261f4ef8fd578de149f9b9517910
2017-05-22 18:42:12 -07:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Alex Chronopoulos 9281e65d26 Bug 1366707 - Update cubeb from upstream to 96cdb17. r=kinetik
MozReview-Commit-ID: 3aiEtrl289U

--HG--
extra : rebase_source : 16ebdb2e20fc516047cc8f4974d6c9e6ec638fcb
2017-05-23 11:29:33 +03:00
Bruce Sun 04ae73ea81 Bug 1358023: (1/2) Refactor the dependency between libpng and freetype2; f=jfkthame, r=glandium
This refactor is for exposing necessary symbols of libpng for freetype2 in a
general way. Currently the necessary symbols of libpng for freetype2 are
exposed only on Android. And whether these symbols are exposed solely depends
on the target platform checking. A better way to decide whether or not to
expose these symbols would be checking the dependency of freetype2 directly.
2017-05-22 12:00:33 +08:00
Michael Froman da7254ecbf Bug 1339906 - pt 5 - add writable field to webidl for RTCIceCandidatePairStats and implement readable and writeable fields. r=drno,qdot
MozReview-Commit-ID: 6IODhX5mtnP

--HG--
extra : rebase_source : 30245be09b3b4bf057672cceb2d90d3393da035c
2017-06-06 17:33:02 -05:00
Michael Froman 1b76f106fd Bug 1339906 - pt 4 - add last sent and received timestamps to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: GE23lS7qs9n

--HG--
extra : rebase_source : 5b39e4232258eca1807d3c962a2ed40c2724822b
2017-06-06 17:36:40 -05:00
Michael Froman eb58727687 Bug 1339906 - pt 3 - change componentId to transportId to match RTCIceCandidatePairStats spec. r=drno,qdot
MozReview-Commit-ID: Jfc2BOMt98v

--HG--
extra : rebase_source : db7bca1a23cc2f46cce778dd0638182cc1143791
2017-06-06 16:59:18 -05:00
Michael Froman 69f85fff44 Bug 1339906 - pt 1 - Add bytesSent and bytesReceived to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: BQGPTUzRCB3

--HG--
extra : rebase_source : cd2abb970a07479c8425a13d12fc0fbaa487b00e
2017-06-06 16:30:56 -05:00
Michael Froman 55d8a7bd34 Bug 1368159 - change log statement for pre-existing local addresses from error to warning in nr_ice_set_local_addresses. r=drno
When I added this check during the modifications for Bug 1345511 (Move
nICEr stun local address discovery to an IPC call to enable future
sandbox restrictions on content process) I originally thought this was
more of an error condition, but it really isn't.  It can happen each
time the following method(s) is called:
  PeerConnectionMedia::EnsureTransports() ->
    GatherIfReady() ->
      EnsureIceGathering_s()

MozReview-Commit-ID: Ct3teqXBxWd

--HG--
extra : rebase_source : a116a8423fd999c4746e9375b8f42a6d908a1ea7
2017-06-07 13:38:46 -05:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Nils Ohlmeier [:drno] edfc95cb55 Bug 1338521: don't over-write remote SSRC with random value r=jesup
MozReview-Commit-ID: CEZnuzxeHkz

--HG--
extra : rebase_source : 6541a71ca473af08075895e047218460e8407a2f
2017-04-28 16:00:06 -07:00
Nils Ohlmeier [:drno] 652aa12a75 Bug 1361206: warn about non-matching RTP header extension IDs. r=bwc
MozReview-Commit-ID: DLG5ICBydAK

--HG--
extra : rebase_source : dfc81395d47ddd25c9347e94e6cf630d727cdd43
2017-05-01 21:02:53 -07:00
Nils Ohlmeier [:drno] 4dd7f2dc11 Bug 1365090: use target bitrate instead of max for simulcast. r=bwc
MozReview-Commit-ID: GThcXHHnoCV

--HG--
extra : rebase_source : 352a82ad81858782898a10440ff77b4891af6a60
2017-05-16 16:15:04 -07:00
Nils Ohlmeier [:drno] 4d8185fc04 Bug 1365090: clear RID vector when reconfiguring send media codec. r=jesup
MozReview-Commit-ID: Bs5Cihjt8fV

--HG--
extra : rebase_source : 0e423cdf7b82ecca29aecc2c72601005b56786cd
2017-05-15 21:47:34 -07:00
Jean-Yves Avenard 410447cfc4 Bug 1365227: P2. Enforce that ExtractExtra data works on AVCC only. r=JamesCheng
MozReview-Commit-ID: ox5oaDvdfx

--HG--
extra : rebase_source : cb3386502b0e400543e9a2e6c8dd15c594377847
2017-05-16 14:51:24 +02:00
Jean-Yves Avenard dd9e7bd359 Bug 1365227: P1. Create AVCC header for converted annexB. r=JamesCheng
Otherwise AnnexB::IsAVCC will return false on those converted samples.

MozReview-Commit-ID: 6OBV6L49InL

--HG--
extra : rebase_source : b4c315583392cfe455d0932f4345a8a02e367f2f
2017-05-16 14:22:43 +02:00
Nathan Froyd c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Sebastian Hengst 819d69e9f8 Backed out changeset bbea5fa74727 (bug 1361984) on request from jya. r=backout a=backout
MozReview-Commit-ID: DxCysbtslYA
2017-05-14 21:38:48 +02:00
Nils Ohlmeier [:drno] 0f4a3fb4f5 Bug 1364325: replace AddLocalRTPExtensions with SetLocalRTPExtensions. r=bwc
MozReview-Commit-ID: G98AVhWA5FU

--HG--
extra : rebase_source : 4d24e3814adf60fc188e050760fc07a4010a9b15
2017-05-11 23:08:37 -07:00
Ralph Giles 72c31d122b Bug 1364237 - aom: Enable YASM for intel cpus. r=froydnj
I had removed the USE_YASM define in porting the libvpx
moz.build to libaom, to avoid depending on VPX_USE_ASM.
Turns out USE_YASM is a magic context define, without which
the build won't compile libaom's yasm-format .asm files,
so we need to define it for the two intel architecture
source sets.

Restore the define unconditionally for intel targets.
We require yasm in the default build for those targets,
and want to fail if it isn't available to block performance
regressions.

MozReview-Commit-ID: CqGtY8RNLNf

--HG--
extra : rebase_source : ccc7f9dfc467642d9e4c623c55e54e769fb38f2f
2017-05-11 15:31:50 -07:00
Ralph Giles 105c65063a Bug 1364237 - aom: Remove obsolete 32-bit macOS build config. r=froydnj
We no longer support 32-bit x86 macOS, and
these flags point to configurations we
don't generate.

MozReview-Commit-ID: 3mIfHCf6aUj

--HG--
extra : rebase_source : 35b5089ade7f9d5d03e5f4d3f0760cc969b4b8c7
2017-05-11 13:56:51 -07:00
Nils Ohlmeier [:drno] 9b6b4c7751 Bug 1363563: remove and erase existing header extensions. r=mjf
MozReview-Commit-ID: IzVEaOhLNwR

--HG--
extra : rebase_source : 0574353c3f0be051fe766090802a5d91d41077e9
2017-05-10 16:19:40 -07:00
Michael Froman d13f3ad75f Bug 1361139 - pt 2 - remove test-related SSRC filtering from MediaPipeline. r=drno
Now that RID filtering (Bug 1358224) has fixed the intermittant oranges
from Bug 1351531 and 1351590, remove the functionality from MediaPipeline.

MozReview-Commit-ID: 1rED3iaHRCK

--HG--
extra : rebase_source : 5539f9badc99a8abfcf5419b436718233e9ab567
2017-05-05 17:32:01 -05:00
James Cheng bbc9597929 Bug 1361984 - Fix the logic of AnnexB::ConvertSampleToAnnexB that checks the sample's extradata field even the sample is AVCC format converted by ConvertSampleToAVCC from AnnexB format. r=jya
MozReview-Commit-ID: C5cAlvRwkYj

--HG--
extra : rebase_source : 58e0ea5939446f21395a417ce23ffd2b91f5d83c
2017-05-11 16:43:12 +08:00
Munro Mengjue Chiang 6856ba9b3d Bug 1363259 - set min and max fps through AVCaptureConnection. r=jib
MozReview-Commit-ID: 4GY1gOICLqU

--HG--
extra : rebase_source : 97b50fa34186f9c92f0d01e1d486137b5159a8bd
2017-05-09 10:28:31 +08:00
Ralph Giles f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Andrea Marchesini 667a1e29ae Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug 2017-05-09 22:41:19 +02:00
Alex Chronopoulos 517b0f8cbf Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03:00
Andrea Marchesini 11d4a9bf51 Bug 1363102 - Add a error check of Location::ToString in PeerConnectionImpl.cpp, r=mystor 2017-05-08 19:48:03 +02:00
Andrea Marchesini a67a0a31e8 Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Ralph Giles 59ccc608ee Bug 1314147 - Generate build description for libaom. r=froydnj,kinetik
Result of running generate_sources_mozbuild.sh.

MozReview-Commit-ID: DFmYUs5LRlG

--HG--
extra : rebase_source : 5360198dfe600017d4c5f624cdefe569cdfccc9e
2017-04-14 10:36:43 -07:00
Ralph Giles a3714d238c Bug 1314147 - Port the libvpx mozbuild generator to aom. r=froydnj,kinetik
This is a port of the libvpx scripts, themselves a port of
Chromium's scripts to generate an external build description
using hooks in the upstream configure and make scripts.
The libaom library is a fork of libvpx so we can use a similar
approach.

I've put the upstream source in $(topsrc_dir)/third_party/aom
but the build description and any patches are under the media
directory with the other codecs, similar to how zlib works.

Config files and headers generated by the upstream build system
are also under $(topsrc_dir)/media/libaom/.

MozReview-Commit-ID: ATLgOTPD2i1

--HG--
extra : rebase_source : c0fdcdb41a5bac5fdf64f773458cb62937fc9dd8
2017-04-12 17:01:43 -07:00
Carsten "Tomcat" Book b5f09cc95b Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Alfredo Yang 9006749e49 Bug 1336271 - ignore ftyp box when parsing mp4 metadata. r=jya
MozReview-Commit-ID: IarGzXtmGQ2

--HG--
extra : rebase_source : 0926bda331f491f9b14ab8da18be29d1a1b5e6da
2017-05-03 16:55:00 +08:00
Dan Glastonbury 4f5a7952ca Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s

--HG--
extra : rebase_source : 72b3370258affb14dfa2754b1816eea13a4d1e2e
2017-04-27 10:06:33 +10:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
Jim Chen 5b467557ab Bug 1357873 - Fix format warning in webrtc; r=jesup
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Jim Chen 55f9cd162e Bug 1357873 - Fix format warning in omx-plugin; r=cpearce
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Michael Froman 4e635ff251 Bug 1358224 - pt 3 - fix leak in RTPHeaderExtension's rid char buffer. r=drno
Turns out since Firefox doesn't receive simulcast streams, we never
noticed this leak.  Convert RTPHeaderExtension.rid from a char* to
rtc::scoped_ptr<char[]> so it gets deleted properly.  This also
requires a new copy constructor and assignment operator.

MozReview-Commit-ID: Jh4Gp4dAl9g

--HG--
extra : rebase_source : 8c1081fecd6e56a8f932af54fbd294adb85866f5
2017-04-27 12:27:02 -05:00
Michael Froman efa82b57bc Bug 1358224 - pt 2 - change to RTP stream id filtering on simulcast mochitests. r=drno
The simulcast mochitests setup the receiving PeerConnection to receive
simulcast video streams which Firefox doesn't really support.  Without
a test media server, this is about the best we can do and still test
simulcast.

Unfortunately the two simulcast streams arriving with different ssrcs
(as expect) exercises code we have to deal with some services switching
ssrcs midstream.  In the tests, this causes intermittent failures
because the test is waiting to receive a certain ssrc, and the receiving
VideoConduit has switched to the other ssrc.

This change adds the ability to filter on RID at the MediaPipeline level,
which we can setup prior to media flowing.  This avoids the ssrc switching
issue since the VideoConduit only receives one ssrc until we change the
RID filter to the second RID.  At that point, the VideoConduit sees a new
ssrc and the switching code works as intended.

The modified mochitests setup the RTP stream id header extension, and then
filter on each of the RTP stream ids in turn.

MozReview-Commit-ID: KApfaxMX8rl

--HG--
extra : rebase_source : d7ae88d9675acd7b3700f342ca6a68d0bbb0ced5
2017-04-26 10:51:00 -05:00
Michael Froman c526c139fc Bug 1358224 - pt 1 - addRIDExtension and addRIDFilter chrome-only API for RID (RTP Stream Id) filtering of receive tracks. r=qdot
The simulcast mochitests exhibit an intermittent failure due to ssrc-based
filtering that can be solved by filtering by RID.  The RTP header parser
used in MediaPipeline also needs to have the RID RTP header extension
specified in order for it to properly parse the RTP header and allow
filtering on RID.

MozReview-Commit-ID: E54HCGLVYDk

--HG--
extra : rebase_source : b53085f23cb6558611aa7622f55637e19439c9c3
2017-04-26 10:01:07 -05:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Ralph Giles b50ae2a480 Bug 1360396 - Update nestegg from upstream. r=kinetik
Pull recent changes from the upstream nestegg webm parser
repo. This include a definition of NESTEGG_CODEC_AV1 for
supporting the Alliance for Open Media's AV1 video codec,
and a fix for an unitialized variable warning.

MozReview-Commit-ID: EC1WsaFYlqo

--HG--
extra : rebase_source : 22139c35e505b9cf3c165ff76cdfaaea953baf4d
2017-04-27 17:14:25 -07:00
Wes Kocher 9528ad9a03 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaH1djmEY5A
2017-04-27 13:29:07 -07:00
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Gerald Squelart 65152d49d4 Bug 1355617 - static_cast UNKNOWN_ERROR to status_t to remove harmless warning - r=alfredo
MozReview-Commit-ID: 6WCReMGpvGq

--HG--
extra : rebase_source : e9ed275e6221b18537589b9651100e5e5c2d960e
2017-04-27 17:12:02 +12:00
Nils Ohlmeier [:drno] 274b2c935b Bug 1358889: check if mThread is around before dereferencing. r=jesup
MozReview-Commit-ID: 88ZonLVGZK9

--HG--
extra : rebase_source : 8d3ee2e0a9e77b73ece6d2351758ad8256b2ade0
2017-04-24 16:15:10 -07:00
Alex Chronopoulos ff2192eef4 Bug 1359451 - Update cubeb from upstream to 17503c4. r=padenot
MozReview-Commit-ID: C3NXIvjwjgD

--HG--
extra : rebase_source : 06cc2449c9892ba431662e9cd72633a91efcba2e
2017-04-25 18:25:01 +03:00
Michael Layzell 8b7ba021a4 Bug 1339537 - Part 6: Pass std::function values tree by const reference instead of by value, r=ehsan
MozReview-Commit-ID: PVAqU2DPs2
2017-04-27 12:44:57 -04:00
Nils Ohlmeier [:drno] f588ac7e28 Bug 1303867: destroy SSL FD to send out DTLS allert on close. r=mt
MozReview-Commit-ID: EaMkehmTcs3

--HG--
extra : rebase_source : 18acf0fe7bc3b6ccffc0c5667a962161411b56d5
2017-04-20 19:52:24 -07:00
Wes Kocher da57a3e4df Merge m-c to inbound, a=merge
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Dan Glastonbury 42bf7f5ae3 Bug 1358938 - Remove gonk config from moz.build. r=SingingTree
Re-applying Bug 1357323.

MozReview-Commit-ID: 6UcfIHWDwn5

--HG--
extra : rebase_source : 71b61606cfbc03c5b5d7064154f0e035c8393b32
2017-04-24 11:20:03 +10:00
Wes Kocher c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
Randell Jesup 64a9d5c37f Bug 1343143: enable 3 temporal layers in simulcast mode, at all resolutions r=bwc
MozReview-Commit-ID: 3xf6qTMZPks
2017-04-21 11:03:45 -04:00
Carsten "Tomcat" Book 975e251aff merge mozilla-inbound to mozilla-central a=merge 2017-04-21 10:57:02 +02:00
Dan Glastonbury 92a65a96fb Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Dan Glastonbury 709bb40008 Bug 1346665 - P1: Enable USE_PULSE_RUST in libcubeb. r=kinetik,rillian
MozReview-Commit-ID: 5ZQLFXNFWdB
2017-04-21 14:01:00 +10:00
Alfredo.Yang 36f291632f Bug 1358024 - Update rust mp4 parser. r=rillian
MozReview-Commit-ID: EW67mHeAGXD

--HG--
extra : rebase_source : e2dae68c37e464ddff5b69b456869ba11d77f19e
2017-04-21 16:35:39 +08:00
Alfredo.Yang b4b874d5e1 Bug 1358024 - sync names of codec specific data same as gecko. r=rillian
MozReview-Commit-ID: 696ymQu8bpL

--HG--
extra : rebase_source : 9d39ab27142fde3c4b0556d56d5b87d95b733b5b
2017-04-20 14:30:28 +08:00
Gerald Squelart b34cf60c9b Bug 1358287 - Stagefright-vs-Rust TrackInfo comparison was incorrect - r=alfredo
MozReview-Commit-ID: 8eIsq1ZzWaL

--HG--
extra : rebase_source : 10d7c2594546b24760a76deaa1bd95f3e867b36c
2017-04-21 10:19:34 +12:00
Wes Kocher 5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
Carsten "Tomcat" Book 54c9498baf Merge mozilla-central to mozilla-inbound 2017-04-20 13:03:06 +02:00
Alex Chronopoulos 939147b2d1 Bug 1357683 - Update cubeb from upstream to 6e52314. r=padenot
MozReview-Commit-ID: FKxbO0W50Xk
2017-04-20 12:01:37 +03:00
JW Wang 302d82c85a Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku
MozReview-Commit-ID: 4bVeqIuWO2O

--HG--
extra : rebase_source : d504ac15a6dc59ad42f3ab80faf23f629d74315f
extra : intermediate-source : 6e52995b6c8146451d98dffc62f6907755dc856e
extra : source : 82d2649cdafb5a6389f6858c23578811933580c9
2017-04-14 17:13:36 +08:00
Alfredo.Yang c16660640a Bug 1356291 - Update rust mp4 parser to fix the variable extension descriptor. r=rillian
MozReview-Commit-ID: 7IUYpAzyMCk

--HG--
extra : rebase_source : 0be768359a781a6c74a32e32641e3ade02f3fd90
2017-04-19 14:44:46 +08:00
Mike Hommey 34e619d1c1 Bug 1357323 - Remove support for gonk in the build system. r=gps
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).

--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
JW Wang 235f1f55ed Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
MozReview-Commit-ID: 7dO5OOUuORz

--HG--
extra : rebase_source : 1c1c020700d9180ef9f85d7e2e679f498ab71fce
extra : intermediate-source : d173c820bef7a113e28e9732c42e8c1af36160ab
extra : source : 04c08a780526ca3a5ac4d1a6f9b7ae30d9957e92
2017-04-14 14:52:14 +08:00
Mike Hommey 0f453b4ff8 Bug 1357328 - Remove media/webrtc/signaling/test/moz.build. r=jesup
Its content is a no-op since bug 1322707.

The code in the same directory, though, is meant to move to gtests
(bug 1316611).

--HG--
extra : rebase_source : fa269a034fd327856fde8d0673de58eba9b02d8e
2017-04-18 17:37:58 +09:00
Gerald Squelart f831fb83b9 Bug 1357279 - Make sure mRustTestMode is inside #ifndef RELEASE_OR_BETA - r=alfredo
mRustTestMode is only declared when not in RELEASE_OR_BETA, so we must guard
all its uses.

The one in GetTrackInfo was a mistake, it shouldn't have been used there, as
we always want to compare results (without crashing) and report differences as
a warning.

The other ones just need the `#ifndef RELEASE_OR_BETA` guard.

MozReview-Commit-ID: LE31viVyhov

--HG--
extra : rebase_source : 5aed13d02c3a1ef27627bbf687d9aef05dcbf8ac
2017-04-18 15:15:30 +12:00
JW Wang 464497b945 Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
MozReview-Commit-ID: 3d4bUYtSuMI

--HG--
extra : rebase_source : 94c821b6d381421035e6a12cbe038436055c5822
extra : intermediate-source : 9a06beffc736486f47b9cf05e7f482e726d53068
extra : source : fdbdcd5c1474f04dc1dbde66fcf3a9ecec953053
2017-04-12 17:27:34 +08:00
JW Wang d0454d90d1 Bug 1355745 - Change the type of TrackInfo::mMediaTime to TimeUnit. r=jya
MozReview-Commit-ID: 3vuPhLQBnFb

--HG--
extra : rebase_source : 465f8c6eb234694a101081bd5314cca63e4b3285
extra : source : bf604ecf38cbc46c286cc76c4f596fdfd397ac78
2017-04-12 16:53:09 +08:00
Wes Kocher 20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Wes Kocher 514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
JW Wang f45fa7374e Bug 1355740 - Change the type of TrackInfo::mDuration to TimeUnit. r=jya
MozReview-Commit-ID: P7aqw4d5Vk

--HG--
extra : rebase_source : f22743fec9c8b70cbb092e3b26e252e7a4cb0b31
extra : source : 2413cd58f073b734a2cb85cec3658942bfd46e08
2017-04-12 16:41:36 +08:00
Nico Grunbaum a9c52a60b1 Bug 1241066 - fix mozRtt always 0 or 1;r=jib
My shortest patch to date.

MozReview-Commit-ID: 8r3ZrGUk40D

--HG--
extra : rebase_source : 38cc51ce85e03c03f46e063bf92f594927d1365f
2017-03-20 16:58:53 -07:00
Nils Ohlmeier [:drno] 75a0220f53 Bug 1325513: Check RTP extension header length. r=jesup
MozReview-Commit-ID: 6sUVQjUh8bF

--HG--
extra : rebase_source : 296cb8688a9c27b437380e5f70fd3cf9d43629f2
2017-04-12 15:09:18 -07:00
John Lin ab9060d531 Bug 1349883 - part 3: resolve decode promise according to buffer status. r=jya
MozReview-Commit-ID: JwOOi56t30Y

--HG--
extra : rebase_source : 48f0cc0bfde3f84cc0574c5a5da6c738112c843f
2017-04-07 17:07:02 +08:00
Gerald Squelart 1564d36454 Bug 1341483 - MP4Metadata::GetTrackIndice() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: BIgvy5eKNJl

--HG--
extra : rebase_source : 251d61df6136ab46d8efe33edd4199fa5aabd2f0
2017-03-15 16:55:50 +11:00
Gerald Squelart 2ea7fba755 Bug 1341483 - MP4Metadata::Crypto() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: EywDv5JuDK6

--HG--
extra : rebase_source : 017cd996817b1aaa78f5c7bed9fa05da3baf442c
2017-02-27 21:32:03 +11:00
Gerald Squelart 7961918dfc Bug 1341483 - MP4Metadata::GetTrackInfo() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: KQ3fJzZkrGW

--HG--
extra : rebase_source : b9f4324f50c81f4945c0a47e63af0cb616ba013e
2017-02-27 17:05:41 +11:00
Gerald Squelart c93b449e6b Bug 1341483 - MP4Metadata::GetNumberTracks() now also returns a success/error code - r=kinetik
In addition to the returned MediaResult, a special number-of-tracks value
(not just 0) indicates an unrecoverable error.

For Rust-vs-Stagefright comparison purposes, an error is considered the same
as 0 (because Stagefright never returns errors, but Rust may, so complaining
about that would be too noisy, and useless to us.)

MozReview-Commit-ID: IwadWSOIWr4

--HG--
extra : rebase_source : 29f53ee6a02a0431adb0b615a122a4e7b480108c
2017-02-27 13:36:59 +11:00
Gerald Squelart 1bbbbd132d Bug 1341483 - MP4Metadata::Metadata() now also returns a success/error code - r=kinetik
The returned MediaResult is used as error or warning in MP4Demuxer::Init().

MozReview-Commit-ID: Bnv4xG8bCJ4

--HG--
extra : rebase_source : c1952ed61396834b0cd7da58c9b64481a5c46ab1
2017-02-27 13:01:11 +11:00
Nils Ohlmeier [:drno] 37ee2e02bb Bug 1355259: only filter out udp candidates if force_tcp is set. r=mjf
MozReview-Commit-ID: AKv0N74epZ1

--HG--
extra : rebase_source : 9a77174afca8fd45b614ec49f4eb86f04ced888a
2017-04-10 16:52:09 -07:00
Munro Mengjue Chiang d61aa73f60 Bug 1354993 - Add PictureID into VP8 CodecSpecificInfo. r=jolin
MozReview-Commit-ID: 7l2WygPuHRX

--HG--
extra : rebase_source : 1594349dbce9140041e0a976534327f5fd4ed8be
2017-04-10 14:49:36 +08:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Wes Kocher 05965b79a9 Merge inbound to central, a=merge 2017-04-10 16:32:45 -07:00
Paul Adenot ebfeb605e3 Bug 1348344 - Backed out changeset c72cf98f1527. r=achronop
This was meant to be temporary, and we can remove it now.

MozReview-Commit-ID: 2A9RKIabYIZ

--HG--
extra : source : e6cd7e39bfdd77772ffd3a36448b7763db7ec6d1
extra : histedit_source : dcb1bd9d144aaa9abeef38107a6ee6d85cdf7b2f
2017-04-10 17:15:29 +02:00
Nico Grunbaum 9352ee95aa Bug 1344970 - rename mozRtt to roundTripTime r=jib,smaug
MozReview-Commit-ID: 3kES8JUPd3n

--HG--
extra : rebase_source : e49846845d7cbd43f96d13cb1881e0383517f197
2017-03-06 15:50:10 -08:00
Paul Adenot b37280c289 Bug 1337641 - Temporarily disable an assert in cubeb duplex. r=achronop
MozReview-Commit-ID: GD57nZRoXFj

--HG--
extra : rebase_source : 638d4e3f38fb3f4989758f0f1ad7f9d5dc4680ab
2017-04-10 19:26:44 +02:00
Vineet 7c01ecff24 Bug 1337294 - Removed the unnecessary call to c_str() r=jesup
MozReview-Commit-ID: CpDEC7kRSXs

--HG--
extra : rebase_source : 7d44fe50c35abc6ee643a35821c9b3dea9560f10
2017-03-02 11:09:08 +05:30
Eric Rahm 2d1b7da05b Bug 1354207 - Set webrtc build flags when building under valgrind, etc. r=jesup
The webrtc gyp files have a 'build_for_tool' flag that controls among other
things what defines are provided at build time. This meant that during a
firefox valgrind build webrtc would still specify NVALGRIND, thus disabling
some valgrind macros. Similarly there are flags for asan and tsan that we
should probably have been specifying as well. This patch sets the
'build_for_tool' flag to the appropriate value when building under valgrind,
asan, and tsan.
2017-04-07 09:20:37 -07:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Wes Kocher 7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Nils Ohlmeier [:drno] 45a1983cc1 Bug 1354222: fix log level casting warnings. r=erahm
MozReview-Commit-ID: A6hnPD3NkYr

--HG--
extra : rebase_source : a59a3d5acfdc219dd3f21b6acf1179125c766f5b
2017-04-06 11:00:35 -07:00
James Willcox 224324d56d Bug 1344347 - Move Android out-of-process decoder service into GeckoView r=jolin
MozReview-Commit-ID: QTnp95uhQV


--HG--
rename : mobile/android/base/aidl/org/mozilla/gecko/media/FormatParam.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/FormatParam.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodec.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodec.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/ICodecCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridge.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaDrmBridgeCallbacks.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/IMediaManager.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/IMediaManager.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/Sample.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/Sample.aidl
rename : mobile/android/base/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl => mobile/android/geckoview/src/main/aidl/org/mozilla/gecko/media/SessionKeyInfo.aidl
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/AsyncCodecFactory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/AsyncCodecFactory.java
rename : mobile/android/base/java/org/mozilla/gecko/media/Codec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Codec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/CodecProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/FormatParam.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/FormatParam.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrm.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrm.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
rename : mobile/android/base/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV23.java
rename : mobile/android/base/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/JellyBeanAsyncCodec.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaDrmProxy.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaDrmProxy.java
rename : mobile/android/base/java/org/mozilla/gecko/media/MediaManager.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/MediaManager.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridge.java
rename : mobile/android/base/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/RemoteMediaDrmBridgeStub.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SamplePool.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SamplePool.java
rename : mobile/android/base/java/org/mozilla/gecko/media/SessionKeyInfo.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/SessionKeyInfo.java
rename : mobile/android/base/java/org/mozilla/gecko/mozglue/SharedMemory.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/mozglue/SharedMemory.java
2017-04-06 14:32:58 -05:00
Michael Froman 1a2153bf46 Bug 1353575 - Switch to google stun server instead of twilio for ice_unittest.cpp. r=bwc,drno
MozReview-Commit-ID: HrS3oKjg17Z

--HG--
extra : rebase_source : a4a40bb9a5694054d736cabc7ff22b57037f6487
2017-04-04 13:47:54 -05:00
Byron Campen [:bwc] f93af701e0 Bug 1353028: Fix broken extmap validation logic. r=drno
MozReview-Commit-ID: Egvr4ppNZ5Q

--HG--
extra : rebase_source : f22da96ae9beb4b43338f84168e41bfa230700d1
2017-04-03 15:05:31 -05:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Alfredo.Yang 348ae4d9df Bug 1329126 - update rust mp4 parser for preventing buffer overflow. r=kinetik
MozReview-Commit-ID: Ih85J4nejLx

--HG--
extra : rebase_source : 033d42491bbaf556a1e5adc09406cf6fa2f81e18
2017-03-31 15:49:43 +08:00
Nico Grunbaum deeb9fdcf9 Bug 1348657 - Part 2 - split send/recv packet counts r=jib
MozReview-Commit-ID: 2SENT4rGsLX

--HG--
extra : rebase_source : 8a6c960871ed7fffb28d5a7676d20c016daa3b58
2017-03-30 10:59:46 -07:00
Nico Grunbaum af67a2fb4c Bug 1348657 - implement framesEncoded, pliCount, nackCount and firCount for webrtc stats r=jib,smaug
MozReview-Commit-ID: E873mbcrlLL

--HG--
extra : rebase_source : ca6f5d7ab0490948aaed1ae793ed5906149b7236
2017-03-21 21:52:06 -07:00
Eric Rahm 83eba01284 Bug 1353143 - Part 1: Explicitly include prlog.h in mtransport/logging.h. r=drno
This updates mtransport logging to explicitly include prlog.h and defines
MOZ_MTLOG in terms of PR_LOG rather than MOZ_LOG when building outside of XUL.
2017-04-04 14:36:14 -07:00
Carsten "Tomcat" Book 5d99fc5820 Merge mozilla-central to autoland 2017-04-04 12:38:55 +02:00
Carsten "Tomcat" Book 14e0b51ace merge mozilla-inbound to mozilla-central a=merge 2017-04-04 12:35:03 +02:00
Paul Adenot 8db2de79d7 Bug 1351803 - Statically link to avrt.lib on Windows, when compiling cubeb. r=glandium
We used to get the symbols we need using `LoadLibrary`, but now (since
661c653c86),
we can statically link to avrt.lib, because we only support Windows OSes that
have this library. For now, this works because avrt.lib is linked in
webrtc-land somewhere with a #pragma, but:
- We're going to stop using this bit of webrtc in the near future (around
  Firefox 54)
- Not linking this explicitely where it's used breaks --disable-webrtc, that is
  a popular option

MozReview-Commit-ID: 7b16Kdl3VUu

--HG--
extra : rebase_source : b4159872427b4e9d912e1228e75563ca9a8e828d
2017-03-30 06:26:19 -07:00
Matthew Gregan 2174e12534 Bug 1352929 - Update libcubeb to 04826edb. r=padenot 2017-04-04 14:02:04 +12:00
Randell Jesup d5d480e33d Bug 1349581: defer nativeRegistration for android Jni to avoid thread issues r=gcp
MozReview-Commit-ID: Ep0ej5HkGE3
2017-04-03 16:58:44 -04:00
Michael Froman 5ffad762cd Bug 1350568 - don't dispatch IPC call to StunAddrsRequestChild after content process IPC channel goes away. r=jesup
MozReview-Commit-ID: IoAWO9Frf1u

--HG--
extra : rebase_source : fc3a5d8d066dadb476ea965014553c99515b1547
2017-03-26 13:30:28 -05:00
Tom Ritter fcb35c70f7 Bug 1331349 Fix printf formatting errors in MinGW compilation r=froydnj
MozReview-Commit-ID: A4PMABfxzez

--HG--
extra : rebase_source : d0c40a495ad390aeb71ddc81c33daa081f6e0ba7
2017-03-31 00:14:43 -05:00
Chris Pearce f96fedca29 Bug 1351954 - Change ClearKey CDM to allocate its video frame buffers optimally. r=gerald
The WMF decoder gives us video frames in buffers with the planes 16 row-aligned
for some reason. If we allocate our video frames the same size we waste memory.
So let's have the ClearKey CDM not allocate its video frames with the extra
padding rows.

Excluding the padding in our copy of the decoded data also makes my work in bug
1351953 easier.

MozReview-Commit-ID: 9dD40P6ST68

--HG--
extra : rebase_source : a6c4fea01e8bf2deef8edc78d0a041e8fed0c0b8
extra : source : 433028f9a2055869cd98710f0871d040605c0535
2017-03-28 18:00:01 +13:00
Ralph Giles 821d5fb522 Bug 1353944 - Update enums for mp4parse 0.8.0. r=kinetik
The support to namespace prefixing in moz-cheddar means we
can simplify exported enum names on the rust side. However
this makes for some spelling changes on the C side.

MozReview-Commit-ID: 4t6NDusx0uI

--HG--
extra : rebase_source : 1c1221507ce42965486d79e6809d1541f6410f55
2017-04-05 17:30:47 -07:00
Ralph Giles 3a9b45493a Bug 1353944 - Update to mp4parse 0.8.0. r=kinetik
Sync with crates.io version. Just enum spelling changes.

MozReview-Commit-ID: BS02zEoJaV1

--HG--
extra : rebase_source : a1a13979ba30ba178cc42f5b5fae8a6f089dc4b9
2017-04-05 16:19:47 -07:00
Munro Mengjue Chiang 5907cfe44d Bug 1265755 - Implement remote vp8 encoder and enable/disable them with pref; r=jolin
MozReview-Commit-ID: JZ1eUZNLAKq

--HG--
extra : rebase_source : 3d0da18ab91239db56d5425889d638b184e02b82
2017-03-30 09:00:13 +08:00
Adam Velebil 69da80395b Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r=erahm
MozReview-Commit-ID: CGnzomkIsi5
***
Bug 1308100 - Replace PL_strlen/PL_strnlen with strlen/strnlen;r?erahm

--HG--
extra : rebase_source : a14b1538ed91848ecd02fb4607bce4cb9b2ab7c4
2017-04-13 20:47:00 +02:00
Dan Minor 1d80aba420 Bug 1351700 - Fix linking error when building webrtc-gtest; r=jesup
This adds a stub implementation for nsTraceRefcnt::WalkTheStack which we're
pulling in from <mozilla/Assertions.h> in some debug builds.

MozReview-Commit-ID: 6wVghIfKWWZ

--HG--
extra : rebase_source : 1e8472935c7f8ac486794fab764e08b30eea79ed
2017-03-29 14:22:23 -04:00
Nils Ohlmeier [:drno] 3fe5112bbb Bug 1345791: ICE disconnect state is not a crash. r=bwc
MozReview-Commit-ID: IwrWVvjkNmX

--HG--
extra : rebase_source : e9c4b92acddb82298b439152e622132a49bd6daa
2017-03-29 16:39:42 -05:00
Tom Ritter 6c832ecd7e Bug 1344909 When compiled with MinGW, use only a single core in gmp-clearkey r=cpearce
MozReview-Commit-ID: Ej9avF7TkaL

--HG--
extra : rebase_source : 804988fa70c9cc45bb404793dd1320dbd2bc4ac1
2017-03-23 13:58:54 -05:00
Dan Minor 774e2f6945 Bug 964133 - Build webrtc.org unit tests; r=jesup,ted.mielczarik
This adds a moz.build file for the tests. The alternative would be to hack up
the gyp files. Since gyp support has already been removed from upstream, this
does not really buy us anything as far as maintainabily goes. Once gn support
is available in our build system, we can remove this moz.build file and use
the gn files instead.

The include paths for the gtest and gmock headers in the webrtc.org tests are
not compatible with where we export the headers. We could patch each unittest,
but the include location has already changed upstream making this painful
to maintain. Instead, we duplicate the relevant headers to the expected path.

MozReview-Commit-ID: 1ADUAMxTCFq

--HG--
extra : rebase_source : 2cc10faa7018ee8af8e8f3d7805265ed2dd89507
2017-03-27 15:51:16 -04:00
Dan Minor 164d41ff3a Bug 964133 - Add stub implementation of OSXRunLoopSingleton.cpp; r=jesup
MozReview-Commit-ID: 8yJh0V2rLoR

--HG--
extra : rebase_source : 3df843511ecb40af2b6d83030453758e838e94be
2017-02-07 13:47:00 -05:00
Dan Minor f44831c17d Bug 964133 - Build gflags; r=ted.mielczarik
This adds gflags to the list of ignored directories for clang static
analysis and adds "explicit" where required in mutex.h.

We also stop building a duplicate copy of snprintf for windows as our builds
already include a definition for it.


MozReview-Commit-ID: 4uMhTMvAKL0

--HG--
extra : rebase_source : d63d3797053c7720c725b3994cb3b2ca11bb191f
2017-03-28 15:46:57 -04:00
Dan Minor 15ed133076 Bug 964133 - Import gflags from webrtc.org branch 49; r=ted.mielczarik
MozReview-Commit-ID: 2AouGZrZa9w

--HG--
extra : rebase_source : 76ab8e4a280912aa08a6c94e1cdfb25488df836a
2017-03-08 11:33:01 -05:00
Dan Minor 6affa752e1 Bug 964133 - Fixup FakeIPC to build on windows; r=jesup
MozReview-Commit-ID: 2Jm82qs4hFL

--HG--
extra : rebase_source : dfade0944c84df23580121384d2501229b78c0c6
2017-01-30 15:37:57 -05:00
Dan Minor d71edf00c9 Bug 964133 - Move FakeIPC to webrtc.org gtest; r=jesup
These were written for the signaling tests but are no longer needed there
because those tests link against libxul. They are still useful for the
webrtc.org unit tests, so we should move them there.

MozReview-Commit-ID: GVskiZebq19

--HG--
rename : media/webrtc/signaling/test/FakeIPC.cpp => media/webrtc/trunk/gtest/FakeIPC.cpp
rename : media/webrtc/signaling/test/FakeIPC.h => media/webrtc/trunk/gtest/FakeIPC.h
extra : rebase_source : 57b70f5dd3a55e73de0b066f228ddf957f477c26
2017-01-13 14:03:17 -05:00
Dan Minor 429e0c1350 Bug 964133 - move nICEr and nrappkit to libxul; r=ted.mielczarek
Building these as part of the webkit lib adds unnecessary dependencies on Mozilla code for things that only case about the webrtc static lib.

MozReview-Commit-ID: 7ThU7hAwRX0

--HG--
extra : rebase_source : eef256711e205d023a647e6196dcc61e657f6e28
2017-01-13 09:28:43 -05:00
Dan Minor 4205129c92 Bug 964133 - Remove webrtc.org copy of gtest; r=ted.mielczarek
MozReview-Commit-ID: LURWNU2zwRT

--HG--
extra : rebase_source : 5a0c8cd1e56bfbe82e581bce9dcf2cb126a605c5
2017-03-28 15:44:38 -04:00
Byron Campen [:bwc] 87716f1d4e Bug 1344556 - Part 6: Sanity check extmaps in answers. r=drno
MozReview-Commit-ID: Jv91RSe9ooL

--HG--
extra : rebase_source : b61404a8b41d68b3153bee8bdcd44d8a2359a2c8
2017-03-08 15:02:28 -06:00
Byron Campen [:bwc] 5ae671c866 Bug 1344556 - Part 5: Fix bug where sendonly extmaps would be configured on recv tracks, and vice versa. r=drno
MozReview-Commit-ID: DMwDGCnUTYX

--HG--
extra : rebase_source : c2eb3698f4d625d2e08d7deb6c27cce0d0312f01
2017-03-08 15:02:01 -06:00
Byron Campen [:bwc] fa0a599b34 Bug 1344556 - Part 4: Fix bug where direction on negotiated extmaps was recorded backwards. r=drno
MozReview-Commit-ID: BFQ2WcNs4OH

--HG--
extra : rebase_source : c1805d0a166cbbdf53dbde85e5e772a2dbeff1ec
2017-03-08 14:13:44 -06:00
Byron Campen [:bwc] 46618bebbc Bug 1344556 - Part 3: When answering, pay attention to JS simulcast constraints. r=drno
MozReview-Commit-ID: Krwt1om2NLF

--HG--
extra : rebase_source : 788533a7dbc6a0c9b70275652f7d006b1d29d763
2017-03-08 13:51:10 -06:00
Byron Campen [:bwc] 71467de191 Bug 1344556 - Part 2: Some helper functions for working with SDP direction attributes. Makes subsequent work simpler. r=drno
MozReview-Commit-ID: 177Sp8pj9kX

--HG--
extra : rebase_source : a91a896baf342cd49de18d082c5188ab4b82dead
2017-03-08 13:49:12 -06:00
Byron Campen [:bwc] 94936dea03 Bug 1344556 - Part 1: Test cases for simulcast answerer. r=drno
MozReview-Commit-ID: DiHjaPlmmDx

--HG--
extra : rebase_source : 9319082052b02d731d7a3016906bde128e72414a
2017-03-08 11:22:32 -06:00
Randell Jesup 80022975a2 Bug 1349233: allow SSRC changes in VideoConduits r=bwc
MozReview-Commit-ID: 6PNyjLyl9L0
2017-03-28 10:43:10 -04:00
Carsten "Tomcat" Book bc21c019f3 Merge mozilla-central to mozilla-inbound 2017-03-28 13:05:57 +02:00
Randell Jesup 340f43be8a Bug 1350912: Set min and start bandwidth according to b=TIAS, instead of only max r=drno
MozReview-Commit-ID: DH1rFn53sNN
2017-03-28 06:54:12 -04:00
Gerald Squelart 6c6f29c5e9 Bug 1351094 - gtest - r=alfredo
MozReview-Commit-ID: 7n9ZYSO2ECF

--HG--
extra : rebase_source : de1778bd585817fcd9cfd4a236f8ea909b6fc050
2017-03-28 12:04:32 +11:00
Gerald Squelart 30bc48ac6f Bug 1351094 - Catch div/0 when hz==0 in MPEG4Extractor's unitsToUs - r=alfredo
MozReview-Commit-ID: KLgUg3UYiNQ

--HG--
extra : rebase_source : 45c26f5cea0e2d11eee785ae3255fe341707a55d
2017-03-28 10:10:05 +11:00
Gerald Squelart 44d96daa9b Bug 1351152 - Run gtest for both Stagefright and Rust MP4 parsers - r=alfredo
MozReview-Commit-ID: BSaMIi6UnVz

--HG--
extra : rebase_source : 25b60c7a5ac97e1f3625324e995723e32e7026be
2017-03-28 13:54:45 +11:00
Nils Ohlmeier [:drno] 948bfcc4f7 Bug 969715: remove INET and INET6 from sctp build env. r=jesup
MozReview-Commit-ID: 4e67tOzltoc

--HG--
extra : rebase_source : c0c134bde1b0400b3fc37aaada0187948442e9cb
2016-12-08 23:49:43 -10:00
Nils Ohlmeier [:drno] 2b6192d5b7 Bug 1355010: temporarily turn off extmap direction verification to avoid Chrome interop issues. r=bwc
MozReview-Commit-ID: 76Zayg9XMi7

--HG--
extra : rebase_source : f5c3a27df5a54db51f18413405ea0e295c82a452
2017-04-11 14:08:32 -07:00
Michael Froman 31e4ce10aa Bug 1350055 - fix --disable-webrtc build with new PStunAddrsRequest.ipdl r=jduell
MozReview-Commit-ID: 5oxJtUppHWC

--HG--
extra : rebase_source : 7cfbddb1168711439530b3ead47bd35bec70ab80
2017-03-23 20:04:41 -05:00
Alfredo.Yang b6f5ac4f52 Bug 1330243 - update gtest for mp4 rust parser. r=kinetik
MozReview-Commit-ID: 3CfsHkpk625

--HG--
extra : rebase_source : 1f2b54f8c058bb6d9fdb649224d4a09df662c06f
2017-03-25 17:55:06 +08:00
Alfredo.Yang fb9844d916 Bug 1330243 - add preference to enable rust mp4 parser. r=kinetik
MozReview-Commit-ID: LINNEMiXYx4

--HG--
extra : rebase_source : 747b9854b0d5d1f0419c59c5966414872e8ea158
2017-03-14 15:42:09 +08:00
Ben Kelly 4ffa062ade Bug 1350398 Remove Workers.h include from BindingUtils.h now that ThrowDOMExceptionForNSResult no longer exists. rs=bz 2017-03-24 15:27:11 -04:00
Alfredo.Yang 5db4f35048 Bug 1350178 - Get stagefright indices only when rust parser is off or TestMode is on for saving memory usage. r=kinetik
MozReview-Commit-ID: F9P9O8YHJWg

--HG--
extra : rebase_source : 9877c569539a542de2caee1f724cb239d09c70f2
2017-03-23 14:23:36 +08:00
Wes Kocher 03061ecb63 Bug 1349467 - Fix some Audio/Video BUG_COMPONENTs in moz.build files r=jmaher
MozReview-Commit-ID: 3ItJdCtiOul

--HG--
extra : rebase_source : 2db0d75589a0bd8f28bdd35f015949a1194bc47d
2017-03-22 17:23:12 -07:00
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
Andrea Marchesini 1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Glenn Randers-Pehrson dbfdd899bc Bug 1348356 - Update in-tree libpng to version 1.6.29. r=jrmuizel 2017-03-18 10:33:00 -04:00
Dan Minor f7809b18ec Bug 862837 - Build signaling unit tests on Windows; r=drno
MozReview-Commit-ID: 1pLKmXEcaAM

--HG--
extra : rebase_source : 4bef49068433660e5b44ea46b2ff4edd5065513a
2017-03-17 09:48:19 -04:00
Nils Ohlmeier [:drno] e7dd39ae18 Bug 1347813: take cumulativeLost from RTCP. r=jesup
MozReview-Commit-ID: LIPxL8vcnHl

--HG--
extra : rebase_source : e7df61a4200e088dba0b5f85d59669e99d35476f
2017-03-20 14:03:46 -07:00
Michael Froman 647131bd6f Bug 1345511 - pt 3 - start using IPC call for stun addrs in PCMedia. r=bwc
Two new calls are added to NrIceCtx.
1) A static call to allow StunAddrsRequestParent to get stun addrs from the main
process.
2) A call to allow StunAddrsRequestChild to pass the new stun addrs back to
PeerConnectionMedia on the content process.

PeerConnectionMedia, when running in e10s mode, sets up the StunAddrsRequestChild
and makes the async request to get the stun addrs.  When they are returned, it
sets the stun addrs in NrIceCtx avoid the network calls that would otherwise
cause a further restricted sandbox to fail.

MozReview-Commit-ID: C2hYBzm6WNv

--HG--
extra : rebase_source : 4c71056850c418efdc0f709f4d838a3e0bf4bee2
2017-03-22 09:59:46 -05:00