Commit Graph

598 Commits

Author SHA1 Message Date
Ehsan Akhgari
6e1c0719df Merge mozilla-central into mozilla-inbound 2013-02-02 13:53:46 -05:00
Randell Jesup
7c163ea485 Bug 788185: add a/v sync to Audio/Video Conduits r=derf 2013-02-02 08:46:54 -05:00
Adam Roach [:abr]
f8ab8f1ffe Bug 823056: Move locks to protect linked_ptr<> instances r=ehugg 2013-02-01 16:19:24 -06:00
Robert O'Callahan
4e5c2a4b8a Bug 830707. Part 3: Don't constrain AudioSegment to a fixed number of channels. r=jesup
--HG--
extra : rebase_source : feacede00821b6673ce04c886a9c3727a4989404
2013-01-21 09:44:44 +13:00
Adam Roach [:abr]
a681906644 Bug 834383: Ensure PeerConnectionImpl destructor doesn't use globals after they're gone r=jesup,bsmith 2013-01-30 15:31:22 -06:00
Andrew Miller
a3d39b9bfa Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Ryan VanderMeulen
c66b40cd52 Backed out changeset 70872c020944 (bug 834383) speculatively to see if it fixes the random timeouts in test_peerConnection_basicAudio.html and friends.
CLOSED TREE
2013-01-31 20:24:18 -05:00
Ryan VanderMeulen
373b364c09 Backed out changeset b1e8d7154488 (bug 834100) for Fedora64 M3 orange. 2013-01-31 17:14:13 -05:00
Andrew Miller
f58619e166 Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Adam Roach [:abr]
1ce94cf955 Bug 834383: Ensure PeerConnectionImpl destructor doesn't use globals after they're gone r=jesup,bsmith 2013-01-30 15:31:22 -06:00
Randell Jesup
500fe870eb Bug 818670: Ensure PipelineListener doesn't release conduit off main thread r=derf 2013-01-30 21:26:45 -05:00
Randell Jesup
a072473354 Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
83c2fd91ec Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Daniel Holbert
dff32419e8 Bug 812278 followup: Remove a few more unnecessary semicolons after MOZ_MTLOG_MODULE(), for consistency. (no review) 2013-01-30 13:13:36 -08:00
Ed Morley
58ea6b383c Backout 40f09f7bc670 & fc262e3c635f (bug 818670) for frequent fedora64 mochitest-3 leaks on a CLOSED TREE 2013-01-30 10:32:11 +00:00
Daniel Holbert
929d986e52 Bug 834768: Fix signed/unsigned comparison build warnings in signaling_unittests.cpp. r=jesup 2013-01-29 20:03:42 -08:00
Randell Jesup
505ded4fda Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
5bfe28ca5c Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf 2013-01-29 11:55:09 -05:00
Ed Morley
367cd59d9d Backout df75a87cce60 & 19e164f7d88d (bug 818670) for build bustage on a CLOSED TREE 2013-01-29 17:28:30 +00:00
Randell Jesup
38a431722d Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
abaf7857dc Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM r=derf 2013-01-29 11:55:09 -05:00
Boris Zbarsky
c6638a677b Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Phil Ringnalda
426c47cdf0 Back out c5238879470f and b3cabb259af7 (bug 830099) for bustage 2013-01-28 22:36:59 -08:00
Boris Zbarsky
719c7bf030 Bug 830099. Flag WebIDL dictionaries and callbacks with some information indicating whether we need main-thread and worker codegen for them and then use that information to skip unneccessary codegen. r=peterv 2013-01-28 23:30:17 -05:00
Ethan Hugg
aba52e62fb Bug 835290 MediaPipeline - replace attempted += of ints with PR_snprintfs r=jesup 2013-01-28 12:26:32 -08:00
EKR
6e6d470f56 Bug 816780 - Merge all incoming m-lines into one MediaStream. r=jesup,abr 2013-01-24 08:34:18 -08:00
Justin Lebar
00a0bba88a Backed out changeset 9b803c2821b9 (bug 818843) due to B2G device build breakage on Mac. rs=jesup
--HG--
extra : rebase_source : 981d5e9504c69eb76112fca35fd0a36110593659
2013-01-25 17:14:05 -05:00
Jan-Ivar Bruaroey
0995673625 Bug 834463: Corrected RTCConfiguration format. r=jst 2013-01-24 17:58:29 -05:00
Jan-Ivar Bruaroey
4da08a17f1 Bug 825703: Stun configuration from JS for PeerConnections (IP only) r=bz,jesup 2013-01-23 14:21:25 -05:00
EKR
a9a1f3a5ed Bug 786236: Per-context configurable STUN servers. r=abr 2013-01-05 11:40:34 -08:00
Randell Jesup
7bec764b3a Bug 832683: Match SRTP policy values to enable NACK mode in webrtc r=ekr 2013-01-23 16:41:35 -05:00
Steven Lee
28db8f365c Bug 818843 - Media changes. r=rjesup 2013-01-23 18:08:16 -05:00
Ethan Hugg
932560ee43 Bug 806825 - Fix possible data race of PeerConnectionCtx::mSipccState r=jesup 2013-01-22 11:25:04 -08:00
EKR
9bf70cc915 Bug 829757 - Clean up a=candidate stripping. r=abr 2013-01-19 15:18:28 -08:00
Randell Jesup
ca3161f4d1 Bug 832567: Adjust minimum default bitrate to 200Kbps until we support lower resolutions rs=me 2013-01-21 03:49:57 -05:00
Randell Jesup
d8bbecd100 Bug 832567: transmitting-only channels weren't accepting RTCP; turn off NACK mode and block bad outgoing RTCP from transmit-only channels r=ekr 2013-01-21 03:49:55 -05:00
EKR
615b59944e Bug 831764. Reverse DTLS client/server selection to more closely match RFC 5763. r=jesup 2013-01-17 07:54:53 -08:00
EKR
ddea6fdd5f Bug 829624 - Always use 80-bit MAC with SRTCP. r=jesup 2013-01-18 13:03:17 -08:00
Randell Jesup
e940f1fcfd Bug 831831: Don't ignore incoming RTCP; don't make webrtc code think no bytes were sent r=ekr 2013-01-18 10:45:53 -05:00
Adam Roach [:abr]
c26dd6c6e1 Bug 824919: Weaken key references to PeerConnection and friends r=jesup,smaug,ekr 2013-01-17 17:11:14 -06:00
EKR
ccd851b350 Strip a= from trickle ICE candidates
Bug 829757 - Accept a=candidate ICE candidates (for now). r=ehugg
2013-01-17 09:18:06 -08:00
Adam Roach [:abr]
d1649a65c9 Bug 829461: Check for NULL media stream r=ehugg 2013-01-17 15:32:16 -06:00
Randell Jesup
51ac10a00c Bug 826807: Clean up JSAPI error handling in PeerConnection constraints r=bz 2013-01-17 16:23:44 -05:00
Randell Jesup
3aa82fb6d0 Bug 837161: don't assert mainthread in AudioConduit create/init/destroy if in a unittest r=ehugg 2013-02-01 13:28:38 -05:00
Ethan Hugg
b93e607197 Bug 822197 Handle creation of more PeerConnections than MAX_LINES r=jesup 2013-01-15 13:11:47 -08:00
Ryan VanderMeulen
e1e12091ba Backed out changeset cebb008a72f9 (bug 824919) for mochitest b-c orange.
CLOSED TREE
2013-01-14 22:01:12 -05:00
Adam Roach [:abr]
f6c5f21152 Bug 824919: Weaken key references to PeerConnection and friends,r=jesup,smaug,ekr 2013-01-14 17:00:20 -06:00
Adam Roach [:abr]
a243ffc4dc Bug 829761: Remove inactive check for sdpmode if port != 0, r=ekr 2013-01-14 16:38:38 -06:00
EKR
143985920e Bug 828027 - Lower-case digest algorithm names r=ehugg 2013-01-14 09:10:38 -08:00
Chris Peterson
61b4d90206 Bug 829344 - Part 3: Fix gcc -Wlogical-op warnings in SIP code. r=jesup 2013-01-10 15:19:26 -08:00
Robert O'Callahan
cf8fbf13e1 Bug 827537. Refactor AudioChunk to support having separate buffers for each channel. r=jesup
--HG--
extra : rebase_source : 0aa26e1c3181d9fe5158520d4b33248bae0fa5d0
2012-11-22 18:04:27 +13:00
Chris Peterson
9bb826d9ee Bug 785918 - Part 1: Replace PR_ARRAY_SIZE() with mozilla::ArrayLength() and MOZ_ARRAY_LENGTH(). r=ehsan 2013-01-05 23:37:25 -08:00
Ehsan Akhgari
304e36fea0 Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Doug Turner
a9eb151cf8 Backout c9831bed6bb7 - Bug 818843 - This change broke building B2G on the mac. r=me
--HG--
extra : rebase_source : 7bef8dc1c394d45302f17379ab2cbd90ecda6975
2013-01-07 08:48:24 -08:00
Steven Lee
fb7916fef7 Bug 818843 - Media changes. r=rjesup 2013-01-06 22:24:14 -05:00
Randell Jesup
221f6ac665 Bug 805251 - Minimal fix for creation refcount and transport release r=ekr,derf 2013-01-06 22:01:23 -05:00
Ethan Hugg
86f510779d Bug 825785 Signaling - monitor threads for shutdown r=jesup 2013-01-03 19:12:28 -08:00
EKR
41ca9a78eb Bug 825611 - Fix unit tests to match fix to MediaPipeline. r=jesup 2013-01-05 14:52:11 -08:00
EKR
d9f2a41f28 Bug 825611 - Have MediaPipeline deliver as much media as requested. r=jesup 2013-01-05 09:02:36 -08:00
Jan-Ivar Bruaroey
80ca76c7ad Bug 820538: Added media-ptr check because of NS_DISPATCH_SYNC. r=rjesup 2013-01-04 23:01:56 -05:00
Maire Reavy
ec25adc6cd bug 822956 - correct chunk_remaining calculation r=ekr 2013-01-04 14:41:25 -05:00
Robert O'Callahan
f9e86de52b Bug 822956. ProcessAudioChunk needs to take account of AudioChunk::mOffset. r=jesup 2013-01-04 12:16:32 -05:00
Maire Reavy
3ae42c668d bug 822956: Handle audio chunks that aren't 10ms in duration r=ekr 2013-01-03 18:37:55 -05:00
EKR
bec983b2ee Bug 826529 - Increase default video bitrate. r=jesup 2013-01-03 19:17:42 -08:00
Randell Jesup
3ce45c1705 Bug 826008: Fix type tests for constraints objects r=smaug 2013-01-03 11:58:34 -05:00
Adam Roach [:abr]
0df7ae1002 Bug 825086: Removing errant free of body parts when encoding fails r=ekr 2013-01-02 15:06:12 -06:00
Ethan Hugg
97291afe75 Bug 825785 cprDestroyThread on Windows should kill thread immediately r=jesup 2013-01-02 17:08:48 -08:00
EKR
8ba2e8f1c3 Bug 825439: Disconnect pipeline on STS Thread r=jesup 2012-12-29 09:24:34 -08:00
Jan-Ivar Bruaroey
30b1a7cbaf Bug 824263 - Shutdown: PeerConnectionMedia disconnect_all() + peer_ctx cleanup. r=jesup,ekr 2012-12-27 17:38:45 -05:00
Randell Jesup
8d4b69e76b Bug 825526: Improve lifetime control of SourceMediaStream in gUM r=anant 2012-12-31 18:12:15 -05:00
Adam Roach [:abr]
5d015647a6 Bug 821071: Initialize all out parameters in VcmSIPCCBinding.cpp, r=ekr 2012-12-31 11:43:22 -06:00
Randell Jesup
6a7efc1149 Bug 825514: Add safety check to PeerConnectionCtx shutdown r=ekr 2012-12-31 12:34:44 -05:00
Adam Roach [:abr]
18af471013 Bug 824956: Activate media type when set to receive media by constraint r=jesup 2012-12-28 16:40:51 -06:00
EKR
d168fe854b Bug 825336: Add constraint to suppress data channel r=jesup 2012-12-28 12:09:58 -08:00
EKR
fa8c05f7fa Bug 825477 - Ignore return value from async calls in MediaPipeline. r=jesup 2012-12-30 07:53:48 -08:00
Adam Roach [:abr]
65602dce5c Bug 825106: Use the correct pointer comparison when determining master r=jesup 2012-12-28 15:12:47 -06:00
Randell Jesup
f4e2d96791 Bug 820011: Shut down webrtc signling service on XPCOM shutdown r=derf 2012-12-28 17:04:32 -05:00
Adam Roach [:abr]
1ec34c7bd6 Bug 824220: Pass constraints through directly through message, deallocate when done r=jesup 2012-12-27 14:28:11 -06:00
Jan Beich
cf9a82a2bc Bug 815916 - Unbreak building signaling tests for system jpeg/pixman. r=rjesup 2012-12-26 10:15:53 -05:00
Nicholas Nethercote
8eac1dfb3c Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf. 2012-12-23 20:45:57 -08:00
EKR
94a8960630 Bug 824351 - Make PeerConnection.Close not check state. r=ehugg 2012-12-23 17:03:26 -08:00
Adam Roach [:abr]
e0f74b0102 Bug 821003: Replace snprintf macro with static function r=jesup 2012-12-21 14:55:41 -06:00
Adam Roach [:abr]
ff272006a8 Bug 818714: Set media enabled to FALSE unless added using addStream, r=ehugg 2012-12-20 16:05:28 -06:00
Adam Roach [:abr]
e86ce73501 Bug 797534: Update PeerConnectionImpl to use SDP from SIPCC, r=ehugg 2012-12-19 09:25:51 -06:00
Jan-Ivar Bruaroey
fc51b305da Bug 822158: Use async dispatch of Ice(Gathering)Completed to unwind stack r=jesup,ekr 2012-12-21 15:21:15 -05:00
EKR
4ccc635ab9 Bug 820102 - Clean up MediaPipeline threading (re-land after fix). r=derf,jesup 2012-12-21 06:03:22 -08:00
Dan Mosedale
690f70ba61 Bug 821812, fix Android WebRTC signalling code hang by ensuring writable tmpdir for domain sockets, r=jesup 2012-12-21 10:29:49 -08:00
Ed Morley
020839f9bb Backout 21409a401d75 (bug 821292),9587e39f9a50 (bug 820102) for conflicts and assertions respectively, on a CLOSED TREE 2012-12-21 16:15:01 +00:00
EKR
470d172869 Bug 820102 - Clean up MediaPipeline threading. r=derf,jesup 2012-12-21 06:03:22 -08:00
Henrik Skupin
fd7db16574 Backout bug 818714 because it introduces a sigabort crash
--HG--
extra : rebase_source : 4307433661215827bc238f514fa66758e27366bc
2012-12-20 13:47:12 +01:00
EKR
0a06495cf6 Bug 817430: Set initial controlled/controlling values, based on inbound T/F. r=jesup 2012-12-02 13:49:56 -08:00
Adam Roach [:abr]
fb7884b67b Bug 818714: Set media enabled to FALSE unless added using addStream, r=ehugg 2012-12-19 20:52:32 -06:00
Jan-Ivar Bruaroey
fe0e2c5d82 Bug 794240 followup: Fixes implicit function warning that broke linkage + symmetric fixes r=jesup 2012-12-19 13:00:49 -05:00
Randell Jesup
9f08e63e8f Bug 822704: Enable WEBRTC_TRACE() logging via NSPR_LOG_MODULES and rename signaling log module r=derf 2012-12-18 23:27:38 -05:00
Jan-Ivar Bruaroey
10c0782671 Bug 794240: Disable timerthread + close sockets + cleanup tmp-files on shutdown + file permissions. r=jesup 2012-12-14 16:15:21 -05:00
Ethan Hugg
64a2a740d6 Bug 806829 - Signaling - remove g_deviceInfo.name r=jesup 2012-12-14 13:43:06 -08:00
Ethan Hugg
b977feb178 Bug 807012 - Signaling - reorder initiialization of CallControlManagerImpl r=jesup 2012-12-17 11:01:32 -08:00
Chris Peterson
6b59cd00d7 Bug 821621 - Fix unused variable warning in PeerConnectionCtx.cpp. r=jesup 2012-12-15 00:22:47 -08:00
Randell Jesup
5e38742f08 Bug 806375: cleanup DataChannel, esp. channel close and connection shutdown r=mcmanus 2012-12-13 23:30:11 -05:00
Randell Jesup
010027f7be backout 916f6915112d bug 806375 for anonymous enum bustage on linux 2012-12-14 00:26:58 -05:00
Randell Jesup
a92d3614dc Bug 806375: cleanup DataChannel, esp. channel close and connection shutdown r=mcmanus 2012-12-13 23:30:11 -05:00
Gian-Carlo Pascutto
6b755ededd Bug 816822 - Fix build files, unit tests, and clone some linux headers to make WebRTC unit tests build on Android, r=dmose,ted 2012-12-12 12:05:57 -08:00
Ethan Hugg
c5f6539df3 Bug 820550 - Signaling - stop checking API state in CloseInt r=ekr 2012-12-12 09:39:51 -08:00
EKR
1fd24dc33b Bug 820671 Make PCImpl a tombstone if mMedia is null r=jesup 2012-12-11 19:45:09 -08:00
Dan Mosedale
596b7622b0 Bug 820559: Workaround old Android gcc build-bustage by casting anonymous enum template args to ints, r=ekr 2012-12-12 10:15:49 -08:00
EKR
fd7090483a Bug 792175 - Move PeerConnection operations onto main thread. r=jesup,derf,ehugg 2012-09-26 10:14:23 -07:00
Gian-Carlo Pascutto
944f3ba006 Bug 813913 - WebRTC signaling code doesn't yet build on Android. r=dmose rs=dmose 2012-12-10 16:12:50 -08:00
Randell Jesup
f86cd2d8b1 Bug 752657: backout sigslot multithreaded due to deadlocks rs=jesup 2012-12-11 12:54:24 -05:00
Randell Jesup
9ae439bc32 Bug 752657: switch all uses of sigslot to default to multithreaded (win32 already defaults that way) r=ekr 2012-12-11 07:59:57 -05:00
Randell Jesup
412ada1719 Bug 806822: avoid race condition in gathering stats r=ehugg 2012-12-11 07:58:53 -05:00
Oleg Romashin
4610ecbd72 Bug 819364 - Webrtc signaling unit test does not build on Qt port. r=rjesup 2012-12-09 09:28:37 -08:00
Saurabh Anand
6de7befa37 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
EKR
33daa6a518 Bug 816112: Configure webrtc video/RTCP parameters for better defaults r=jesup 2012-11-28 08:34:10 -08:00
Adam Roach [:abr]
8a57275446 Bug 817065: Replace vcm_media_payload_t with structure leveraging rtp_ptype constants r=ehugg,jesup 2012-12-06 11:36:43 -06:00
Suhas Nandakumar
1bd5fe4a2b Bug 817488 Audio Send and Recv support for PC tests r=ekr 2012-12-05 13:37:32 -08:00
Ethan Hugg
18ef53f5bc Bug 814329 Protect fim_process_event from NULL input r=jesup 2012-11-28 08:38:50 -08:00
Makoto Kato
d53c47bb99 Bug 817481 - Build failure on WebRTC unit test with --with-system-libvpx. r=jesup 2012-12-03 17:01:16 +09:00
Crypt
aa9120552c Bug 810220 - Patch to fix SDP Codec Negotiation Issues (revised) r=ekr,jesup 2012-11-26 02:36:43 -08:00
EKR
dfc4104a87 Bug 817451, Correctly set mRole in PC unit tests. r=ehugg 2012-12-02 18:06:21 -08:00
Randell Jesup
fcaf160cf1 Bug 812636: additional checks for failure for a Conduit be created r=ehugg 2012-11-28 03:28:30 -05:00
Daniel Holbert
f00177debd Bug 815928 part 2: Fix typo s/elment/elment/ in comments & tests. DONTBUILD, rs=Waldo 2012-11-27 19:15:36 -08:00
Daniel Holbert
79078b7ce8 Bug 815928 part 1: Fix typo s/elelment/element/ in comments & tests. DONTBUILD, rs=Waldo 2012-11-27 19:15:35 -08:00
Suhas Nandakumar
e69205c689 Bug 814734 - Fixed Log format string mismatches r=ekr 2012-11-26 08:38:14 -08:00
EKR
4152b3d262 Bug 805662, Crash in mediaconduit_unittest. r=jesup 2012-11-22 10:57:37 -08:00
Adam Roach
17299e21c3 Bug 814038: Fixing codec negotiation to use actual payload in SDP rather than preferred payload when populating codec-specific parameters r=ehugg 2012-11-21 15:20:12 -06:00
Boris Zbarsky
c0c2b72765 Bug 813746. Link the webrtc unit tests to ZLIB as needed. r=bz 2012-11-21 02:16:03 -05:00
Ethan Hugg
34aa729ec6 Bug 813723 Reorder state assignment in unit tests r=ekr 2012-11-20 13:47:07 -08:00
Ethan Hugg
0aff34f3d3 Bug 811118 build webrtc unittests by default but run only some r=jesup 2012-11-12 15:34:05 -08:00
Ethan Hugg
8980d5151e Bug 813212 Update signaling unittests to match latest IDL r=jesup 2012-11-19 09:59:36 -08:00
EKR
c92c0012eb Bug 799419: Force NSS startup during PeerConnection Initialize r=bsmith,jesup 2012-11-18 07:43:26 -08:00
Randell Jesup
8e428d4084 Bug 812886: Watch network (tear)down events and kill PeerConnections r=ekr,smaug,bsmith 2012-11-18 23:53:14 -05:00
Randell Jesup
67fb41348c Bug 812641: Shut down SipCC instance when number of PeerConnections == 0 (reland) r=ehugg 2012-11-17 23:03:58 -05:00
Randell Jesup
41197e27e3 Bug 812641: Shut down SipCC instance when number of PeerConnections==0 r=ehugg 2012-11-18 01:42:40 -05:00
Ryan VanderMeulen
f9cd0623b0 Backed out changeset b527670b6728 (bug 811118) for orange. 2012-11-16 21:24:14 -05:00
Nathan Froyd
0526baae8c Bug 810544 - don't include <iostream> in webrtc code where it's not necessary; r=jesup 2012-11-09 11:08:22 -05:00
Ethan Hugg
ae04e69977 Bug 811118 build webrtc unittests by default r=jesup 2012-11-12 15:34:05 -08:00
Randell Jesup
5748e6d4d9 Bug 806830: Enforce initializing strlib before using r=ehugg 2012-11-16 14:37:08 -05:00
EKR
8523b3bb2f Bug 811183: Recursive GC In PeerConnection shutdown; r=jesup 2012-11-16 10:27:30 -08:00
Timothy B. Terriberry
20be5c457f Bug 810363 - Reject non-stereo, non-48 kHz Opus streams, r=ehugg 2012-11-15 15:09:39 -08:00
Timothy B. Terriberry
6394681a81 Bug 810353 - Offer Opus as stereo instead of mono, r=ehugg 2012-11-15 15:09:39 -08:00
Randell Jesup
decae3d858 Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf 2012-11-15 17:58:40 -05:00
Adam Roach
9a7aea6d5b Bug 803318: Improved handling of constraints and more tests. r=ekr 2012-11-14 11:25:14 -06:00
Ethan Hugg
bb4830f48c Bug 811333 Signaling - Fix size of thread ID for Windows build r=jesup 2012-11-13 09:23:04 -08:00
Ethan Hugg
f0e9345907 Bug 806407 Fix type in struct passed into msgsnd f=jesup 2012-11-09 08:47:00 -08:00
Nathan Froyd
22d38f2013 Bug 809950 - fix webrtc signaling Wrapper code to not introduce static initializers; r=jesup 2012-11-08 13:45:39 -05:00
Randell Jesup
0ce97e7c2d Bug 807929: Make DataChannel refcounted r=mcmanus 2012-11-02 15:28:13 -04:00
EKR
988e5fc796 Bug 807259: Fix shutdown for WebRTC standalone unit tests. r=anant 2012-10-31 16:31:47 +01:00
EKR
2f2c416342 Bug 806335: MediaPipeline destroys TransportFlow on wrong thread; r=anant 2012-10-29 15:35:12 +01:00
EKR
a720cd09bd Bug 806306: Fix compile bustage for MediaConduit; r=anant 2012-10-29 15:33:19 +01:00
Robert O'Callahan
b1feab9a84 Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Randell Jesup
39a0bbea1d Bug 805701: protect against NULL fcb pointer r=ehugg 2012-10-27 21:47:39 -04:00
EKR
6ee946c418 Bug 801221: Move mtransport operations onto STS thread; r=jesup 2012-10-18 13:01:52 -07:00
Ethan Hugg
5686d907c0 Bug 805533 Send SDP parse errors through single function for reporting r=jesup 2012-10-26 13:05:50 -07:00
Robert O'Callahan
acc22ea0d6 Bug 805254. Part 8: Consolidate audio sample processing code using templates over the format types. r=kinetik
Replace nsAudioStream::Format with an AUDIO_OUTPUT_FORMAT enum value so we
can use it as a template parameter.

