Commit Graph

1045 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
2f71229f66 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]
def59aad67 Bug 1148572: improve H264 renegotiation handling. r=jesup 2015-03-30 20:48:28 -07:00
Mike Hommey
4da5ed0b71 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]
1b489c42d6 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]
9340e1ad35 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
19ca78b681 Bug 1147857: followup patch to continue BuildStats cleanup r=jib 2015-03-28 21:45:42 -04:00
Byron Campen [:bwc]
ff8b608e91 Bug 1147919 - Part 2: Lowercase fingerprint alg before comparing. r=drno 2015-03-27 13:26:16 -07:00
Byron Campen [:bwc]
0484bd79e4 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]
75d2653edb Bug 1146462: Close ICE transports when m-sections are disabled. r=drno 2015-03-23 16:56:08 -07:00
Byron Campen [:bwc]
18ee011cb7 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
079d0d4ca9 Bug 1147857: be careful about WebRTC stats query creation r=jib 2015-03-27 15:52:56 -04:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Byron Campen [:bwc]
6e4656da4f Bug 1147400: Do not check mid in answer if not present. r=drno 2015-03-25 09:18:59 -07:00
Paul Kerr [:pkerr]
7e49f9956e 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]
10574c34de 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]
2041ff5f5a Bug 1144962 - Part 2: Remove some wrapper code in sipcc r=mt 2015-03-18 16:19:26 -07:00
Byron Campen [:bwc]
08f53cf939 Bug 1144962 - Part 1: Delete most setters in sipcc. r=mt 2015-03-17 16:28:06 -07:00
Byron Campen [:bwc]
80d701af3d 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
33bb32f549 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]
43b4359211 Bug 1144432 - Part 4: Unbust signaling_unittests r=mt 2015-03-18 14:56:19 -07:00
Byron Campen [:bwc]
63846c0976 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]
69c2331adb 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]
cda6f6966e Bug 1144432 - Part 1: Test-case r=mt 2015-03-17 17:23:20 -07:00
Boris Zbarsky
54c64f20a9 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
50b622a067 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]
02bca690ac Bug 1141749: Prevent collisions in local SSRCs. r=mt 2015-03-10 13:54:34 -07:00
Byron Campen [:bwc]
e2aacb9116 Bug 1097142: Remove sdp_copy_attr_fields and some other unused functions. r=mt 2015-03-17 15:48:29 -07:00
Christoph Kerschbaumer
9acd2ec010 Bug 1144263 - Update remaining calles of newChannel to newChannel2 in media/webrtc (r=byron) 2015-03-17 14:20:14 -07:00
Daniel Holbert
2c24121797 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
8d39ac4b8c 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
18ebe3d386 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
d4f37ca0bf 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
5f5b858892 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]
abf4565524 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]
e1bf9ab649 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]
39d440e134 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]
0e15eb28c4 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]
d085984c4d Bug 1136252 - Part 3: Remove some unnecessary sleeps in signaling_unittests. r=mt 2015-03-06 15:16:38 -08:00
Byron Campen [:bwc]
9077106c43 Bug 1136252 - Part 2: Wait for less RTP in signaling_unittests. r=mt 2015-03-06 15:16:38 -08:00
Karina Li
b6128d188d Bug 1138320 - Set screensharing mode or video mode for WebRTC video sources r=jesup 2015-03-12 14:14:29 +08:00
Sotaro Ikeda
4990e78217 Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 12:32:38 -07:00
Jan-Ivar Bruaroey
d56642e463 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Byron Campen [:bwc]
1fc68b315e Bug 1136871 - Part 2: Clear up some inconsistencies with ReplaceTrack r=jib,smaug 2015-03-11 12:08:21 -04:00
Ryan VanderMeulen
3b328f07d7 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
f1036a12da Bug 1137515 part 2 - Change to media r=jesup 2015-03-11 07:18:23 -07:00
Byron Campen [:bwc]
0e8278219d Bug 1140635: Remove |magic_num| fields from sipcc. 2015-03-06 15:58:53 -08:00
Byron Campen [:bwc]
2a9d3f8962 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
f303b4d81c Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-10 15:44:53 -07:00
Carsten "Tomcat" Book
b3a1935b89 Merge mozilla-central to b2g-inbound 2015-03-10 14:07:36 +01:00
Thomas Zimmermann
f87dc13636 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