Commit Graph

4268 Commits

Author SHA1 Message Date
Chris Peterson
2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Gregory Szorc
f21ec324a6 Merge mozilla-central to mozilla-inbound 2016-07-06 18:30:58 -07:00
ctai
fd36b32d94 Bug 1266646 - Move group of MediaStreamListener to a new header file. r=pehrsons
This can reduce the include header dependency. MediaStreamVideoSink will inherit from DirectMediaStreamTrackListener. But we can't use forward declaration on MediaStreamListener because the usage of nsTArray<RefPtr<MediaStreamVideoSink>>.

MozReview-Commit-ID: 328s4Kw9NvW

--HG--
extra : transplant_source : %D2%18%E3%3B%0C%D8%F04%F3%EB%EB%A0%A7%8B%B1%A9%AB%97rY
2016-06-30 15:07:48 +08:00
ctai
533acf2e59 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : transplant_source : %5C%1C%23%AC%D7%0D%97%24%CB%ED%8E%D5%60/%5E%07%F2%85Z%DA
2016-04-29 11:45:25 +08:00
Nils Ohlmeier [:drno]
ccfaf882c5 Bug 1275119: remove mRecvCodecList from VideoConduit. r=jesup
MozReview-Commit-ID: 5Wgc0NDkyps

--HG--
extra : rebase_source : b796d12ae0a87533df30372ee6da232fdefaff80
2016-06-06 23:40:37 -07:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Paul Adenot
df4b0d9571 Bug 1283850 - Uplift cubeb to revision b8aebef. r=padenot,kinetik,achronop
MozReview-Commit-ID: IjlWPClDuFg
2016-07-01 15:43:16 +02:00
Chris Pearce
e0a9078a6f Bug 1267918 - Add GMPCrashHelper to GMPService::GetGMP* functions. r=gerald
This enables callers to specify a way to determine the correct window to
dispatch the PluginCrashed event to should the GMP actor crash.

We need a way to determine the correct window at crash time, as the GMP's
window can change at runtime. For example, if the GMP is being used for
unencrypted decoding, the <video> element can be moved to a new browser window
at runtime.

Note: I don't handle disconnecting the GMPCrashHandlers in this patch; we do
delete the GMPCrashHandlers in this patch when their associated GMP crashes, and
in the next patch we handle disconnecting GMPCrashHandlers in the case where
we don't crash.

MozReview-Commit-ID: DrwcZAB6Ys0

--HG--
extra : rebase_source : 8da188b68456914773e6adae8cbccd6bf6a6e7a7
2016-06-29 11:41:56 +12:00
Carsten "Tomcat" Book
fcff88e7a8 Merge mozilla-central to autoland 2016-07-01 11:20:25 +02:00
Alexandre Lissy
a09dfe4799 Bug 1283439 - Include OpusDecoder.h only for Rust MP4 parsing r=kinetik
MozReview-Commit-ID: 9zzhvYowlkX

--HG--
extra : rebase_source : d10ddb0632a6bf35d4f92080438a5f01f6466b72
2016-06-30 19:13:53 +02:00
EKR
0a7e8ae834 Bug 1283085 - Handle new ALPN value r=abr 2016-06-29 10:24:48 -07:00
Ralph Giles
b9106558db Bug 1282963 - Share CodecDelay prepend code. r=kinetik
Both the WebM and mp4 demuxers need to pack this value into
the the CodecSpecificConfig, so move the shared implementation
to the OpusDecoder, near where it is unpacked so the two can
be kept in sync.

MozReview-Commit-ID: 2pQaruJoAWr
2016-06-29 15:49:04 -07:00
Ralph Giles
160fca741c Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-29 09:13:19 -07:00
Ralph Giles
af27dceab2 Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-29 09:13:15 -07:00
Ralph Giles
f3eb2d75ba Bug 1267887 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-29 09:13:04 -07:00
Ralph Giles
8c0fe7a521 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-29 09:12:45 -07:00
Ralph Giles
72ecfe6999 Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-29 09:12:45 -07:00
Ralph Giles
c1c627c22a Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-29 09:12:45 -07:00
Kan-Ru Chen
e5ba90cdde Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
MozReview-Commit-ID: HltgzBnxMsn

--HG--
extra : rebase_source : f968344d7283b2f46dfa959a5306d1d380677c52
2016-08-10 14:18:29 +08:00
Ralph Giles
9898427959 Bug 1295666 - Build byteorder as a separate crate. r=kinetik
Run the updated import script to split the in-tree byteorder
code into a separate directory and build it as a dependent crate.

MozReview-Commit-ID: EI5X4icOdmM

--HG--
extra : rebase_source : fa0d4cce8503ede5d2fbefc4d4b78735f2140c33
2016-08-16 11:06:46 -07:00
Ralph Giles
b803c56c4a Bug 1295666 - Import byteorder as a separate crate. r=kinetik
Now that bug 1231764 has landed cargo support in the build system,
we can remove the patches hacking the byteorder crate into a
module within the mp4parse crate.

This updates the import script to copy the byteorder source
files to a separate directory and removes the obsolete patches.

We update the patch against mp4parse/Cargo.toml to add a dependency
path referring to the new source location. This tells cargo to use
the in-tree copy instead of trying to pull from a registery.

MozReview-Commit-ID: FHMkyEq2HdH

--HG--
extra : rebase_source : 49e893008bb120740da92e81444a4bd43f3265d4
2016-08-16 10:51:46 -07:00
Carsten "Tomcat" Book
5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Gerald Squelart
23c839e07f Bug 1274637 - Detect OOB copy attempts in clearkey decryptor - r=cpearce
MozReview-Commit-ID: LgXe8xrQvzs
2016-05-26 19:46:40 +02:00
Ryan VanderMeulen
02d34ad572 Bug 1278648 - Update libjpeg-turbo to version 1.5.0. r=jrmuizel
--HG--
rename : media/libjpeg/README => media/libjpeg/README.ijg
rename : media/libjpeg/README-turbo.txt => media/libjpeg/README.md
2016-06-26 15:41:09 -04:00
Byron Campen [:bwc]
577b657567 Bug 1280215 - Stop using the nsresult in OnProxyAvailable to determine whether the PCM is still interested. r=drno
MozReview-Commit-ID: AIZm4VNZJtV
2016-06-15 13:38:26 +01:00
Byron Campen [:bwc]
208469617b Bug 1280443 - Make a timer assert more aggressive. r=drno 2016-06-20 11:47:10 -05:00
Phil Ringnalda
0c749ef583 Back out 2 changesets (bug 1195477) on suspicion of breaking Mac clobbers in libffi
CLOSED TREE

