Commit Graph

1411 Commits

Author SHA1 Message Date
Boris Zbarsky
dc24477d79 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
d0ebde3bb7 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]
d799e4b5c3 Bug 1141749: Prevent collisions in local SSRCs. r=mt
--HG--
extra : rebase_source : f28488aa956b8eb33a6b812e1f88ec9623132f93
2015-03-10 13:54:34 -07:00
Byron Campen [:bwc]
320d5f8bf7 Bug 1097142: Remove sdp_copy_attr_fields and some other unused functions. r=mt
--HG--
extra : rebase_source : 363f4c9f0d13bd890fdffd6fa83f0cf79d29b93a
2015-03-17 15:48:29 -07:00
Christoph Kerschbaumer
8998afc8f6 Bug 1144263 - Update remaining calles of newChannel to newChannel2 in media/webrtc (r=byron) 2015-03-17 14:20:14 -07:00
Daniel Holbert
082fd9cd7f 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
3b00e54dbd 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
fca4e2056d 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
e95766a93b 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
60b4c34dcf 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]
f06b0305e8 Bug 1141652: Simplify RTCP bundle filtering to only filter for receive pipelines, based only on the SR SSRC. r=jesup
--HG--
extra : rebase_source : fa0f2603cd8ffd72a79ef4185b830664e82293ba
2015-03-12 09:08:13 -07:00
Byron Campen [:bwc]
ab30f80690 Bug 1136252 - Part 6: Extend timeouts for RTP/RTCP, until bug 1137948 can be fixed. r=mt
--HG--
extra : rebase_source : 1711785774baef8a91b5a0df13e21576887645c8
2015-03-06 15:16:39 -08:00
Byron Campen [:bwc]
c9db00156b Bug 1136252 - Part 5: Fix bug where candidates could be trickled before setRemote during renegotiation. r=mt
--HG--
extra : rebase_source : 45e085c338afc7670e9ea9f73c60291f0965cfa1
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
b60b6ef28e Bug 1136252 - Part 4: Remove/consolidate code in signaling_unittests. Includes removing most SDP checks, since that belongs in jsep_session_unittest. r=mt
--HG--
extra : rebase_source : 404cadd9d484a1665bbf269950d32de6b49931f3
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
e76afb6880 Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt
--HG--
extra : rebase_source : 6b8520268248eace23bd046b5a353f2f35401fd4
2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
55e37fd806 Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt
--HG--
extra : rebase_source : 3925bbf3893e01f2b464eb2aa8dab9f9619a0943
2015-03-06 15:16:38 -08:00
Karina Li
635891f77c Bug 1138320 - Set screensharing mode or video mode for WebRTC video sources r=jesup 2015-03-12 14:14:29 +08:00
Sotaro Ikeda
ccf07f5419 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
d132e36539 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Byron Campen [:bwc]
6fb59a4364 Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Ryan VanderMeulen
d4a838cbc3 Backed out changesets cd5ec762afa1 and fad66e8fe874 (bug 1137515) for Nexus 5-L bustage.
CLOSED TREE

--HG--
extra : rebase_source : 59680d649177809d0a31d87091ab9d18070f7a0f
2015-03-11 12:35:08 -04:00
Sotaro Ikeda
80cec56356 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Byron Campen [:bwc]
d8c62b90a3 Bug 1140635: Remove |magic_num| fields from sipcc.
--HG--
extra : rebase_source : 33058033dedf71951bc4d8f435425c18ec875565
2015-03-06 15:58:53 -08:00
Byron Campen [:bwc]
662eee2c7e Bug 1140089: Call SetPullEnabled on all streams in PCMedia when offer/answer concludes. r=jesup
--HG--
extra : rebase_source : 4fce2dc54b67a04b3d9836bfc05baeb000257f8b
2015-03-06 14:37:11 -08:00
Wes Kocher
d8ac0068e5 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
cc4d1b9af9 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann
9823b29ee9 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]
f6c5da1b53 Bug 1140637: Add jsep_session_unittest to testing/cppunittest.ini, and unbust it. r=jesup
--HG--
extra : rebase_source : 91980628dd06114ab24be29c9b77629fef387619
extra : amend_source : 10cd425cafef72cc3555b27e1f05acf25e8ec856
2015-03-09 14:45:46 -07:00
Cesar Guirao
0ac97b635c 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
d35482f7d7 Bug 1140677 - Add RTPFragmentationHeader handling on gonk r=jesup 2015-03-09 18:36:23 -07:00
Ethan Hugg
13e1747bf3 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]
d19ee72543 Bug 1133051: Clean up SctpFlows on STS r=mt
--HG--
extra : rebase_source : cbc09ce944e4580e3e190766767612b98a8ced61
2015-02-13 13:32:01 -08:00
Randell Jesup
fef42c5c7a Bug 1137472: test vp9 sdp in sdp_unittests r=bwc 2015-03-03 23:46:16 -05:00
Randell Jesup
00a74cff8f Bug 1137472: Basic VP9 signaling/pipeline/conduit support r=bwc 2015-03-03 01:31:33 -05:00
Randell Jesup
c9b6a04ac4 Bug 1137474: Fix depacketization of "Generic" encoded RTP video r=pkerr 2015-03-03 01:31:33 -05:00
Randell Jesup
f91175ae7f Bug 1137474: Basic vp9 support added to upstream (using 'generic' packetization) r=pkerr 2015-03-03 01:31:33 -05:00
Andreas Pehrson
9b19093204 Bug 1129263 - Part 6. Remove DOMMediaStream::TrackTypeHints. r=roc,jesup 2015-02-09 15:23:34 +08:00
Andreas Pehrson
68db4947b3 Bug 1129263 - Part 5. Add intial remote PeerConnection tracks atomically to SourceMediaStream. r=jesup 2015-02-11 16:21:11 +08:00
Chris Peterson
e4a0d35e15 Bug 1136004 - Fix -Wthread-safety-analysis warning in webrtc. r=jesup 2015-03-02 19:51:29 -08:00
Byron Campen [:bwc]
c1cdd99c64 Bug 1133866: Some refactoring and simplification in JsepSessionImpl. r=mt
--HG--
extra : rebase_source : 64e445b182c7b1fad514d354cc6bf1f4abfecd7f
2015-02-25 08:36:01 -08:00
Ethan Hugg
b7a81f04b3 Bug 1137508 Change H264 maxPayloadSize to 0 for Mode 1 r=jesup 2015-02-26 15:29:36 -08:00
Gian-Carlo Pascutto
1482147cb9 Bug 1123012 - Just return a NULL ptr instead of casting NULL. r=jesup 2015-02-25 08:31:11 +01:00
Byron Campen [:bwc]
1c767dd0c0 Bug 1135902: Set stream id on fake media streams. r=drno
--HG--
extra : rebase_source : edf3e19236c05d6040ae2320d7f385105a30efe2
extra : amend_source : 79efc1ed9537b5710516e9883dc91f45c344847e
2015-02-23 15:19:17 -08:00
Ehsan Akhgari
5bff0c0b03 Bug 1135753 - Mark some overridden virtual functions in WebRTC as MOZ_OVERRIDE; r=mt 2015-02-24 09:51:57 -05:00
Randell Jesup
05c71da4ba 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
71cad0a045 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
1d16a313f3 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]
b25a2bb677 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Nils Ohlmeier [:drno]
629772a073 Bug 1089798 - Implemenation of MediaStream IDs. r=bwc 2015-02-19 12:59:00 -05:00
Steve Singer
4f3952c197 Bug 1130223 - Add an implementation to the big endian conditional. r=jesup 2015-02-15 09:36:00 +01:00