Commit Graph

2905 Commits

Author SHA1 Message Date
Ethan Hugg
add66c8c75 Bug 1144912 - WebRTC Screenshare has own default FPS r=jib 2015-03-23 19:17:07 -07:00
Martin Storsjö
72e8225eda Bug 1143491: Parse all trun boxes in MP4 fragments, not only the first one. r=jya 2015-03-23 11:39:27 +02:00
Jean-Yves Avenard
92147becc0 Bug 1146222: use nsAutoCString to store mimetype string. r=karlt
We use a nsAutoCString as the mimetype is typically less than 64 characters
and prevent a heap allocation (and the unecessary fragmentation linked to it)
2015-03-24 14:45:17 +11: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
c597406c8c Bug 1146204 - Build libopus in unified mode; r=cpearce 2015-03-23 02:31:41 -04:00
Edwin Flores
38b1730747 Bug 1145405 - Add shutdown checks to main thread dispatches in ClearKey CDM - r=cpearce 2015-03-23 07:59:42 +13: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]
dbc254e7e7 Bug 1144933: Only check that remote candidate is loopback in TestLoopbackOnlySortOf. r=drno 2015-03-18 16:34:50 -07: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
Jean-Yves Avenard
e3ec79be6f Bug 1145517: Part2. Follow exactly ITU H.264 7.3.1. r=cpearce
We wouldn't have properly handled sequence of more than two zeros and 0x03.
2015-03-20 19:44:39 +11:00
Jean-Yves Avenard
702d88d999 Bug 1145517: Properly skip the NAL's emulation prevention byte. r=cpearce
Fix typo.
If a sequence of 0x000003 is found, the 0x03 byte is to be skipped.
2015-03-20 18:39:11 +11:00
Matthew Gregan
7ce379889f Bug 1143968 - Allow a cubeb_stream in error to be stopped without triggering a fatal assert. r=padenot 2015-03-18 15:23:19 +13: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
Alexandre Ratchov
deb1ad625a Bug 1144087 - "Audio glitches on OpenBSD caused by rounding errors." r=kinetik 2015-03-18 12:19:00 +01: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
Jean-Yves Avenard
7079633692 Bug 1142433: Properly scale duration found in movie extend header box. r=k17e 2015-03-18 14:10:57 +11: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
Jean-Yves Avenard
fbd928f67b Bug 1100210: Mark MPEG2 Layer 1,2,3 audio as MP3. r=k17e
Extract data from ESDS atom's objectTypeIndication
2015-03-17 16:42:47 +11:00
Jean-Yves Avenard
5e81c329fe Bug 1143516: Ignore SPS's aspect ratio if value is nonsensical. r=cpearce 2015-03-17 16:42:02 +11:00
Matthew Gregan
00f0163e46 Bug 1142746 - Make unexpected SL_PLAYEVENT_HEADATMARKER notification non-fatal. r=brsun 2015-03-17 13:30:40 +13:00
Ryan VanderMeulen
4311846b80 Backed out changeset 7a53ee0cc3ae (bug 1136360) for Windows mochitest crashes. 2015-03-16 15:04:51 -04:00
Paul Adenot
cce8353510 Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01: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
Jean-Yves Avenard
802039679a Bug 1139271: Part3. Only consider a Box to be available if entire content is available. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard
6d7c84df95 Bug 1139271: Part2. Ignore partial moof. r=k17e 2015-03-16 23:08:56 +11:00
Jean-Yves Avenard
24ffd0669a Bug 1139271: Part1. Add logging when encountering invalid atoms. r=k17e 2015-03-16 23:08:55 +11:00
Bobby Holley
297188ca94 Bug 1141785 - Force all audio samples to be keyframes. r=k17e 2015-03-15 21:29:55 -07:00
Chris Peterson
df816519c2 Bug 1143336 - Fix and suppress -Wunreachable-code-return warnings in media code. r=cajbir 2015-03-14 13:47:51 -07:00
Phil Ringnalda
6799917ec4 Back out 7f1f85ee4ba6 (bug 1143278) for Win7 near-permaorange in test_eme_canvas_blocked.html 2015-03-15 18:30:53 -07:00
Chris Pearce
764285660f Bug 1143278 - Make gmp-clearkey not require a Win8 only DLL to decode audio on Win7. r=edwin 2015-03-15 11:30:24 +13: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
Byron Campen [:bwc]
bb655c03a8 Bug 1136252 - Part 1: Increase the number of instances of signaling_unittests that can be run in parallel. r=mt 2015-03-06 15:16:38 -08:00