Backed out changeset 45a6a74c46ea (bug 1195477)
Backed out changeset 4f607b7635fd (bug 1195477)
2016-06-23 19:29:22 -07:00
Phil Ringnalda
3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles
a91a784d90 Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-28 20:33:42 -07:00
Ralph Giles
c0393ce78f Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-28 20:33:38 -07:00
Ralph Giles
64dfe2c489 Bug 1267997 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-28 20:33:36 -07:00
Ralph Giles
1382abe1f6 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-28 20:33:34 -07:00
Ralph Giles
711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Ralph Giles
bcd27ae276 Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-28 20:33:30 -07:00
Nathan Froyd
b86f050662 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-28 23:48:49 -04:00
Nils Ohlmeier [:drno]
cb71d8fa20 Bug 1281708: remove assert for unknown stun server transports. r=mjf
MozReview-Commit-ID: BNNM12fBV4I

--HG--
extra : rebase_source : a6b01e24d942940ff12fe3d6fd05e03c7bb9b6a6
2016-06-23 12:00:31 +02:00
Nathan Froyd
31c615bd95 Bug 1195477 - part 1 - use -no-integrated-as for clang builds on ARM, moz.build changes; r=glandium
We have a lot of assembly written assuming gas's conventions, which
clang's integrated assembler doesn't support.  Disable the integrated
assembler for those pieces of code.
2016-06-23 17:46:59 -04:00
Paul Adenot
378278ea83 Bug 1281402 - Uplift cubeb to revision 9a1d6ccd2. r=kinetik
MozReview-Commit-ID: 36jF493k7XW

--HG--
extra : rebase_source : ce0e2bf4c0a8ae671e0633b17a4339b9bea2e3b8
2016-06-22 15:12:58 +02:00
Glenn Randers-Pehrson
885a243e81 Bug 1275901 - Update in-tree libpng to version 1.6.23. r=seth 2016-06-09 12:05:00 -04:00
Paul Adenot
279fbfd34c Bug 1280280 - Update cubeb to 073c9f011114. r=kinetik
MozReview-Commit-ID: 8mARVNKAG7P
2016-06-16 14:52:51 +01:00
Paul Adenot
6145a952fe Bug 1280280 - Update media/libcube/update.sh to add cubeb_jack.cpp, and sort the list of files. r=kinetik
MozReview-Commit-ID: 5gwM71sotV2
2016-06-15 17:26:54 +01:00
Nils Ohlmeier [:drno]
1f4ba9256c Bug 1280259: clear the remote SSRC vector on a track. r=bwc
MozReview-Commit-ID: 9LtaqeiIQoY

--HG--
extra : rebase_source : e063a7965c9daabd7191cdbcadaaf7838032feb5
2016-06-15 16:33:43 +01:00
Chris Peterson
b650b6987e Bug 1280283 - Fix uchex warnings about null-check after pointer deref in webrtc/signaling. r=drno 2016-06-15 17:19:29 +01:00
Byron Campen [:bwc]
9c47a3e286 Bug 1276805: Make TestNrSocket less chatty. r=drno
MozReview-Commit-ID: 7lXcrCbuQpz

--HG--
extra : rebase_source : bd80c7e4ebdd0413e35f3807ce503d7c27f7809a
2016-06-14 07:08:52 -05:00
Munro Mengjue Chiang
b6bb031a33 Bug 1279036 - retrieve CMSampleBuffer via CMSampleBufferGetDataBuffer for mjpeg case. r=jib
--HG--
extra : rebase_source : 66513f41aefad8a03959dad10e59c64d62d48c71
2016-06-14 06:30:26 +01:00
Sebastian Hengst
f310d4012a Backed out changeset c89b8cc657b2 (bug 1266646) 2016-06-13 21:23:53 +02:00
ctai
4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
Dan Minor
8d9d9ee459 Bug 1210660 - Change vp8 threshold for static images in screensharing mode; r=jesup
This changes the static threshold in screensharing mode and ensures that the
screensharing mode is in fact passed to the codec.

This also causes the peer connection to update the media pipelines when a track is
replaced to cause the codec to be notified that the source has changed and to
change settings appropriately. It seems to be a common use case to have a camera
track be replaced by a screenshare track during a call.

MozReview-Commit-ID: HbV14uL4kIL

--HG--
extra : rebase_source : 34d9fff2efb777bdfd5887db879184bc4ffc7442
2016-06-09 13:38:43 -04:00
Dan Minor
53c5fb9e43 Bug 1167544 - OpenH264 should not send STAP-A aggregation packets in mode 0; r=jesup
MozReview-Commit-ID: IY2mu9dVKHK

--HG--
extra : rebase_source : 77e455651ebf39cf56ca9892be59bd50622b8cc3
2016-06-01 14:28:43 -04:00
Jonathan Watt
b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Michael Froman
f1dd9b78e0 Bug 1279049 - add sdp handling for audio FEC, r=jesup
MozReview-Commit-ID: J0ax8TnR3p8

--HG--
extra : transplant_source : %D5Y%15%E6%C3d%F5%BD%9B%D7%CC%BA%DA%DE%12.%88%DD%A1%5B
2016-06-08 16:24:23 -05:00
Andrea Marchesini
64734bf74c Bug 1278838 - Remove separate worker binding for Performance API, r=smaug
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Nathan Froyd
0b2896f578 Bug 1278938 - avoid warnings in omx-plugin headers when compiling with clang; r=snorp
We can avoid a struct/class mismatch in MediaExtractor.h.

TypeHelpers.h has extraneous |template<>| specializations that don't
actually specialize anything.
2016-06-09 18:44:34 -04:00
Andrea Marchesini
d84e87b425 Bug 1278843 - Move PerformanceTiming code in separate files, r=smaug 2016-06-09 12:43:56 +02:00
Nils Ohlmeier [:drno]
dda722b328 Bug 1279004: do RTCP decryption after filtering. r=jesup
MozReview-Commit-ID: 2VIgy6czdNp

--HG--
extra : rebase_source : 2e92f947bc802fc87db3c3f990aa86623f19ac61
2016-06-08 11:44:46 -07:00
Makoto Kato
967e316e57 Bug 1278476 - Add android/aarch64 target to WebRTC's GYP. r=jesup
MozReview-Commit-ID: DzAZdAvsM9O