Introduce AudioSampleTraits<AudioSampleFormat> to give us access to the C++ type
corresponding to an enum value.

Move SampleToFloat/FloatToSample to AudioSampleFormat.h.

Introduce ConvertAudioSamples and ConvertAudioSamplesWithScale functions
and use them from various places.

Moves AudioDataValue to AudioSampleFormat.h. The name isn't great, but it'll do.
2012-10-25 23:09:40 +13:00
Robert O'Callahan
eb84abab22 Bug 805254. Part 7: Move SampleFormat to mozilla::AudioSampleFormat in its own file. r=kinetik 2012-10-25 23:09:40 +13:00
Robert O'Callahan
9bfc64887e Bug 805254. Part 4: Remove FORMAT_U8 from nsAudioStream::SampleFormat. r=kinetik
We also give nsWaveReader its own separate format enum.
2012-10-25 23:09:39 +13:00
Anant Narayanan
f90c9929ee Bug 802694: Pass along constraints from PC JS module to PCImpl; r=ekr,jesup 2012-10-25 12:24:30 -07:00
Ehsan Akhgari
8e702f60c5 Backed out 2 changesets (bug 579517)
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23 Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517) 2012-10-25 11:48:19 -04:00
Ethan Hugg
e2e9343487 Bug 803744 - Allow signaling startup when already started r=jesup 2012-10-24 15:46:40 -07:00
Randell Jesup
c093eaa46e Bug 803881: Fix wrong number of samples for webrtc media unit tests r=ekr 2012-10-24 16:54:33 -04:00
Ethan Hugg
d241ae5621 Bug 729541 fix for syntax error in signaling_unittests r=jesup 2012-10-23 21:26:27 -07:00
Ethan Hugg
4a3a65feec Bug 797512 Signaling: simplify set_dtls_fingerprint r=jesup 2012-10-22 16:38:52 -07:00
Ethan Hugg
31407fee99 Bug 803875 MediaConstraints - fix length handling r=jesup 2012-10-22 13:25:44 -07:00
Enda Mannion
582c09cab8 Bug 729541: Remove 'offer' parameter from RTCPeerConnection.createAnswer r=jesup 2012-10-15 16:50:10 +01:00
Randell Jesup
76f9897831 Bug 803086: Process NULL image chunks in NotifyQueuedTrackChanges() r=ekr 2012-10-19 10:58:06 -04:00
Enda Mannion
822bfa909d Bug 800688: remove local_dynamic_payload_type_value from negotiation r=ehugg,jesup 2012-10-17 15:57:52 +01:00
Ethan Hugg
6726f96604 Bug 798873 Patch 3 - flex_string fix for Windows vsnprintf r=jesup 2012-10-17 18:57:57 -07:00
Mike Hommey
2939d5a843 Bug 799975 - Fix webrtc when building with system nspr/nss. r=ted 2012-10-17 16:33:23 +02:00
Mike Hommey
ca37c0beaf Bug 798926 - Define INTEGER_TYPES_H and others for srtp.h. r=jesup 2012-10-17 16:28:33 +02:00
Enda Mannion
b53102d6ef Bug 786152: Increment DataChannel SCTP port in a WebRTC JSEP answer r=jesup 2012-09-28 11:36:02 +01:00
Enda Mannion
b2af5ec3d2 Bug 784515: add hints to webrtc/signaling CreateOffer and CreateAnswer APIs r=jesup 2012-09-28 11:09:09 +01:00
Peter Van der Beken
767c08f204 Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
--HG--
extra : rebase_source : e21a429d85fc60a972752a2a7deb88a7cb648f3c
2012-09-13 18:04:31 +02:00
Ethan Hugg
4c76215d4f Bug 800611 - Trailing whitepace removed from signaling code r=jesup 2012-10-12 08:15:24 -07:00
Gervase Markham
478141e4d2 Bug 796457 - upgrade license to MPL 2. 2012-10-12 15:58:11 +01:00
Ed Morley
f214df21b4 Backout 3044539fec87 (bug 799465),2dbcd6d16b43 (bug 798264), f7019f73a5f0 (bug 711628), a484a3a904da, 7154061ddc00 & 7e7fc42021c1 (bug 799465) for burning 2012-10-12 14:45:38 +01:00
Peter Van der Beken
0958866530 Fix for bug 711628 (Implement PeerConnection.localStreams/remoteStreams). r=bz.
--HG--
extra : rebase_source : d7be35954ba69563ed26b2173c75fe9e74707847
2012-09-13 18:04:31 +02:00
Aryeh Gregor
5ddad9093f Bug 800343 - Cast nsresult to uint32_t to output to streams; r=ehsan 2012-10-11 14:48:31 +02:00
EKR
296f7d04db Bug 792811 - Check creation of WebRTC transportflows r=jesup 2012-10-09 12:29:01 -07:00
Ethan Hugg
9d52da089c Bug 800502 - Signaling - Removed unused code that required XML handling r=jesup 2012-10-11 14:07:50 -07:00
Ethan Hugg
e62c39b8e5 Bug 800558 - Signaling - return proper error code in fsmdef.c r=jesup 2012-10-11 14:32:45 -07:00
Ethan Hugg
25ac2d3e43 Bug 798873 - Signaling SDP construction uses flex_string r=jesup 2012-10-08 16:43:33 -07:00
Ehsan Akhgari
c2c0b53beb Bug 800401 - Make sure that the WebRTC build system does not impose the -Werror flag on all Linux/Mac builds; r=jesup
In the future, we need to hook these up to the FAIL_ON_WARNINGS machinery.
2012-10-11 13:42:12 -04:00
Ethan Hugg
f7560ac779 Bug 791278: Protect PeerConnection setLocal/RemoteDescription from NULL input r=jesup 2012-10-09 15:14:51 -07:00
Ethan Hugg
c601df4d52 Bug 791270 - Protect AddStream from NULL input and cause a JS error to be thrown r=jesup 2012-10-09 14:03:13 -07:00
Randell Jesup
9151531465 Bug 799477: missing stdarg.h in CSFLog.h (typically gcc 4.4.x) r=ehugg 2012-10-09 14:46:34 -04:00
EKR
1188de1f60 Bug 799246: Conditionally enable webrtc unit tests r=jesup,ted,cjones 2012-10-08 18:56:00 -07:00
Randell Jesup
3e431eac40 Bug 799071: clean up clang warnings in media/webrtc/signaling (-Werror) r=ehugg 2012-10-08 17:11:10 -04:00
Ethan Hugg
9236c6f2f9 Bug 798873 - Signaling - increase max SDP size (temporary until better fix). r=jesup,ekr 2012-10-07 22:28:52 -07:00
Randell Jesup
5a3edf0816 BUg 799076: Add temporary error definitions to media/webrtc/signaling for VC9 and below r=derf 2012-10-08 11:08:52 -04:00
Randell Jesup
de872c99fe Bug 798892: Wrong enum type in gCCApp.state, breaks bleeding-edge clang builds r=ehugg 2012-10-07 21:55:45 -04:00
Ehsan Akhgari
058aa73640 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Anant Narayanan
be9228b287 Bug 798825: Add DataChannel DOM interfaces to RTCPeerConnection; r=smaug 2012-10-07 01:34:30 -04:00
Anant Narayanan
e61ba69837 Bug 694807: Implement PeerConnection C++ module; r=jst,jesup,ekr 2012-10-07 01:34:30 -04:00
Randell Jesup
52df55c57b Bug 792188: Fixes to signaling MediaPipeline and Srtpflow r=jesup,derf 2012-10-07 01:34:29 -04:00
Randell Jesup
d7261ed122 Bug 792188: MediaPipeline changes for YUV buffer handling, put ImageContainer back to normal r=ekr 2012-10-04 05:35:26 -04:00
Randell Jesup
f769554f67 Bug 792188: rollup of changes to signaling from alder r=jesup,ekr,derf,ehugg,ted
Bug 797258: Increase max sdp line length to work with longer SHA-256 fingerprints. r=jesup
2012-10-07 01:34:29 -04:00
EKR
1995a1f5d1 Bug 792188: Import SIPCC into media/webrtc/signaling rs=jesup r=gerv 2012-03-13 11:22:14 -07:00