Commit Graph

1713 Commits

Author SHA1 Message Date
Ryan VanderMeulen
89f3a33336 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Qiang Lu
9d8feab426 Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel 2015-07-24 12:45:55 -07:00
Byron Campen [:bwc]
123ad2aeb6 Bug 1182289: Clean up dispatches in WebrtcGmpVideoEncoder/Decoder. r=jesup, a=abillings 2015-07-14 09:20:28 -05:00
Nathan Froyd
a9f60f9111 Bug 1186040 - use XPCOM refcounting macros instead of mozilla::RefCounted in WebrtcGlobalParent.h; r=jesup 2015-07-21 11:26:56 -04:00
Jan-Ivar Bruaroey
b4079291a9 Bug 1184426 - Unprefix RTCIceCandidatePairStats.priority (formerly mozPriority). r=bwc, r=smaug 2015-07-15 22:43:37 -04:00
Andreas Pehrson
54871bbdbc Bug 1173654 - Part 4: Add detailed logging and asserts to MediaPipeline::ProcessVideoChunk. r=bwc 2015-07-16 09:30:39 +08:00
Andreas Pehrson
69dc526dc0 Bug 1173654 - Part 3: Attempt to GetDataSurface() and convert if sending pure I420 fails. r=bwc, r=jesup 2015-07-16 09:30:23 +08:00
Andreas Pehrson
14c7316b3a Bug 1173654 - Part 2: Use namespaces in MediaPipeline.cpp. r=bwc 2015-07-16 09:30:12 +08:00
Byron Campen [:bwc]
b8c4222b9e Bug 1142105 - Part 1: Move SDP helper code functions out of JsepSessionImpl and into a separate class. r=mt 2015-07-02 10:04:36 -07:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Randell Jesup
c620a6386e Bug 1181265 - wallpaper over windows (driver?) returning null ptr to GetStreamCaps r=pkerr 2015-07-09 14:23:58 -04:00
Julian Seward
f7bf0c1dcd Bug 1137169 - Uninitialised value uses related to mozilla::dom::WebAudioUtils::SpeexResamplerProcess. r=rjesup. 2015-07-08 20:11:52 +02:00
Emanuel Hoogeveen
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Martin Thomson
2402691c0f Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr 2015-07-06 10:40:04 -07:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Byron Campen [:bwc]
f594c39259 Bug 1112692: BundlePolicy support, and support for more than one BUNDLE group. r=mt, r=smaug 2015-06-12 14:27:08 -07:00
Byron Campen [:bwc]
a3b3e420c4 Bug 797262 - IPV6 support for webrtc. r=drno 2015-04-22 15:02:50 -05:00
Nathan Froyd
8780083336 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Nathan Froyd
0abc5f23b9 Bug 1175621 - make WrapRunnable* more efficient by utilizing moves in wrapper functions; r=ekr
Calls to WrapRunnable* copy their arguments already; we don't need to
copy them a second time when constructing the actual runnable.  In
addition to making things more efficient, this change also permits calls
to WrapRunnable to correctly handle objects that can only be moved, and
not copied.
2015-06-17 10:52:48 -04:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Nils Ohlmeier [:drno]
f7d0501047 Bug 891551 - Part 10: added user pref to turn of ICE TCP. r=mt 2015-06-18 23:02:33 -07:00
"Peter Tatrai ext:(%22)
941c4d85fe Bug 891551 - Part 5: Add support for TCP ICE candidates. r=bwc,jesup 2014-04-23 10:15:25 +02:00
Adrian Cruceru
8a688c9922 Bug 881742: Fix null-deref on OOM (or bad allocation size due to corrupted video) in webrtc upstream code r=jesup 2015-06-18 00:06:36 -04:00
Nathan Froyd
67848b768d Bug 1162026 - move WrapRunnable &co over to variadic templates; r=ekr 2015-05-05 16:21:37 -04:00
Andreas Pehrson
7e463e6df4 Bug 1172397 - Check for Conduit/Type mismatch on every frame. r=jesup, r=bwc 2015-06-08 14:43:48 +08:00
Ted Mielczarek
22de09f65f bug 1171143 - Fix iOS capture build. r=jesup 2015-02-28 19:47:07 -05:00
Ted Mielczarek
46ff58d424 bug 1171120 - Fix mtransport+signalling to build on iOS. r=ekr 2015-02-27 12:37:42 -05:00
Byron Campen [:bwc]
a9f136fd9e Bug 1170683: Do a better job in copying previous transport parameters into new offers/answers. r=mt 2015-06-02 17:15:40 -07:00
Andreas Pehrson
61cd5b21d6 Bug 1169125 - Part 2: Use UniquePtr for scoped delete of yuv data in MediaPipeline. r=bwc 2015-06-09 13:31:34 +08:00
Andreas Pehrson
4d0d1b1a47 Bug 1169125 - Part 1: Allow sending any DataSourceSurface-backed image over WebRTC and fix failure cases. r=bwc 2015-06-09 13:31:22 +08:00
Randell Jesup
5a2640a899 Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc 2015-06-05 20:27:38 -04:00
Phil Ringnalda
0926e0e518 Back out 08acee81ae64 (bug 1132318) for assertion failures in mochitest-3 media tests
CLOSED TREE
2015-06-05 19:41:53 -07:00
Randell Jesup
60490289f8 Bug 1132318: merge SelectSendFrameRate with SelectSendResolution r=bwc 2015-06-05 20:27:38 -04:00
Randell Jesup
b1740db715 Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc 2015-06-05 15:16:45 -04:00
Wes Kocher
39a9de47ef Backed out changeset 2cb094627289 (bug 822129) for cppunittest orange 2015-06-05 14:16:56 -07:00
Randell Jesup
2f96e4ab5b Bug 822129: don't alloc/free on every packet send in MediaPipeline r=bwc 2015-06-05 15:16:45 -04:00
Randell Jesup
fcc51b8063 Bug 1158372: clean up windows CreateCapabilityMap for video capture r=dmajor 2015-06-05 09:18:35 -04:00
Chris Pearce
537ab640fc Bug 1169129 - Change GMP*Parent::ParentId() to a more consistent GMP*Parent::GetPluginId(). r=edwin 2015-06-05 21:55:51 +12:00
Eric Rahm
9100016c49 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm
6348740bbb Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-03 15:22:37 -07:00
Eric Rahm
6d13987359 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-03 15:22:28 -07:00
Carsten "Tomcat" Book
9432818a46 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)
2015-06-02 13:05:56 +02:00
Randell Jesup
9ab3ef9df2 Bug 1159489: WebRTC bitrate limits for video depend on input resolution and framerate r=pkerr 2015-06-02 02:49:37 -04:00
Eric Rahm
14740fdf18 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm
879eaa5383 Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-01 22:17:28 -07:00
Eric Rahm
83ec610692 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 22:17:19 -07:00
Wes Kocher
fcc808d96c Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm
579c7d8013 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm
822c9dc07b Bug 1165515 - Part 11: Align CSFLogLevel with PR_LOG levels. r=jesup
This aligns CSFLogLevel with the corresponding PR_LOG levels by removing the
unused CRITICAL and NOTICE CSF log levels and renaming OBNOXIOUS to VERBOSE.