--HG--
extra : rebase_source : 1f4211a27382fb05abcae739558903da77fc57cb
2016-06-07 15:51:46 +09:00
Dan Minor
ce4b3363d9 Bug 1274340: enable FEC during video codec setup when negotiated; r=jesup
MozReview-Commit-ID: 3gpxobPGV7M

--HG--
extra : rebase_source : b83f1a4aa6f7959d406d285fe9a01f1320e97b48
2016-05-26 15:28:54 -04:00
Nathan Froyd
2a354943cf Bug 1277853 - adjust checks for clang's integrated assembler in transform_neon.S; r=jesup
This file used __APPLE__ as a shorthand for "compiling with clang's
integrated assembler"; we should really be checking for __clang__ instead.
2016-06-06 16:59:35 -04:00
Benoit Girard
89a2736994 Bug 1278036 - Rename Endian.h to BigEndian.h for case insensitive Linux builds. r=cpearce
MozReview-Commit-ID: CePIpZZEjD

--HG--
rename : media/gmp-clearkey/0.1/Endian.h => media/gmp-clearkey/0.1/BigEndian.h
extra : rebase_source : a05ccec4e75da7f0bc1eb1a38c2f7e84b82d31ce
2016-06-05 13:24:51 -04:00
Jet Villegas
6d95828266 merge from inbound 2016-06-04 03:33:38 -07:00
Carsten "Tomcat" Book
56972796c3 Backed out changeset 3538bc8b05aa (bug 1278005) will land directly on m-c 2016-06-04 09:40:05 +02:00
Jean-Yves Avenard
950b3b9268 Bug 1278005: Fix rounding problems. r=cpearce, a=tomcat
We had two potentials rounding issue occurring. The one causing the problem is that adding an int64 with a float is a float, and would be limited to 24bits mantissa.
The other, could be that rounding would occur if the segment duration was over 16s long, as that too would exceed the representation range as we using microseconds representation internally.

MozReview-Commit-ID: FyBTGvfg25I

--HG--
extra : transplant_source : %D0%14u%E3%1E%C6%D2%FC4%A4%2B%C0%20k%05%E8%90qz%2B
2016-06-04 12:22:39 +10:00
Jean-Yves Avenard
44e35af008 Bug 1278005: Fix rounding problems. r=cpearce
We had two potentials rounding issue occurring. The one causing the problem is that adding an int64 with a float is a float, and would be limited to 24bits mantissa.
The other, could be that rounding would occur if the segment duration was over 16s long, as that too would exceed the representation range as we using microseconds representation internally.

MozReview-Commit-ID: FyBTGvfg25I

--HG--
extra : rebase_source : bb0fff71bfdcaef8e76148bf59a73809e4737024
2016-06-04 12:22:39 +10:00
Nils Ohlmeier [:drno]
4e10dcb863 Bug 1276368: use b=TIAS for maxBitrate encoding constraints. r=jesup
MozReview-Commit-ID: C6kGt9pfhko

--HG--
extra : rebase_source : 575513fb65af7033edbba400f0bee8e69a45d266
2016-05-18 18:16:59 -07:00
Dan Minor
27c4d82245 Bug 1274340: enable FEC during audio codec setup when negotiated; r=jesup
MozReview-Commit-ID: 7kc28DUDzEd

--HG--
extra : rebase_source : 8459880c0f21043e154c50f408affe34769ef775
2016-05-31 11:12:45 -04:00
Byron Campen [:bwc]
6caa8b4bd4 Bug 1273136: Start remote streams on SRD, and end them even if offer/answer never completed. r=jesup, r=pehrsons
MozReview-Commit-ID: ulrDM0Gzj6
2016-05-23 10:22:01 -05:00
Randell Jesup
21cc78c1a6 Bug 1276156: Stop encoder ProcessThreads before deleting the channel r=pkerr
To avoid deadlocks between DeleteChannel() and Process() code

MozReview-Commit-ID: G650SWDH8s0
2016-05-31 23:39:34 -04:00
Matthew Gregan
140a910bc3 Bug 1261900 - Remove obsolete patch file. r=me 2016-06-01 09:20:37 +12:00
Kilik Kuo
002f32571d Bug 1228601 - [Part1] Store only supported video rotation informatin into VideoInfo.; r=mattwoodrow
MozReview-Commit-ID: GF1PpJGkGyA

--HG--
extra : transplant_source : %A9%B2%94%EEb%B3%8B%B9P%AAj%25%9B%18t%22NV%0C%1C
2016-05-13 02:17:39 +08:00
Jean-Yves Avenard
0425d28998 Bug 1275853: [mp4] Don't reject boxes that contains padding but can be easily skipped. r=kentuckyfriedtakahe
My guess is that the application generating those files, does a very rough estimate on what the sample table size is going to be, which allows to perform the conversion in a single pass. This allows to place the moov box at the beginning.

MozReview-Commit-ID: IGzxTho4Akk

--HG--
extra : rebase_source : b6ca711a00f8b2d7d8708acdd17f52f59b469685
2016-05-28 10:42:01 +10:00
Chris Peterson
11ef78ae89 Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Nils Ohlmeier [:drno]
a11147d580 Bug 1275648: check return value of GetPipelineByTrackId_m. r=jesup
MozReview-Commit-ID: EtJSbok04Lc

--HG--
extra : rebase_source : dfdbe83709060886d0a81f479207e2fa85031fe7
2016-05-25 10:32:29 -07:00
Jean-Yves Avenard
a922df8537 Bug 1285928: [mp4] Ignore non-supported entries in edit list. r=kentuckyfriedtakahe
Only the first entry in the edit list is supported (or the 2nd if the first entry is empty)

MozReview-Commit-ID: 5Ab28yhRKPV
2016-07-19 12:02:46 +10:00
Wes Kocher
02b63e9ff0 Backed out 12 changesets (bug 1284803) for near permafailing Windows Wr tests a=backout CLOSED TREE
Backed out changeset 80468414501e (bug 1284803)
Backed out changeset 08d2e46308fd (bug 1284803)
Backed out changeset 6bacfaadbc29 (bug 1284803)
Backed out changeset 28e0ca5cb68e (bug 1284803)
Backed out changeset 9ea43addc3af (bug 1284803)
Backed out changeset 3b11ba39748c (bug 1284803)
Backed out changeset b23773965e94 (bug 1284803)
Backed out changeset 6eb7bce6f4c1 (bug 1284803)
Backed out changeset 109f79e577a0 (bug 1284803)
Backed out changeset 52bd1efc6c1f (bug 1284803)
Backed out changeset fb3d8468b758 (bug 1284803)
Backed out changeset 92c15211f59b (bug 1284803)
2016-07-18 14:46:05 -07:00
Damien Zammit
44e85908a4 Bug 783733 - Wire up the jack cubeb backend in the build system. r=glandium
It's disabled by default for now.

MozReview-Commit-ID: CPrJQ07n26t
2016-07-18 13:28:39 +02:00
Randell Jesup
1f1ea0ef58 Bug 1271585: Proxy audio data to a separate thread for encoding r=pehrsons 2016-05-12 15:34:13 -04:00
Nils Ohlmeier [:drno]
1d9c7716f5 Bug 1275217: remove QuickTime and QTKit related code and dependecies. r=jib
MozReview-Commit-ID: IDXgV9jnlMk

--HG--
extra : rebase_source : 529d867eb7330b9f498897df7248221836a91016
2016-05-24 02:15:19 -07:00
Ryan VanderMeulen
244a5c7598 Backed out changeset de91db2be204 (bug 1275812) on a CLOSED TREE, again. 2016-05-26 16:36:00 -04:00
Ralph Giles
a038a5c348 Bug 1275812 - Experiment with exporting track mime-type. r=kinetik, a=RyanVM to land on a CLOSED TREE
MozReview-Commit-ID: 9CynVkwtUn2

--HG--
extra : source : aa1d245e0af392ca48e991661c0c38a84ba2e360
extra : amend_source : 5fc877fcf2e91a5c29b4a57ce00d90f6d354cf09
2016-04-04 11:28:05 -07:00
Ryan VanderMeulen
ac870fd3ee Backed out changeset aa1d245e0af3 (bug 1275812) for mass win32 debug crashes.
CLOSED TREE
2016-05-26 13:53:26 -04:00
Ralph Giles
21456960e1 Bug 1275812 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2

--HG--
extra : rebase_source : 7995c6af6dc0a58b7369d25824c8446487ce49aa
2016-04-04 11:28:05 -07:00
Bryce Van Dyk
85f8335784 Bug 1257726 - Update to latest upstream version of nestegg. r=kinetik
Bring in updated nestegg library, the newly exposed encryption
functionality will be used to enable WebM EME.

MozReview-Commit-ID: Hv6hSFjlS5c

--HG--
extra : rebase_source : c759a702c205111d65aa2002564559210c662d5f
2016-05-04 11:14:29 +12:00
Ralph Giles
8959d6a9ce Bug 1266309 - Use fallible rust thread::Builder. r=kinetik
We think thread::spawn() may be panicking in low memory
conditions. Test this by using the fallible thread::Builder
API and converting spawn Results into an error return.

MozReview-Commit-ID: 36pDaWsR2p8

--HG--
extra : rebase_source : 058273473564fa4c3b3da4cbd231efd9003a7d05
2016-05-25 13:57:29 -07:00
Ralph Giles
dad637eb4a Bug 1275189 - Remove thread::JoinHandle panic guard. r=kinetik
We've audited this code, so the calls inside the closure should
be panic-free. Meanwhile the thread join() itself seems to be
panicing on windows. This will at least get us a more obvious
crash.

MozReview-Commit-ID: JXoDOOu2x0K

--HG--
extra : rebase_source : 661da4e8e8dc98e25b318a51c49a406ee86beb46
2016-05-24 14:42:42 -07:00
Jeff Muizelaar
3d15a7f63b Bug 1273640. Make some mp4 demuxer classes final. r=cpearce
This fixes some clang warnings about virtual destructors.
2016-05-24 15:38:48 -04:00
Munro Mengjue Chiang
f71af76062 Bug 1180725 - use AVFoundation for camera capture on OSX. r=jib 2016-05-19 22:48:55 +08:00
Michael Froman
9ebc499566 Bug 1155435 - connected negotiated REMB from sdp into VideoConduit, r=drno, r=jesup
MozReview-Commit-ID: 7B2V4JoltOx

--HG--
extra : transplant_source : %802d%00%D5%86%E8u%101o%7D%F4%C15%97%CD%3A%EA1
2016-05-19 10:23:45 -05:00
Michael Froman
a4bbff5e1f Bug 1155435 - add sdp RtcpFb for REMB, r=drno, r=jesup
MozReview-Commit-ID: Ga7so20UsMo

--HG--
extra : transplant_source : p%FE%99%96%130N%F5%D2%EB%BFl%C9vt%C8qqK%18
2016-05-20 16:38:29 -05:00
Byron Campen [:bwc]
495f614a9f Bug 1213773: Better handling of answer with direction of inactive in renegotiation. r=mt
MozReview-Commit-ID: Fjo2rBtIYvD

--HG--
extra : rebase_source : bc08c173713781e134de25d39e199aa405a0ca7f
2016-02-05 13:21:11 -06:00
Sebastian Hengst
e013fac160 Backed out changeset 998ed936f745 (bug 1228601) for reftest failure in 1frame_rotation_90.mp4. r=backout on a CLOSED TREE 2016-05-23 14:24:00 +02:00
Andreas Pehrson
5c1742c0d9 Bug 1271669 - Remove wallpaper constraints to the MediaStream argument to RTCPeerConnection.addTrack(). r=jib
This change RTCPeerConnection.addTrack() to allow any MediaStream as argument.

The MediaStream is in the end used as an identifier of how the tracks will be
grouped together on the receiving side of the peer connection.

MozReview-Commit-ID: 9wDPOmMHYDc

--HG--
extra : rebase_source : 5fd59853c2d207cbcdaa1e4a767b3c4de20a1beb
extra : histedit_source : 2b88e899a329df07a46c1f12e449956d59645cf7
2016-05-19 15:32:56 +02:00
Andreas Pehrson
59ed044326 Bug 1271669 - Remove GetVideoTrackByTrackId(). r=bwc
We have GetTrackById() now that does essentially the same thing.
Also, GetVideoTrackByTrackId() was too focused on the owning MediaStream and
didn't work.

MozReview-Commit-ID: 9z3rg4FI9H8