mozilla/Logging.h was moved into the implementation file so as to avoid
compilation errors in C-only code.
2015-06-01 14:31:00 -07:00
Eric Rahm
a50b98baa8 Bug 1165515 - Part 3: Convert PR_LOG_TEST to MOZ_LOG_TEST. r=froydnj 2015-06-01 14:31:00 -07:00
Chris Peterson
7d7e1f54b4 Bug 1170059 - Fix -Wunreachable-code clang warnings in webrtc/signaling. r=jesup 2015-05-31 19:38:34 -07:00
EKR
e19af1976d Bug 1169498 - Minor comment fix for NrIceCtx::Create(). r=bwc 2015-05-28 18:57:19 -07:00
Botond Ballo
53a2fa35ef Bug 1166583 - Move chromium's MakeTuple function into namespace 'base' to avoid conflicts with mozilla::MakeTuple. r=froydnj 2015-05-09 21:09:40 -05:00
Byron Campen [:bwc]
73667e8f17 Bug 1165129: Allow JS to reorder codecs in a local answer. Also means that we'll take the ordering more seriously when we see multiple codecs in a remote answer. r=jesup 2015-05-14 16:05:36 -07:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
f7fa42cc65 Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElements calls. r=froydnj 2015-05-28 11:07:43 -07:00
Byron Campen [:bwc]
3ac011ee65 Bug 1165520: Negotiate rtcp-fb r=jesup 2015-05-15 12:19:19 -07:00
Andreas Pehrson
7652ac46a8 Bug 1166183 - Reset PipelineListener's flag after ReplaceTrack(). r=bwc 2015-05-21 13:35:29 +08:00
Paul Adenot
b1f5faa9bf Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-21 13:35:29 +08:00
Byron Campen [:bwc]
6d7774c2dc Bug 1167306: Fix preprocessor goof that disabled the load manager and some preference handling. r=jesup 2015-05-21 13:45:55 -07:00
Byron Campen [:bwc]
2a94e43e38 Bug 952145: Rollback support r=mt, r=smaug 2015-03-19 17:32:51 -07:00
Byron Campen [:bwc]
a1d8ca677a Bug 1160280: Put ssrc attributes in recvonly m-sections. r=ekr 2015-04-30 13:03:16 -07:00
Byron Campen [:bwc]
09fa10628b Bug 1167274 - Do the right thing when accessing the proxyinfo fails for some reason. r=mt 2015-05-21 10:42:05 -07:00
Byron Campen [:bwc]
9518b29c35 Bug 818640 - Test that using dynamic payload types < 96 works. r=mt 2015-05-14 15:54:21 -07:00
Eric Rahm
bac140c6c1 Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Ryan Nath
cb48e05361 Bug 1142757 - Deallocate |inbuf| in the appropriate place to prevent memory leaks and close file streams of |inFile| and |outFile|. r=bwc 2015-05-19 12:25:00 -04:00
Byron Campen [:bwc]
d6e61cb609 Bug 1164575 - Log SDP in SetLocalDescription. r=mt 2015-05-13 11:25:35 -07:00
Carsten "Tomcat" Book
8dba4d8495 Backed out changeset c163ecde3b7f (bug 1166183) for m3 - m4 and dt4 test bustage on a CLOSED TREE 2015-05-20 16:09:20 +02:00
Paul Adenot
e8d51cafa2 Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-19 10:26:47 +02:00
Eric Rahm
32b4ff6b18 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Carsten "Tomcat" Book
c89cf51ff6 Backed out changeset 92c8a78a2c09 (bug 1166183) for perma timeouts in test_peerConnection_replaceTrack.html on a CLOSED TREE 2015-05-19 13:19:00 +02:00
Paul Adenot
8c3037da0a Bug 1166183 - Back out the direct listener removal landed by mistake in bug 1141781. r=jesup 2015-05-19 10:31:59 +02:00
Gervase Markham
4c293722f3 Bug 1076906 - Fix license headers for some WebRTC files, and provide LICENSE file. r=rjesup 2015-05-18 08:24:00 +02:00
Gerald Squelart
f052949f3d Bug 1163505 - PtrVector should disallow copies to prevent premature&double deletions - r=bwc 2015-05-17 16:19:00 +02:00
Byron Campen [:bwc]
af56a2b45a Bug 1164197 - Fix bad logging statement in sdp_parse_attr_rtr. r=mt 2015-05-13 13:00:22 -07:00
Byron Campen [:bwc]
c6f631ba3f Bug 1164582 - Report an error when the appdata portion of a webrtc msid is missing. r=mt 2015-05-13 11:54:06 -07:00
Ryan VanderMeulen
9bc9a44e62 Backed out changeset 41f03ff16f47 (bug 1163505) for bustage. 2015-05-17 18:57:48 -04:00
Gerald Squelart
379f102b93 Bug 1163505 - PtrVector should disallow copies to prevent premature&double deletions. r=bwc 2015-05-11 00:38:00 -04:00
Byron Campen [:bwc]
064750ddfd Bug 1155965 - Part 2: Verify that CreateOffer/Answer has been called when SetLocal is called. r=drno 2015-04-20 09:59:54 -05:00
Byron Campen [:bwc]
5aeca4a389 Bug 1155965 - Part 1: Test-cases. r=drno 2015-05-13 13:54:14 -07:00
Felix Janda
90108343b6 Bug 1152185 - Include port/generic/include also for mtransport/test and webrtc/signaling/test. r=ekr 2015-04-16 23:03:11 +02:00
Byron Campen [:bwc]
d3a93e1c5f Bug 1096795 - Put a=rtcp in SDP when gathering ends. r=mt 2015-05-08 15:52:41 -07:00
Ethan Hugg
6f354d3863 Bug 1164061 - Backout signaling unittest changes for tmmbr r=jesup 2015-05-12 09:15:00 -07:00
Ethan Hugg
6ee6ee823c Bug 1164061 - WebRTC - move TMMBR behind pref r=jesup 2015-05-12 08:33:48 -07:00
James Willcox
f25e9583cb No bug, fix WebrtcMediaCodecVP8VideoCodec.cpp warnings 2015-05-14 14:52:09 -05:00
Eric Rahm
cd83c06ab1 Bug 1164622 - Part 1: Remove instances of #ifdef PR_LOGGING in media. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Paul Kerr [:pkerr]
31eafd8cab Bug 1163859: Only update webrtc.debug prefs from gecko thread. r=rjesup 2015-05-13 21:08:30 -07:00
Lee Salzman
14cbb43882 Bug 1159273 - Allow loading of tree cairo and system cairo at the same time. r=glandium 2015-05-13 12:04:03 +09:00
Nils Ohlmeier [:drno]
4c6c45ea4a Bug 1087551: updated tests around addIceCandidate(). r=jib 2015-05-12 00:05:24 -07:00
Landry Breuil
f2a71add81 Bug 911450 - fix webrtc signaling tests build on OpenBSD. r=jesup r=rbarker r=glandium 2015-05-07 04:35:00 +02:00
Randell Jesup
1d0faa5625 Bug 1162251: Fix WebRTC jitter buffer ignoring partial frames if the packet holds a complete NAL r=ehugg a=prep for uplift (kwierso) 2015-05-07 20:05:20 -04:00
Paul Kerr [:pkerr]
11f70c671b Bug 1161619: RunStatsQuery leak fix. r=jib 2015-05-06 13:01:59 -07:00
Byron Campen [:bwc]
4ffd4b161f Bug 1161719: Fix bounds check in FilterSenderReport r=jesup 2015-05-05 15:10:25 -07:00
Byron Campen [:bwc]
cc41914b23 Bug 1161136: Ensure that mid is copied over before we disable answer m-sections. r=jesup 2015-05-04 12:02:35 -07:00
Paul Kerr [:pkerr]
92b365e4c3 Bug 1159320: disable-webrtc builds fail after bug 1100502 applied. r=rjesup 2015-05-06 09:29:33 -07:00
Byron Campen [:bwc]
cf77f99750 Bug 1161317: Fix bug where sendonly video RTCP would be treated as outgoing RTP r=jesup 2015-05-05 02:51:18 -04:00
Mike Conley
0049a10904 Bug 1146955 - Make the GMP pluginID a uint32_t, and dispatch it in the PluginCrashed event. r=jesup r=mrbkap 2015-05-04 15:40:29 -04:00
Randell Jesup
bdef901e7b Bug 1161079: Fix VideoCodecStats to allow for collecting encoder and decoder stats r=jib 2015-05-04 14:51:24 -04:00
Paul Kerr [:pkerr]
6ea16c23cf Bug 1100502: about:webrtc e10s fix. Content and chrome connections are reported. r=rjesup 2015-04-21 15:29:18 -07:00
Ethan Hugg
93569f4f8d Bug 1158627 - WebRTC return error if GetEmptyFrame returns null r=jesup 2015-04-26 13:13:46 -07:00
Nathan Toone
7a8e68b9f0 Bug 1158931 - Fix static assertion compilation error; r=snorp
Move the destructor for WebrtcAndroidMediaCodec to be protected instead of public.
2015-04-27 14:43:25 -05:00
Boris Zbarsky
f751c0a094 Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv 2015-04-27 09:18:52 -04:00
Qiang Lu
e4dba5af2b Bug 1106958 - Use android.media.MediaCodec for decoding in WebRTC stack. r=snorp, r=gcp, r=ted 2014-12-10 11:06:06 +08:00
Randell Jesup
0df6240241 Bug 1157766: mismatched DataChannel initial channel size in JSEP database breaks adding channels r=bwc 2015-04-23 16:17:18 -04:00
Byron Campen [:bwc]
375ebdbbc3 Bug 1155089: Fix hazard analysis bustage on a CLOSED TREE. r=bustage 2015-04-22 10:18:33 -07:00
Andreas Pehrson
5f8dfb5747 Bug 1155089 - Part 1: Reset |TrackID| for MediaPipelineTransmit::PipelineListener on replaceTrack(). r=bwc 2015-04-22 11:59:43 +08:00
Karl Tomlinson
ccac10c97f Bug 1156621 - Don't assume --without-system-nspr. r=glandium 2015-04-21 18:06:33 +12:00
Byron Campen [:bwc]
7ea87c9027 Bug 1152093: Perform case-insensitive comparisons for codec types. r=jesup 2015-04-09 15:40:48 -07:00
Denis Volk
cd6346cce0 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Ehsan Akhgari
71b98fc9da Bug 1155178 - Part 2: Rename GMPUnique to GMPUniquePtr; r=cpearce 2015-04-20 08:29:51 -04:00
Ehsan Akhgari
b695fb3ae4 Bug 1155178 - Part 1: Convert GMPUnique into a template alias; r=cpearce 2015-04-20 08:28:44 -04:00
Ethan Hugg
042fa20fdf Bug 1150609 Patch 3 - WebRTC enable tmmbr unittest changes. r=jesup 2015-04-06 11:57:27 -07:00
Ethan Hugg
774e333fa9 Bug 1150609 Patch 2 - WebRTC enable tmmbr r=jesup 2015-04-08 22:17:08 -07:00
Ethan Hugg
32b78d5ddc Bug 1150609 Patch 1 WebRTC SDP - add tmmbr to offer. r=jesup 2015-04-02 10:36:14 -07:00
Landry Breuil
028799d282 Bug 911450: sndio webrtc audio backend, build integration bits r=jesup 2015-04-10 21:36:54 +02:00
Jan-Ivar Bruaroey
47c0e1ea0a Bug 1153056 - Fix about:webrtc to not blank on zero allocated PeerConnections. r=jesup 2015-04-10 08:40:17 -04:00
Ryan VanderMeulen
9feefd9d6d Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Randall Barker
d023fe22e2 Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup 2015-04-09 09:15:00 -04:00
Juan Gomez
0a492f3bcd Bug 1087161 - Upgrading B2G toolchain to gcc-4.9
* Fixed some -Werror=format issues by making function-style castings
2015-04-09 18:13:39 +02:00
Felix Janda
3d91432a7a Bug 1130709: Make __BEGIN_DECLS and __END_DECLS explicit r=bwc 2015-02-07 11:18:52 +01:00
Byron Campen [:bwc]
6e4a43b7bf Bug 1151139: Simplify how we choose which streams to gather stats from. r=mt 2015-04-03 17:27:57 -07:00
Byron Campen [:bwc]
c483fe00c4 Bug 1149838: Do not suppress onnegotiationneeded before the first offer/answer. r=mt 2015-04-01 08:51:32 -07:00
Martin Thomson
7b12c6b26b Bug 996238 - ALPN support for WebRTC. r=ekr 2015-04-01 11:21:06 -07:00
Sotaro Ikeda
b292d956bb Bug 1143694 - Care about gralloc YV12 stride r=jesup 2015-04-02 09:28:11 -07:00
Peter Van der Beken
df7361d80a Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 2 - support asynchronous GMP API getters. r=jwwang,rjesup. 2015-02-10 11:48:29 +01:00
Carsten "Tomcat" Book
19c4c2a0e7 Backed out changeset 9ee10cfc0489 (bug 996238) 2015-04-01 16:14:10 +02:00
Martin Thomson
0d202db21c Bug 996238 - ALPN support for WebRTC. r=ekr 2015-03-31 16:01:52 -07:00
Byron Campen [:bwc]
f9a911e015 Bug 1149298 - Part 3: Fire end of candidates signal when StartGathering has nothing to do, and only call StartGathering once per offer/answer. r=drno 2015-03-30 16:32:51 -07:00
Nils Ohlmeier [:drno]
57acb1de1d Bug 1148572: improve H264 renegotiation handling. r=jesup 2015-03-30 20:48:28 -07:00
Mike Hommey
95e047925a Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Byron Campen [:bwc]
4237754af9 Bug 1146529 - Part 2: Rework part 1 to not rely on std::vector<UniquePtr>, since that is not supported by our buildconfig yet. r=jesup 2015-03-27 15:16:23 -07:00
Byron Campen [:bwc]
bad86587e8 Bug 1146529 - Part 1: Allow codecs to be "strongly preferred", and set this bit on H264 hardware codecs. r=jesup 2015-03-25 14:55:58 -07:00
Randell Jesup
d3ef4ed75b Bug 1147857: followup patch to continue BuildStats cleanup r=jib 2015-03-28 21:45:42 -04:00
Byron Campen [:bwc]
a671db2122 Bug 1147919 - Part 2: Lowercase fingerprint alg before comparing. r=drno 2015-03-27 13:26:16 -07:00
Byron Campen [:bwc]
4c867840e6 Bug 1147919 - Part 1: Make sure content gets an error callback when it does not use a fingerprint algorithm we support. r=drno 2015-03-26 10:39:07 -07:00
Byron Campen [:bwc]
14a1b14cc9 Bug 1146462: Close ICE transports when m-sections are disabled. r=drno 2015-03-23 16:56:08 -07:00
Byron Campen [:bwc]
67e194c8c8 Bug 1148004: Test case for media-level fingerprint attribute, as well as session-level fallback. r=jesup 2015-03-26 10:59:18 -07:00
Randell Jesup
fb02c876f6 Bug 1147857: be careful about WebRTC stats query creation r=jib 2015-03-27 15:52:56 -04:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Byron Campen [:bwc]
49e3732801 Bug 1147400: Do not check mid in answer if not present. r=drno 2015-03-25 09:18:59 -07:00
Ethan Hugg
a13d9a5d92 Bug 1144912 - WebRTC Screenshare has own default FPS r=jib 2015-03-23 19:17:07 -07:00
Paul Kerr [:pkerr]
49e45f4579 Bug 1100508: Easily capture about:webrtc page data for a bug reports. r=jib, r=mikedeboer 2015-03-23 12:37:30 -07:00
Byron Campen [:bwc]
9cd4464dd0 Bug 1144962 - Part 3: Remove more unused code, and some outdated comments. r=mt 2015-03-19 14:05:44 -07:00
Byron Campen [:bwc]
80e06a6b83 Bug 1144962 - Part 2: Remove some wrapper code in sipcc r=mt 2015-03-18 16:19:26 -07:00
Byron Campen [:bwc]
fb55f915d1 Bug 1144962 - Part 1: Delete most setters in sipcc. r=mt 2015-03-17 16:28:06 -07:00
Byron Campen [:bwc]
6424fe0c43 Bug 1141779: Fix H264 negotiation when level-asymmetry-allowed is not specified, and some cleanup. r=jesup 2015-03-10 17:35:50 -07:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Byron Campen [:bwc]
65249960e6 Bug 1144432 - Part 4: Unbust signaling_unittests r=mt 2015-03-18 14:56:19 -07:00
Byron Campen [:bwc]
bc0089cbcc Bug 1144432 - Part 3: Disable unused m-sections in answer, and fix a null ptr bug. r=mt 2015-03-18 14:55:36 -07:00
Byron Campen [:bwc]
0bedfc9633 Bug 1144432 - Part 2: Allow mid to change in renegotiation, check that mid doesn't change in answer, and disable some checking when the m-section was previously disabled. r=mt 2015-03-18 14:52:24 -07:00
Byron Campen [:bwc]
548216628b Bug 1144432 - Part 1: Test-case r=mt 2015-03-17 17:23:20 -07:00
Boris Zbarsky
988b8e01be Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Boris Zbarsky
b97b658efd Bug 1117172 part 2. Change the non-wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, Codegen.py, and
StructuredClone.cpp.  The rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/WrapObject\((JSContext *\* *(?:aCx|cx)),(\s*)(JS::MutableHandle<JSObject\*> aReflector)/WrapObject(\1,\2JS::Handle<JSObject*> aGivenProto,\2\3/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx)), this, aReflector/\1, this, aGivenProto, aReflector/'
2015-03-19 10:13:32 -04:00
Byron Campen [:bwc]
98795ff030 Bug 1141749: Prevent collisions in local SSRCs. r=mt 2015-03-10 13:54:34 -07:00
Byron Campen [:bwc]
4c95a67ce4 Bug 1097142: Remove sdp_copy_attr_fields and some other unused functions. r=mt 2015-03-17 15:48:29 -07:00
Christoph Kerschbaumer
dd47cc5b8c Bug 1144263 - Update remaining calles of newChannel to newChannel2 in media/webrtc (r=byron) 2015-03-17 14:20:14 -07:00
Daniel Holbert
2416fccac8 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Daniel Holbert
f8f373237f Bug 1143823 part 3: Make PeerConnectionMedia::PerformOrEnqueueIceCtxOperation() take a raw pointer instead of a nsRefPtr. r=bwc 2015-03-17 09:29:17 -07:00
Daniel Holbert
2a3c58ce60 Bug 1143823 part 2: Make PeerConnectionCtx::queueJSEPOperation take a raw pointer instead of a nsRefPtr. r=bwc 2015-03-17 09:29:17 -07:00
Paul Adenot
8e4ed8c8f0 Bug 1141781 - Grip the VideoFrameContainer when queing a call to invalidate in the MediaStreamGraph. r=roc 2015-03-16 18:12:36 +01:00
Karina Li
d323aedd72 Bug 1143556 - Set screen sharing mode or video mode for GMP plugin r=jesup 2015-03-16 14:27:28 +08:00
Byron Campen [:bwc]
346f0b25fc Bug 1141652: Simplify RTCP bundle filtering to only filter for receive pipelines, based only on the SR SSRC. r=jesup 2015-03-12 09:08:13 -07:00
Byron Campen [:bwc]
d0fba81faf Bug 1136252 - Part 6: Extend timeouts for RTP/RTCP, until bug 1137948 can be fixed. r=mt 2015-03-06 15:16:39 -08:00
Byron Campen [:bwc]
2020b9f7a4 Bug 1136252 - Part 5: Fix bug where candidates could be trickled before setRemote during renegotiation. r=mt 2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
b97a3a45b6 Bug 1136252 - Part 4: Remove/consolidate code in signaling_unittests. Includes removing most SDP checks, since that belongs in jsep_session_unittest. r=mt 2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
c147db92d6 Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt 2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
00ec4855fd Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt 2015-03-06 15:16:38 -08:00
Karina Li
20dd043a33 Bug 1138320 - Set screensharing mode or video mode for WebRTC video sources r=jesup 2015-03-12 14:14:29 +08:00
Sotaro Ikeda
705b478dfa Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
28242b71ba Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Byron Campen [:bwc]
197bed0e65 Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Ryan VanderMeulen
0c9cbc27b9 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE
2015-03-11 12:35:08 -04:00
Sotaro Ikeda
f119b09b55 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Byron Campen [:bwc]
cae69e38d3 Bug 1140635: Remove |magic_num| fields from sipcc. 2015-03-06 15:58:53 -08:00
Byron Campen [:bwc]
63b15e6e03 Bug 1140089: Call SetPullEnabled on all streams in PCMedia when offer/answer concludes. r=jesup 2015-03-06 14:37:11 -08:00
Wes Kocher
665d625c2f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
df94ebd0ae Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann
5b4403e770 Bug 1137151: Remove ref-counting from |OMXVideoEncoder| r=sotaro
Reference counting in |OMXVideoEncoder| is used inconsistently any actually
not necessary. This patch removed the code. Users are converted to auto
pointers.
2015-03-10 13:44:01 +01:00
Byron Campen [:bwc]
3a4900388d Bug 1140637: Add jsep_session_unittest to testing/cppunittest.ini, and unbust it. r=jesup 2015-03-09 14:45:46 -07:00
Cesar Guirao
07fa46f676 Bug 1139132: Fix Chroma offset on WebRTC remote video when width is not even r=jesup
Fixed chroma plane offset calculation when frame width/height is not even
2015-03-03 21:06:00 +01:00
Sotaro Ikeda
410f8f621f Bug 1140677 - Add RTPFragmentationHeader handling on gonk r=jesup 2015-03-09 18:36:23 -07:00
Ethan Hugg
3ac0d1313e Bug 1140648 - WebRTC check codec config max frame rate is set before using r=jesup 2015-03-06 19:05:11 -08:00
Byron Campen [:bwc]
e5c962d6d8 Bug 1133051: Clean up SctpFlows on STS r=mt 2015-02-13 13:32:01 -08:00
Randell Jesup
287d4b458d Bug 1137472: test vp9 sdp in sdp_unittests r=bwc 2015-03-03 23:46:16 -05:00
Randell Jesup
ca62a50ed0 Bug 1137472: Basic VP9 signaling/pipeline/conduit support r=bwc 2015-03-03 01:31:33 -05:00
Randell Jesup
264940a91d Bug 1137474: Fix depacketization of "Generic" encoded RTP video r=pkerr 2015-03-03 01:31:33 -05:00
Randell Jesup
fcf90a49d8 Bug 1137474: Basic vp9 support added to upstream (using 'generic' packetization) r=pkerr 2015-03-03 01:31:33 -05:00
Andreas Pehrson
11057e57a1 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
d3e1679cb5 Bug 1129263 - Part 5. Add intial remote PeerConnection tracks atomically to SourceMediaStream. r=jesup 2015-02-11 16:21:11 +08:00
Chris Peterson
92dd727714 Bug 1136004 - Fix -Wthread-safety-analysis warning in webrtc. r=jesup 2015-03-02 19:51:29 -08:00
Byron Campen [:bwc]
e6d79f9627 Bug 1133866: Some refactoring and simplification in JsepSessionImpl. r=mt 2015-02-25 08:36:01 -08:00
Ethan Hugg
c740f6dda1 Bug 1137508 Change H264 maxPayloadSize to 0 for Mode 1 r=jesup 2015-02-26 15:29:36 -08:00
Gian-Carlo Pascutto
13f13d3a23 Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup 2015-02-25 08:31:11 +01:00
Byron Campen [:bwc]
def936e25d Bug 1135902: Set stream id on fake media streams. r=drno 2015-02-23 15:19:17 -08:00
Ehsan Akhgari
fce72f0392 Bug 1135753 - Mark some overridden virtual functions in WebRTC as MOZ_OVERRIDE; r=mt 2015-02-24 09:51:57 -05:00
Randell Jesup
35b09e3606 Bug 1136004: fix TSAN warning in webrtc when RED isn't enabled r=cpeterson 2015-02-24 02:08:04 -05:00
Gian-Carlo Pascutto
a5866d791e Bug 1134991 - Failure to set up voice communication mode in OpenSLES should not be fatal. r=jesup 2015-02-20 19:13:13 +01:00
Randell Jesup
8bdecb1c77 Bug 1128116: Fix decoding H264 in webrtc where SPS & PPS aren't in a STAP-A packet r=ehugg
FF 37 and before didn't encode SPS/PPS into a STAP-A packet, and the
webrtc.org in branch 40 code doesn't handle that (common) case.
2015-02-22 19:10:59 -05:00
Nils Ohlmeier [:drno]
e701d38674 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00