--HG--
extra : rebase_source : 7e295dc19b41b62f809977b6b73d2729f127d08a
extra : histedit_source : 39ab0f08939825c341b136150760e02c92fac970
2016-05-19 15:28:03 +02:00
Andreas Pehrson
8432f89c87 Bug 1271669 - Clean up some stream-centered code in MediaPipelineFactory. r=bwc
MozReview-Commit-ID: 8esaZmy7HVO

--HG--
extra : rebase_source : b98d20380596e3b14c00034ca38b5ff82ff11320
extra : histedit_source : 5e5dcbce95878404f743b142a075c601a4f46f24
2016-05-18 16:36:57 +02:00
Andreas Pehrson
02e322e6f2 Bug 1271669 - Don't rely on streams for getStats(). r=jib, r=bwc
MozReview-Commit-ID: 8I6YowAAGcW

--HG--
extra : rebase_source : 185c4dc7dffcd927b0c5c1ad5d34fcaacb857feb
extra : histedit_source : 9b796fbbf72103eab3eba13381ab6244b424751f
2016-05-18 15:00:21 +02:00
Andreas Pehrson
299b4666bb Bug 1271669 - Change AnyLocalStreamHasPeerIdentity to be per-track. r=mt
MozReview-Commit-ID: LltvHE9ROfT

--HG--
extra : rebase_source : 18e9c57fdb6ca42a6d33f7f57ad4c47ec2abb90d
extra : histedit_source : 0ee3b9159ef05179e803a375d2e6528da7dc7e5b
2016-05-18 12:55:07 +02:00
ctai
7e0671d483 Bug 1266647 - Clean NotifyQueuedTrackChange to only notify when command is track create and track end. r=jesup r=pehrsons
MozReview-Commit-ID: 4Pp3xHeBIW4

--HG--
extra : transplant_source : %D4c%13P%82Y%04%FA%0E%9D%9C%97%91%AAH%FCI%C3u_
2016-05-04 16:08:44 +08:00
Kilik Kuo
b0d32a9fb5 Bug 1228601 - [Part1] Store only supported video rotation informatin into VideoInfo.; r=mattwoodrow
MozReview-Commit-ID: GF1PpJGkGyA

--HG--
extra : transplant_source : %C5%FF%EB%29j%E2T_h%AC%22%8Ey%E0%91%C6%7Dh%1C%09
2016-05-13 02:17:39 +08:00
Matthew Gregan
f99185c1e7 Bug 1269768 - Treat multiple BlockAdditions elements in WebM as an error. r=giles 2016-05-23 12:56:52 +12:00
Randell Jesup
486d30379d Bug 1274083: don't return early from rate changes if we overflow r=jmspeex
MozReview-Commit-ID: DVSp3VpiIJw
2016-05-20 01:53:27 -04:00
Matthew Gregan
c3e2181bd1 Bug 1261900 - Update in-tree libnestegg. r=giles
This update pulls in nestegg_read_reset, nestegg_packet_has_keyframe, and
nestegg_packet_reference_block.
2016-04-22 22:54:27 +10:00
Daniel Holbert
8702f70bee Bug 1273965 part 3: Collapse & de-indent another else-after-return in MediaPipelineFactory.cpp, and drop a now-clearly-unnecessary NS_NOTREACHED. r=bwc
MozReview-Commit-ID: 6K4ng30gGPC

--HG--
extra : rebase_source : 57b8ae79d4ca6ecebd28fa066b0707f4834d9415
2016-05-18 10:56:00 -07:00
Daniel Holbert
104646ee7c Bug 1273965 part 2: Collapse & de-indent one else-after-return in MediaPipelineFactory.cpp, and drop a now-clearly-unnecessary NS_NOTREACHED. r=bwc
MozReview-Commit-ID: EJhWQf9DzyT

--HG--
extra : rebase_source : 4ed48214cf829d1ab07d05d3d034051437404370
2016-05-18 10:55:58 -07:00
Daniel Holbert
7a249caada Bug 1273965 part 1: Collapse some one-liner else-after-return patterns in MediaPipelineFactory.cpp. r=bwc
MozReview-Commit-ID: KXhQrteqdtI

--HG--
extra : rebase_source : e2400812af7c13c235c622367f918d865cd40312
2016-05-18 10:55:57 -07:00
Daniel Holbert
f2268be266 Bug 1273965 part 0: Drop "else" from some return-else-if statements in MediaPipelineFactory.cpp. r=bwc
MozReview-Commit-ID: EyKzyiY6Y8B

--HG--
extra : rebase_source : 15f66d2058a7fb32115318e6019698a739181236
2016-05-18 10:55:55 -07:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Carsten "Tomcat" Book
6ff722b9be Backed out changeset 1709366abefd (bug 1208373) 2016-05-13 13:51:41 +02:00
Andreas Pehrson
747b3ba5ed Bug 1208373 - End received audio tracks on closing of PeerConnection. r=jesup
MozReview-Commit-ID: 860jvDzHPhV

--HG--
extra : rebase_source : 51373373e320174fcf898b435fdce249e2351560
extra : source : ec1e6e9e48a26d73e29b6ba772f734b3525f52a1
2016-05-04 11:30:44 +02:00
Andreas Pehrson
4626d0a22c Bug 1206708 - Allow YUV images with gaps between planes in MediaPipelineTransmit. r=jesup
MozReview-Commit-ID: HZwQK8guBEr

--HG--
extra : rebase_source : 6e6e7d17342d37315848ab516be4e7e5469cc684
2016-04-12 15:12:49 +02:00
Andreas Pehrson
4abd5e4c78 Bug 1206708 - Make all WebRTC ImageContainers async. r=jesup,nical
This avoids expensive copying when compositing these frames on e10s.

MozReview-Commit-ID: LIeUhh6rjCf

--HG--
extra : rebase_source : 1919596f2cb61d25474993f209a632531d3797fa
2016-04-11 16:13:26 +02:00
Wes Kocher
43bc24c499 Backed out 2 changesets (bug 1271585) for media test failures
Backed out changeset 3967d009efc0 (bug 1271585)
Backed out changeset 01262a32c45f (bug 1271585)
2016-05-12 14:28:52 -07:00
Randell Jesup
4388c19bb5 Bug 1271585: Proxy audio data to a separate thread for encoding r=pehrsons
MozReview-Commit-ID: 2s12qlaklWD
2016-05-12 15:34:13 -04:00
Randell Jesup
f02760cc79 Bug 1213050: clean up TaskQueue before dropping references to it r=cpearce
Also adds assertion TaskQueue isn't trying to kill itself

MozReview-Commit-ID: 1AVuYcfnBBA
2016-05-12 00:53:19 -04:00
Nils Ohlmeier [:drno]
aeefdaab56 Bug 1271862: increase SDP session version when creating answers. r=bwc
MozReview-Commit-ID: KdFl9bq6AA1

--HG--
extra : rebase_source : 2f0460110899323c2c0849dd967cba9e771fceb3
2016-05-10 18:35:02 -07:00
Jean-Yves Avenard
9471487dcf Bug 1266260: P1. Fix overflow is speexdsp. r=padenot
Fix submitted upstream

Upstream version had a partial fix for overflow (though incomplete). I've included that fix here and completed it.

MozReview-Commit-ID: 5RyIMI5qrvC

--HG--
extra : rebase_source : 18a67d2ca8220a8129b69105413c33a81f7a6984
2016-05-11 12:15:13 +02:00
Jean-Yves Avenard
a137695351 Bug 1271847: Only adjust the samples once we have a complete moof. r=kentuckyfriedtakahe
MozReview-Commit-ID: 5TO0d20uUhZ

--HG--
extra : rebase_source : 0c0f0250d4fac6f3ffca736b6d79c7e4301e964e
2016-05-11 15:59:33 +10:00
Matthew Gregan
e4fd874441 Bug 1271866 - Drop NULL check from nestegg_read_packet. r=giles 2016-05-11 17:01:23 +12:00
Byron Campen [:bwc]
7ce7307ffa Bug 998546: Fire ontrack and onaddstream on time. r=drno
MozReview-Commit-ID: GnuC2Skv453

--HG--
extra : rebase_source : 3440777393223c7d0b21e1ba9cb7c20a9037866c
2016-04-27 07:09:11 -05:00
Randell Jesup
97ddc872ca Bug 1271429 - sdp_unittests needs to Shutdown() the pseudo-main thread before finishing r=bwc
MozReview-Commit-ID: Gw71pTxEzyA
2016-05-10 00:21:43 -04:00
Chris Pearce
46a1552995 Bug 1271242 - Remove GMPDecryptorCallback::SetCapabilities(). r=jwwang
Now that GMPParent detects whether gmp-clearkey can decode using AAC/H.264
using WMF before reporting gmp-clearkey's GMPParent can decode AAC/H.264, we
don't need the GMPDecryptorCallback::SetCapabilities() callback from the GMP to
signal to the PDMFactory that the GMP can decode. We can now trust what the
GMPService tells us.

So we can remove the "waiting for CDM caps" step in the state machine's startup
sequence. And all the plumbing. :)

If we need more caps, like for an decode-and-render path, we can declare those
as API strings in the info file.


MozReview-Commit-ID: E0QhU4cYhjo

--HG--
extra : rebase_source : 7d15ab6a45bac88c15c053f416d941b5fe0807b0
2016-05-10 10:28:38 +12:00
Jan Beich
fa238a23db Bug 1271041 - Switch DragonFly and NetBSD to pthread_condattr_setclock. r=jesup 2016-05-07 22:44:00 +02:00
Nathan Froyd
276488cf53 Bug 1220307 - part 2 - use something other than vector<T>::data() in TestMP4Rust.cpp; r=rillian
Our copy of STLport on Android is so old, it doesn't have support for
vector<T>::data().  The standard defines vector<T>::data() in terms of
vector<T>::front(), so this change should work everywhere.

--HG--
extra : rebase_source : 862d8745b49f48eadf026cbbddf20da7da2d0404
extra : source : 4e5db23bc712948e7371d69438033c03de29a00a
2016-05-06 15:09:36 -04:00
Wes Kocher
cfb9b30727 Backed out 3 changesets (bug 1220307) for failures in test_dialogArguments.html and test_iframe_sandbox_modal.html
Backed out changeset d74e9d5a64c3 (bug 1220307)
Backed out changeset 4e5db23bc712 (bug 1220307)
Backed out changeset b3397e0d5d8d (bug 1220307)
2016-05-06 12:38:36 -07:00
Nathan Froyd
29d2450973 Bug 1220307 - part 2 - use something other than vector<T>::data() in TestMP4Rust.cpp; r=rillian
Our copy of STLport on Android is so old, it doesn't have support for
vector<T>::data().  The standard defines vector<T>::data() in terms of
vector<T>::front(), so this change should work everywhere.
2016-05-06 15:09:36 -04:00
Matthew Gregan
dc5d4004b3 Bug 1270004 - Update libcubeb. rs=jesup 2016-05-06 10:36:41 +12:00
Nils Ohlmeier [:drno]
f746914c9a Bug 1268291: use ICE binding requests for consent refresh r=mjf
MozReview-Commit-ID: 9NBw2WBE5xJ

--HG--
extra : rebase_source : 2047c775c9e0083ab65420c1aead67642d67275e
2016-05-03 00:31:11 -07:00
Jan Beich
7a9638bef9 Bug 1269165 - Restore ALSA plugins detection on non-Linux after bug 757637. r=jesup
--HG--
extra : rebase_source : b655bc3c2928c18ab8ed3fb170926ea8213a122b
2016-04-30 21:52:00 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Nils Ohlmeier [:drno]
a4d7ea2e6b Bug 1269486: tests to verify new ICE controller setting restriction. r=mjf
MozReview-Commit-ID: EaJ2yE0Vwcr

--HG--
extra : rebase_source : 3d696984a16a7ada6da57b90424f1b351f1e589f
2016-05-04 10:53:29 -07:00
Nils Ohlmeier [:drno]
cd54d864ed Bug 1269486: allow setting ICE controller only once. r=bwc
MozReview-Commit-ID: AXyNyTZH1Jt

--HG--
extra : rebase_source : c8951fd5ada36d5c8ca25568e276fcb8cce0fbfc
2016-05-03 13:28:14 -07:00
Matthew Gregan
463eeffbb8 Bug 1270062 - Update libcubeb. rs=jesup 2016-05-05 07:55:13 +12:00
Sebastian Hengst
364419d47c Backed out changeset 6cfa5e25f30c (bug 1270062) for build bustage on Windows x64. r=bustage on a CLOSED TREE 2016-05-04 19:29:13 +02:00
Paul Adenot
a81dba9199 Bug 1270062 - Update libcubeb to revision 95b115e10e6280b934fc7d09a2c801055a2207f9.
Review by jesup on IRC.
2016-05-04 18:45:45 +02:00
Randell Jesup
2000e8ffcb Bug 1269930: don't crash if an AEC logfile fails to open r=pkerr
MozReview-Commit-ID: 4MgOZe5jO3p
2016-05-04 11:48:18 -04:00
Randell Jesup
8ea71955dd Bug 1269930: Fix some errant (though working) ifdefs in mods to upstream webrtc code r=pkerr
MozReview-Commit-ID: 3bCBD3I4fHO
2016-05-04 11:47:44 -04:00
Carsten "Tomcat" Book
5314427156 Merge mozilla-central to mozilla-inbound 2016-05-04 13:36:39 +02:00
Paul Adenot
fc68be72fb Bug 1270062 - Unbust Windows full duplex. a=Tomcat
MozReview-Commit-ID: EApTXpnCjz4
2016-05-04 13:28:50 +02:00
Carsten "Tomcat" Book
d6b419d1e9 Merge mozilla-central to mozilla-inbound 2016-05-04 11:58:38 +02:00
Carsten "Tomcat" Book
ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Jean-Yves Avenard
2faa2a9445 Bug 1269325: [mp4] Recalculate dts after adjusting cts. r=kentuckyfriedtakahe,r=gerald
CTS are adjusted so that all frames within a moof are contiguous and gapless. This means that the duration of each sample are updated accordingly. In MP4, the definition of a sample's duration is the delta between two decoding timestamp. As such, when changing the duration, the decode timestamp should be updated accordingly.

MozReview-Commit-ID: 8D8DeNeyzy
2016-05-04 15:21:03 +10:00
Georg Fritzsche
00fd93517c Bug 1261063 - Part 4 - Use a count histogram for WebRTC call counts. r=jesup 2016-05-03 18:07:45 +02:00
Carsten "Tomcat" Book
caa14246b6 Backed out changeset 094a64103807 (bug 1269692) for bustage on a CLOSED TREE 2016-05-03 12:13:49 +02:00
Carsten "Tomcat" Book
44c8e23809 Backed out changeset b1a5d5739f66 (bug 1220307)
--HG--
extra : rebase_source : e611cc0a2b400a4b8623c407536c9d17eddf8212
2016-05-03 12:01:23 +02:00
Paul Adenot
235503ca90 Bug 1269692 - Update cubeb to revision 17e3048d0afa1152776fb1867cdb61c49fae69e4.
This picks up the fixes for bug 1268675 and bug 1268499, both reviewed by
kinetik.

MozReview-Commit-ID: GLIDQgIGqch
2016-05-03 11:53:19 +02:00
Nathan Froyd
6b2e7cc04f Bug 1220307 - part 2 - use something other than vector<T>::data() in TestMP4Rust.cpp; r=rillian
Our copy of STLport on Android is so old, it doesn't have support for
vector<T>::data().  The standard defines vector<T>::data() in terms of
vector<T>::front(), so this change should work everywhere.
2016-05-02 12:10:07 -04:00
Jean-Yves Avenard
b21b1c955b Bug 1266129 - Upgrade ffvpx to 3.0.2. . r=ajones
--HG--
extra : amend_source : b82278fcfd71b4d7b0e37bb7b10f735cc770a59c
2016-04-28 21:31:18 +10:00
Martin Thomson
b5081bf610 Bug 1264470 - a=identity is a long attribute, r=bwc
--HG--
extra : rebase_source : 077cb5cf4017cce619ed59decd405d706683d620
2016-04-19 09:10:32 +10:00
Aryeh Gregor
f14f1babe8 Bug 1193762 part 8 - Fix things that will break; r=froydnj
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Byron Campen [:bwc]
c2d6cc516f Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : fd5d972f042baf0007d09579fe43893c1a787836
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
ac965bfc5a Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : d611712e2a7f0a29063ee5765dc66fb7ed9e5b0f
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
5fd2e18004 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : 590238bca757ff3e7c13202f5db1971084fe538d
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
ff7fa1e45c Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
73c29a05f5 Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Andi-Bogdan Postelnicu
66da00b99b Bug 1268449 - prevent memory leak in Resolve. r=ekr
MozReview-Commit-ID: 7K94oXrkhne

--HG--
extra : rebase_source : 3d7e08a7f50f8ac4550167f23d1334e941133e23
2016-04-28 14:13:55 +03:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Byron Campen [:bwc]
ca09368d22 Bug 1234578: Add an assertion. r=drno, a=abillings
MozReview-Commit-ID: 5Mq8CBmSDsu
2016-04-06 14:19:53 -05:00
Paul Adenot
3b6d6ce4d6 Bug 1267930 - When the wasapi rendering loop is stuck and we're shuttin down, leak the thread and continue the shutdown process. r=kinetik
It's probably better to not TerminateThread here, because we don't really know
what happened down the stack of the rendering loop, so we just leak it. This
happens during shutdown so it's not really an issue, it's going to be cleaned
up by the OS anyways.

MozReview-Commit-ID: 4o3Krj7L7m2
2016-04-28 12:02:14 +02:00
Wes Kocher
6a486eb10c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 56rcBPa9a6G
2016-04-27 14:16:30 -07:00
Wes Kocher
20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Wes Kocher
55d7bfae3f Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
MozReview-Commit-ID: 17mJDyZMVju

--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Matthew Gregan
de83009807 Bug 1267513 - Update libnestegg to pick up BlockGroup parsing fixes. r=giles 2016-04-27 15:25:26 +12:00
Yoshi Huang
7ae2e09f40 Bug 1263496 - Part 2: fix for NS_NULLPRINCIPAL_CONTRACTID. r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=NS_NULLPRINCIPAL_CONTRACTID&redirect=true
2016-04-27 18:38:03 +08:00
Nils Ohlmeier [:drno]
49438ee761 Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
MozReview-Commit-ID: ETkx1Z56bI8

--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Nils Ohlmeier [:drno]
696852ce71 Bug 929977: Add support for RFC 7675 ICE consent freshness. r=bwc,mt
MozReview-Commit-ID: HGRM10L0R3M

--HG--
extra : rebase_source : c50f8665230140096dd163bb5fbb13482a976c91
2016-04-26 13:11:25 -07:00
Byron Campen [:bwc]
475039d8aa Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 9ba82ea745c3aa8f4e3c14291aca36d68b775f7e
extra : source : e215c66a184b9424e76892673f2849d3bf262606
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
d99ec1f82d Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 162ab84cf48171a818e3aff7c65b4964a4989b05
extra : source : 99b6fffc375214bd061e729ed0462edbaec844ce
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
0654267081 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : d42f45b1e2bd7b96808ca814d25258904ce6ebfe
extra : source : 68ac205949c9b5d57f85689f660ebf9de119d384
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
18f4a13f02 Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
903901c97b Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
ctai
4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai
8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Charles Collicutt
5d60c22c60 Bug 1261414 - Don't build libav with sysctl on Unix (it's not used anyway). r=glandium 2016-04-12 13:15:00 +02:00
Jean-Yves Avenard
71b5b956c8 Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 71292f9f45e8a2d7e02e720ce367f291edaf00b8
2016-04-19 14:39:39 +10:00
Matthew Gregan
ff1d7be7b4 Bug 1266623 - Up/down mix WASAPI capture streams when stream formats don't match. r=padenot 2016-04-26 13:31:49 +12:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Carsten "Tomcat" Book
94cebd7b33 Backed out changeset a9fcd0e98cc3 (bug 1231981) 2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book
42f342e18c Backed out changeset 4cff2bed6747 (bug 1231975) 2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book
f49979964c Backed out changeset 1913c67263eb (bug 1231975) 2016-04-25 16:28:44 +02:00
Carsten "Tomcat" Book
8353eec0ac Backed out changeset 9d0c273048d6 (bug 1231975) 2016-04-25 16:28:42 +02:00
Carsten "Tomcat" Book
7cc02680ae Backed out changeset b21f8efbd341 (bug 1231975) 2016-04-25 16:28:41 +02:00
Byron Campen [:bwc]
543c799051 Bug 1266468: Respond to STUN requests with 400 if the component is failed. r=drno
MozReview-Commit-ID: 106OvQ7WLvp

--HG--
extra : rebase_source : 797c932080d07ff3d0be2fd20d9082944f1ac51d
2016-04-21 13:00:26 -05:00
Byron Campen [:bwc]
f508596540 Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
MozReview-Commit-ID: HwatO6UaeEX

--HG--
extra : rebase_source : 4fa178e6b2d715d5f7e56e7dd19d607830c31ff7
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
4262b60302 Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
MozReview-Commit-ID: ASbgh62xqQU

--HG--
extra : rebase_source : 3fdcbf69370a69556b6b34d1a9c8c142732e21f8
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
fb77b5d2b8 Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
MozReview-Commit-ID: CS1q6LyUsIe

--HG--
extra : rebase_source : efc3eb166d01de91c2d628540fda625155d8cd26
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
98c17059df Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
MozReview-Commit-ID: 1chfSrXeCL1

--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
50135632ac Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
MozReview-Commit-ID: CVbAYPrwpuB

--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Michael Froman
7de8875d6b Bug 1264416 - RollbackIceRestart wasn't resetting mIceRestartState. r=drno
MozReview-Commit-ID: BPmHKOCt9Im

--HG--
extra : transplant_source : %D7q%D9%A6%89%8C%B0C%1B%F5%B0%85%0E%C2%B0%03%C9%16u%B6
2016-04-21 00:35:57 -05:00
Jacek Caban
92367ea979 Bug 1244773 - Fixed ffvpx compilation on mingw. r=jya 2016-04-23 14:34:59 +02:00
Nils Ohlmeier [:drno]
9e5040ab92 Bug 1264351: removed hand break which disables ICE TCP on e10s r=jesup
MozReview-Commit-ID: 8Llssz59QwM

--HG--
extra : rebase_source : 0b624b9fc0e758eb7d09084493b4dcfe4ae0a0ec
2016-04-13 10:16:35 -07:00
Alex Chronopoulos
6f159ce8bf Bug 1266753 - Fix mac bustage: use the old enum values, on a CLOSED TREE. r=padenot
MozReview-Commit-ID: 3wr3iTG6IWY
2016-04-22 18:42:11 +02:00
Alex Chronopoulos
a60e62f398 Bug 1266753 - Update cubeb to revision dbdfb to pick up OSX device notification changes. r=padenot
MozReview-Commit-ID: 7N66FmG9P5u
2016-04-22 16:36:39 +02:00
Andreas Pehrson
54d652f0b5 Bug 1266685 - Don't pass too many frames to the MediaPipelineTransmit VideoFrameConverter. r=jesup
MozReview-Commit-ID: 4XwcfBW9nkY

--HG--
extra : rebase_source : 80a61240a214633f1023043b9cc3846df3fc2df9
extra : source : b9e6df3042ec08778f3c5f85d093367f8f9bce52
2016-04-15 16:00:09 +02:00
Chris Peterson
78f3e767ba Bug 1266293 - Remove unnecessary compiler version check and stdint polyfill for MSVS 2010 in webrtc/signaling/. r=drno 2016-04-18 22:51:47 -07:00
Carsten "Tomcat" Book
9d468452aa Backed out changeset a9bfe66b235c (bug 1264199)
--HG--
extra : rebase_source : f8151216bd24997a1f0de70ec515c920151a7dc4
2016-04-21 16:31:52 +02:00
Jean-Yves Avenard
a0ff91528b Bug 1264199: [speex] P7. Handle memory allocation failures during initialization. r=kinetik
Fix submitted upstream.

MozReview-Commit-ID: JpHoVKu2S7w

--HG--
extra : rebase_source : 592c0dcb4e01308116e0ea264a59fe9e592986b3
2016-04-19 14:39:39 +10:00
Wes Kocher
c65b052530 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Aas4kEyBseh
2016-04-20 14:19:25 -07:00
Wes Kocher
e5a7b1fed7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1WOpYvB2IHo
2016-04-20 13:54:50 -07:00
Wes Kocher
b8f98ffe9f Backed out 8 changesets (bug 1264199) for permafailing media mochitests on OSX 10.6 a=backout
Backed out changeset 0f20f2080824 (bug 1264199)
Backed out changeset 90351d2719be (bug 1264199)
Backed out changeset f484b42cbdda (bug 1264199)
Backed out changeset b79b62146120 (bug 1264199)
Backed out changeset f587df589b69 (bug 1264199)
Backed out changeset 02f781a573b4 (bug 1264199)
Backed out changeset d3677ae4c8ec (bug 1264199)
Backed out changeset d08288654ec9 (bug 1264199)

MozReview-Commit-ID: HVtiBSOxf7t
2016-04-20 11:01:36 -07:00