Commit Graph

431 Commits

Author SHA1 Message Date
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Chris Peterson
4ef2624a4f Bug 845712 - threadPtr->name will be uninitialized if cprCreateThread()'s name parameter is NULL. r=jesup 2013-02-26 23:40:06 -08:00
Chris Peterson
6b48ccd982 Bug 845712 - Remove unnecessary void* casts because Darwin's pthread_t is a pointer. r=jesup 2013-02-26 23:00:33 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
fbba84d69e Bug 784841 - Part 18u: Convert /media; r=glandium 2013-02-25 12:47:22 -08:00
Adam Roach [:abr]
3c9eb997de Bug 841566 - Turn on testserver logging for WebRTC-related systems r=jesup,ted.mielczarek 2013-02-22 14:53:56 -06:00
Adam Roach [:abr]
defd422468 Bug 843595 - Null checks on pair dtor r=ekr 2013-02-25 11:12:33 -06:00
Ethan Hugg
9884e39d79 Bug 844929: Accept numeric parameters > UINT_MAX in SDP o-lines 2013-02-25 10:22:10 -08:00
Adam Roach [:abr]
85c5ad8da6 Bug 837523 - Additional checks for unsupported app behavior r=ehugg 2013-02-26 08:26:29 -06:00
Adam Roach [:abr]
36f1d91887 Bug 839647 - Synchronize CCApp thread start-up r=ehugg 2013-02-22 10:08:47 -06:00
Ethan Hugg
f67d654296 Bug 841899 - Remove stream-based logging from Signaling code r=jesup 2013-02-20 14:08:23 -08:00
Ethan Hugg
aef724e687 Bug 841641 - Set FORCE_PR_LOG in CSFLog r=jesup 2013-02-15 14:35:50 -08:00
Ethan Hugg
0c53a3a546 Bug 842415 - Signaling code - replace PR_Lock calls with MutexAutoLock r=jesup 2013-02-19 09:38:41 -08:00
Ethan Hugg
61ad41a460 Bug 842332 Fix 842332 Fix missing unlock in PeerConnectionMedia r=jesup 2013-02-18 14:58:37 -08:00
Jan-Ivar Bruaroey
013d30701d Bug 835712 - Use more webidl for safer JS traversal. r=bz, r=jesup 2013-02-13 14:26:30 -05:00
Jan-Ivar Bruaroey
93615a9fa0 Bug 835370 - Optional offer/answer constraints work + unsupported mandatory ones fail. r=bz, r=jesup 2013-02-14 02:08:56 -05:00
Adam Roach [:abr]
cb6b4edf1d Bug 841457 - Convert stream logging to non-stream when stream operators are not used r=ehugg 2013-02-15 09:24:51 -06:00
Robert O'Callahan
8192e0a0c4 Bug 837034. Part 2: Convert DOMMediaStream to use WebIDL. r=peterv,jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 483fca748444db20ed0d35cb586485f277e1808c
2013-02-15 21:04:11 +13:00
Robert O'Callahan
ca6fcfb8f3 Bug 837034. Part 1: Rename nsDOM(Local)MediaStream to DOM(Local)MediaStream and put them in the mozilla namespace. r=jesup
--HG--
rename : content/media/nsDOMMediaStream.cpp => content/media/DOMMediaStream.cpp
rename : content/media/nsDOMMediaStream.h => content/media/DOMMediaStream.h
extra : rebase_source : 6fd3f71779b4ecb9d3b053b6cd844c2ff0c25f80
2013-02-15 21:01:58 +13:00
Adam Roach [:abr]
d3dd050390 Bug 840344: Disable renegotiation signaling_unittests r=ekr 2013-02-14 10:04:34 -06:00
Adam Roach [:abr]
56699f2101 Bug 840344: Prevent multiple creations of local SDP r=ekr,jsmith 2013-02-14 10:04:09 -06:00
Randell Jesup
d62e195fd0 Bug 833217: Null out listener if we're no longer listening for DataChannel events r=abr 2013-02-12 16:32:43 -05:00
EKR
451deb10bc Bug 838169. Fix NrIceCtx cleanup. r=abr 2013-02-10 21:18:24 -08:00
Matthew Gregan
6d497ec059 Bug 752401 - Drain timing and error handling fixes for PulseAudio cubeb backend. r=doublec,jesup 2013-02-04 17:58:29 +13:00
Adam Roach [:abr]
2d337c3021 Bug 836349: Remove ICE state check from get*Description r=ekr 2013-02-09 17:19:21 -05:00
Randell Jesup
98509cc055 Bug 830247: small changes resulting from Try build r=ted rs=me 2013-02-09 23:16:10 -05:00
Randell Jesup
b64bff49fd Bug 818618: adjust default opus frequency to 48000 in SDP r=derf 2013-02-09 23:16:10 -05:00
Randell Jesup
349a3e90c7 Bug 830247: rollup of changes to media/webrtc/trunk, and backouts of some temp patches r=ted,derf
--HG--
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseFilter.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BaseInputPin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseInputPin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/BasePin.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/DShowTools.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/DShowTools.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.cpp => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.cpp
rename : media/webrtc/trunk/webrtc/modules/video_capture/main/source/Windows/MediaType.h => media/webrtc/trunk/webrtc/modules/video_capture/windows/MediaType.h
2013-02-09 23:16:10 -05:00
Randell Jesup
67ec2682bb Bug 837037: don't pass the NrIceCtx to IceGathering runnables r=ekr 2013-02-09 11:10:31 -05:00
Ethan Hugg
6ebde5b369 Bug 806828 Signaling - copy selectively from g_media_table on init r=jesup 2013-02-04 14:33:35 -08:00
Ethan Hugg
c5b4ba0740 Bug 837324 - Fix ui_ice_candidate_add call when dcb is NULL r=ekr 2013-02-05 11:24:59 -08:00
Alexandros Chronopoulos
f506ffd935 Bug 821066 - Remove dead remotedesc/localdesc messages and events from sipcc. r=abr 2013-02-04 16:18:26 -05:00
Randell Jesup
a629262a08 Bug 837421: Webrtc: Ignore second call to ConnectDataConnection r=derf 2013-02-03 00:29:04 -05:00
Ehsan Akhgari
29216750b2 Merge mozilla-central into mozilla-inbound 2013-02-02 13:53:46 -05:00
Randell Jesup
2597d4ba33 Bug 788185: add a/v sync to Audio/Video Conduits r=derf 2013-02-02 08:46:54 -05:00
Adam Roach [:abr]
b2ceddf44b Bug 823056: Move locks to protect linked_ptr<> instances r=ehugg 2013-02-01 16:19:24 -06:00
Robert O'Callahan
0cc85c72c1 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]
66d5f56b3d 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
e675804ab1 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
60af78b569 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
f86a2b8ec1 Backed out changeset b1e8d7154488 (bug 834100) for Fedora64 M3 orange. 2013-01-31 17:14:13 -05:00
Andrew Miller
39bed2d1da 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]
db7a38476e 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
1786b88346 Bug 818670: Ensure PipelineListener doesn't release conduit off main thread r=derf 2013-01-30 21:26:45 -05:00
Randell Jesup
55d6c286c1 Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
cf23ac0992 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
c1416c807b 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
0428c8dbe2 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
e99111ca7e Bug 834768: Fix signed/unsigned comparison build warnings in signaling_unittests.cpp. r=jesup 2013-01-29 20:03:42 -08:00
Randell Jesup
aa033db95b Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
0e1d434873 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
382ec96750 Backout df75a87cce60 & 19e164f7d88d (bug 818670) for build bustage on a CLOSED TREE 2013-01-29 17:28:30 +00:00
Randell Jesup
a4cda73f73 Bug 818670: merge AudioConduits to allow AEC to work r=ekr 2013-01-29 11:57:44 -05:00
Randell Jesup
86ad09285d Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM r=derf 2013-01-29 11:55:09 -05:00
Boris Zbarsky
fbda957199 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
7250370ce6 Back out c5238879470f and b3cabb259af7 (bug 830099) for bustage 2013-01-28 22:36:59 -08:00
Boris Zbarsky
023ecd137e 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
b467a16689 Bug 835290 MediaPipeline - replace attempted += of ints with PR_snprintfs r=jesup 2013-01-28 12:26:32 -08:00
EKR
74c1d13122 Bug 816780 - Merge all incoming m-lines into one MediaStream. r=jesup,abr 2013-01-24 08:34:18 -08:00
Justin Lebar
314b49984f 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
54db7130db Bug 834463: Corrected RTCConfiguration format. r=jst 2013-01-24 17:58:29 -05:00
Jan-Ivar Bruaroey
9b47c7a7ef Bug 825703: Stun configuration from JS for PeerConnections (IP only) r=bz,jesup 2013-01-23 14:21:25 -05:00
EKR
ae9f56e5f5 Bug 786236: Per-context configurable STUN servers. r=abr 2013-01-05 11:40:34 -08:00
Randell Jesup
1b930ab4e7 Bug 832683: Match SRTP policy values to enable NACK mode in webrtc r=ekr 2013-01-23 16:41:35 -05:00
Steven Lee
ea58e75fc4 Bug 818843 - Media changes. r=rjesup 2013-01-23 18:08:16 -05:00
Ethan Hugg
6ebe377e87 Bug 806825 - Fix possible data race of PeerConnectionCtx::mSipccState r=jesup 2013-01-22 11:25:04 -08:00
EKR
940e25988d Bug 829757 - Clean up a=candidate stripping. r=abr 2013-01-19 15:18:28 -08:00
Randell Jesup
97871fde67 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
9bd4d23085 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
f6a2841d09 Bug 831764. Reverse DTLS client/server selection to more closely match RFC 5763. r=jesup 2013-01-17 07:54:53 -08:00
EKR
0d72f7daf9 Bug 829624 - Always use 80-bit MAC with SRTCP. r=jesup 2013-01-18 13:03:17 -08:00
Randell Jesup
1056291d70 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]
c1ce2bf42c Bug 824919: Weaken key references to PeerConnection and friends r=jesup,smaug,ekr 2013-01-17 17:11:14 -06:00
EKR
c38fe0f7db 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]
c879203c37 Bug 829461: Check for NULL media stream r=ehugg 2013-01-17 15:32:16 -06:00
Randell Jesup
9235c01ee8 Bug 826807: Clean up JSAPI error handling in PeerConnection constraints r=bz 2013-01-17 16:23:44 -05:00
Randell Jesup
ffe9e20dc5 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
06f0419978 Bug 822197 Handle creation of more PeerConnections than MAX_LINES r=jesup 2013-01-15 13:11:47 -08:00
Ryan VanderMeulen
f7cdffc842 Backed out changeset cebb008a72f9 (bug 824919) for mochitest b-c orange.
CLOSED TREE
2013-01-14 22:01:12 -05:00
Adam Roach [:abr]
ccb64b5f97 Bug 824919: Weaken key references to PeerConnection and friends,r=jesup,smaug,ekr 2013-01-14 17:00:20 -06:00
Adam Roach [:abr]
67ad3098bc Bug 829761: Remove inactive check for sdpmode if port != 0, r=ekr 2013-01-14 16:38:38 -06:00
EKR
5ca73d580d Bug 828027 - Lower-case digest algorithm names r=ehugg 2013-01-14 09:10:38 -08:00
Chris Peterson
26732af065 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
851a0582da 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
4c4bf85b10 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
fb00d8ba4e Bug 579517 follow-up: Remove NSPR types that crept in 2013-01-07 18:21:50 -05:00
Doug Turner
eed5eff3b9 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
c7cad2e151 Bug 818843 - Media changes. r=rjesup 2013-01-06 22:24:14 -05:00
Randell Jesup
7e998e021f Bug 805251 - Minimal fix for creation refcount and transport release r=ekr,derf 2013-01-06 22:01:23 -05:00
Ethan Hugg
ca1301b691 Bug 825785 Signaling - monitor threads for shutdown r=jesup 2013-01-03 19:12:28 -08:00
EKR
a7b257d7bf Bug 825611 - Fix unit tests to match fix to MediaPipeline. r=jesup 2013-01-05 14:52:11 -08:00
EKR
aa26196455 Bug 825611 - Have MediaPipeline deliver as much media as requested. r=jesup 2013-01-05 09:02:36 -08:00
Jan-Ivar Bruaroey
80fcbaeb39 Bug 820538: Added media-ptr check because of NS_DISPATCH_SYNC. r=rjesup 2013-01-04 23:01:56 -05:00
Maire Reavy
04e89b6256 bug 822956 - correct chunk_remaining calculation r=ekr 2013-01-04 14:41:25 -05:00
Robert O'Callahan
a5c94fa139 Bug 822956. ProcessAudioChunk needs to take account of AudioChunk::mOffset. r=jesup 2013-01-04 12:16:32 -05:00
Maire Reavy
036a2d63a8 bug 822956: Handle audio chunks that aren't 10ms in duration r=ekr 2013-01-03 18:37:55 -05:00
EKR
759230fc01 Bug 826529 - Increase default video bitrate. r=jesup 2013-01-03 19:17:42 -08:00
Randell Jesup
5236034865 Bug 826008: Fix type tests for constraints objects r=smaug 2013-01-03 11:58:34 -05:00
Adam Roach [:abr]
9e90c1b381 Bug 825086: Removing errant free of body parts when encoding fails r=ekr 2013-01-02 15:06:12 -06:00
Ethan Hugg
33a67df87d Bug 825785 cprDestroyThread on Windows should kill thread immediately r=jesup 2013-01-02 17:08:48 -08:00
EKR
c85fc72f0d Bug 825439: Disconnect pipeline on STS Thread r=jesup 2012-12-29 09:24:34 -08:00
Jan-Ivar Bruaroey
32cf597774 Bug 824263 - Shutdown: PeerConnectionMedia disconnect_all() + peer_ctx cleanup. r=jesup,ekr 2012-12-27 17:38:45 -05:00
Randell Jesup
84c2e07542 Bug 825526: Improve lifetime control of SourceMediaStream in gUM r=anant 2012-12-31 18:12:15 -05:00
Adam Roach [:abr]
dfd92dd96b Bug 821071: Initialize all out parameters in VcmSIPCCBinding.cpp, r=ekr 2012-12-31 11:43:22 -06:00
Randell Jesup
59e8044f65 Bug 825514: Add safety check to PeerConnectionCtx shutdown r=ekr 2012-12-31 12:34:44 -05:00
Adam Roach [:abr]
3585d6738f Bug 824956: Activate media type when set to receive media by constraint r=jesup 2012-12-28 16:40:51 -06:00
EKR
8248658a2f Bug 825336: Add constraint to suppress data channel r=jesup 2012-12-28 12:09:58 -08:00
EKR
5071d59cb9 Bug 825477 - Ignore return value from async calls in MediaPipeline. r=jesup 2012-12-30 07:53:48 -08:00
Adam Roach [:abr]
8b99e2c7bd Bug 825106: Use the correct pointer comparison when determining master r=jesup 2012-12-28 15:12:47 -06:00
Randell Jesup
ab82956f4f Bug 820011: Shut down webrtc signling service on XPCOM shutdown r=derf 2012-12-28 17:04:32 -05:00
Adam Roach [:abr]
ceac43cab1 Bug 824220: Pass constraints through directly through message, deallocate when done r=jesup 2012-12-27 14:28:11 -06:00
Jan Beich
129357e4f6 Bug 815916 - Unbreak building signaling tests for system jpeg/pixman. r=rjesup 2012-12-26 10:15:53 -05:00
Nicholas Nethercote
df43bc1128 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
2ef05dfa77 Bug 824351 - Make PeerConnection.Close not check state. r=ehugg 2012-12-23 17:03:26 -08:00
Adam Roach [:abr]
bf640d3ecc Bug 821003: Replace snprintf macro with static function r=jesup 2012-12-21 14:55:41 -06:00
Adam Roach [:abr]
82f5e96d82 Bug 818714: Set media enabled to FALSE unless added using addStream, r=ehugg 2012-12-20 16:05:28 -06:00
Adam Roach [:abr]
011f5f2df2 Bug 797534: Update PeerConnectionImpl to use SDP from SIPCC, r=ehugg 2012-12-19 09:25:51 -06:00
Jan-Ivar Bruaroey
e8127e40e7 Bug 822158: Use async dispatch of Ice(Gathering)Completed to unwind stack r=jesup,ekr 2012-12-21 15:21:15 -05:00
EKR
97e923700a Bug 820102 - Clean up MediaPipeline threading (re-land after fix). r=derf,jesup 2012-12-21 06:03:22 -08:00
Dan Mosedale
ceec081110 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
cb833a1928 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
555c1f6921 Bug 820102 - Clean up MediaPipeline threading. r=derf,jesup 2012-12-21 06:03:22 -08:00
Henrik Skupin
bd0625b4ab Backout bug 818714 because it introduces a sigabort crash
--HG--
extra : rebase_source : 4307433661215827bc238f514fa66758e27366bc
2012-12-20 13:47:12 +01:00
EKR
4515845c4e 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]
0dd597d785 Bug 818714: Set media enabled to FALSE unless added using addStream, r=ehugg 2012-12-19 20:52:32 -06:00
Jan-Ivar Bruaroey
11734ab632 Bug 794240 followup: Fixes implicit function warning that broke linkage + symmetric fixes r=jesup 2012-12-19 13:00:49 -05:00
Randell Jesup
049ca54ca0 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
5551c82776 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
a2c6bd8dbd Bug 806829 - Signaling - remove g_deviceInfo.name r=jesup 2012-12-14 13:43:06 -08:00
Ethan Hugg
0c7d43972a Bug 807012 - Signaling - reorder initiialization of CallControlManagerImpl r=jesup 2012-12-17 11:01:32 -08:00
Chris Peterson
e7f2e0fc3c Bug 821621 - Fix unused variable warning in PeerConnectionCtx.cpp. r=jesup 2012-12-15 00:22:47 -08:00
Randell Jesup
864277e5f6 Bug 806375: cleanup DataChannel, esp. channel close and connection shutdown r=mcmanus 2012-12-13 23:30:11 -05:00
Randell Jesup
a3907b5f58 backout 916f6915112d bug 806375 for anonymous enum bustage on linux 2012-12-14 00:26:58 -05:00
Randell Jesup
c1509f5b67 Bug 806375: cleanup DataChannel, esp. channel close and connection shutdown r=mcmanus 2012-12-13 23:30:11 -05:00
Gian-Carlo Pascutto
4282195cd5 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
47bd0a7bc7 Bug 820550 - Signaling - stop checking API state in CloseInt r=ekr 2012-12-12 09:39:51 -08:00
EKR
1ab56747cb Bug 820671 Make PCImpl a tombstone if mMedia is null r=jesup 2012-12-11 19:45:09 -08:00
Dan Mosedale
1f420ec7bf 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
fe254a31df Bug 792175 - Move PeerConnection operations onto main thread. r=jesup,derf,ehugg 2012-09-26 10:14:23 -07:00
Gian-Carlo Pascutto
39d4d2f61a 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
ccdfbe4a73 Bug 752657: backout sigslot multithreaded due to deadlocks rs=jesup 2012-12-11 12:54:24 -05:00
Randell Jesup
17c6d540a7 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
8422656a48 Bug 806822: avoid race condition in gathering stats r=ehugg 2012-12-11 07:58:53 -05:00
Oleg Romashin
43b01abc72 Bug 819364 - Webrtc signaling unit test does not build on Qt port. r=rjesup 2012-12-09 09:28:37 -08:00
Saurabh Anand
c9e3659e16 Bug 818817 - Fix some compiler warnings, r=Ms2ger 2012-12-09 22:53:19 +05:30
EKR
34b6e285e3 Bug 816112: Configure webrtc video/RTCP parameters for better defaults r=jesup 2012-11-28 08:34:10 -08:00
Adam Roach [:abr]
76556b50cb 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
86d868d420 Bug 817488 Audio Send and Recv support for PC tests r=ekr 2012-12-05 13:37:32 -08:00
Ethan Hugg
ecd3a4e29c Bug 814329 Protect fim_process_event from NULL input r=jesup 2012-11-28 08:38:50 -08:00
Makoto Kato
32394d35a3 Bug 817481 - Build failure on WebRTC unit test with --with-system-libvpx. r=jesup 2012-12-03 17:01:16 +09:00
Crypt
ab8161fb27 Bug 810220 - Patch to fix SDP Codec Negotiation Issues (revised) r=ekr,jesup 2012-11-26 02:36:43 -08:00
EKR
f1462ce7dd Bug 817451, Correctly set mRole in PC unit tests. r=ehugg 2012-12-02 18:06:21 -08:00
Randell Jesup
94e8c57fdc Bug 812636: additional checks for failure for a Conduit be created r=ehugg 2012-11-28 03:28:30 -05:00
Daniel Holbert
1f6c42c110 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
08944b1306 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
b6cd1fb640 Bug 814734 - Fixed Log format string mismatches r=ekr 2012-11-26 08:38:14 -08:00
EKR
11e2f21d47 Bug 805662, Crash in mediaconduit_unittest. r=jesup 2012-11-22 10:57:37 -08:00
Adam Roach
bdc8045c11 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
3b241cb7e1 Bug 813746. Link the webrtc unit tests to ZLIB as needed. r=bz 2012-11-21 02:16:03 -05:00
Ethan Hugg
3013b2da47 Bug 813723 Reorder state assignment in unit tests r=ekr 2012-11-20 13:47:07 -08:00
Ethan Hugg
7c0b8a666a Bug 811118 build webrtc unittests by default but run only some r=jesup 2012-11-12 15:34:05 -08:00
Ethan Hugg
e7c5bd04af Bug 813212 Update signaling unittests to match latest IDL r=jesup 2012-11-19 09:59:36 -08:00
EKR
e0a0253926 Bug 799419: Force NSS startup during PeerConnection Initialize r=bsmith,jesup 2012-11-18 07:43:26 -08:00
Randell Jesup
645ded6229 Bug 812886: Watch network (tear)down events and kill PeerConnections r=ekr,smaug,bsmith 2012-11-18 23:53:14 -05:00
Randell Jesup
c4881797fc Bug 812641: Shut down SipCC instance when number of PeerConnections == 0 (reland) r=ehugg 2012-11-17 23:03:58 -05:00
Randell Jesup
7b5d421611 Bug 812641: Shut down SipCC instance when number of PeerConnections==0 r=ehugg 2012-11-18 01:42:40 -05:00
Ryan VanderMeulen
00898e7ef8 Backed out changeset b527670b6728 (bug 811118) for orange. 2012-11-16 21:24:14 -05:00
Nathan Froyd
014d437d3a 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
35febb02ed Bug 811118 build webrtc unittests by default r=jesup 2012-11-12 15:34:05 -08:00
Randell Jesup
02d84ce8c8 Bug 806830: Enforce initializing strlib before using r=ehugg 2012-11-16 14:37:08 -05:00
EKR
5cf9bf0408 Bug 811183: Recursive GC In PeerConnection shutdown; r=jesup 2012-11-16 10:27:30 -08:00
Timothy B. Terriberry
7a1d1f66f1 Bug 810363 - Reject non-stereo, non-48 kHz Opus streams, r=ehugg 2012-11-15 15:09:39 -08:00
Timothy B. Terriberry
d8713fd2b5 Bug 810353 - Offer Opus as stereo instead of mono, r=ehugg 2012-11-15 15:09:39 -08:00
Randell Jesup
4e788c410e Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf 2012-11-15 17:58:40 -05:00
Adam Roach
a19c8d14bd Bug 803318: Improved handling of constraints and more tests. r=ekr 2012-11-14 11:25:14 -06:00
Ethan Hugg
42e87828fc Bug 811333 Signaling - Fix size of thread ID for Windows build r=jesup 2012-11-13 09:23:04 -08:00
Ethan Hugg
f794a0b56e Bug 806407 Fix type in struct passed into msgsnd f=jesup 2012-11-09 08:47:00 -08:00
Nathan Froyd
ce7eadda0a Bug 809950 - fix webrtc signaling Wrapper code to not introduce static initializers; r=jesup 2012-11-08 13:45:39 -05:00
Randell Jesup
5f9b147f0d Bug 807929: Make DataChannel refcounted r=mcmanus 2012-11-02 15:28:13 -04:00
EKR
f00d9d3eab Bug 807259: Fix shutdown for WebRTC standalone unit tests. r=anant 2012-10-31 16:31:47 +01:00
EKR
7aef558c74 Bug 806335: MediaPipeline destroys TransportFlow on wrong thread; r=anant 2012-10-29 15:35:12 +01:00
EKR
3c40009bf3 Bug 806306: Fix compile bustage for MediaConduit; r=anant 2012-10-29 15:33:19 +01:00
Robert O'Callahan
8fe699d05c Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00
Randell Jesup
20c57e322f Bug 805701: protect against NULL fcb pointer r=ehugg 2012-10-27 21:47:39 -04:00
EKR
74b119ca7d Bug 801221: Move mtransport operations onto STS thread; r=jesup 2012-10-18 13:01:52 -07:00
Ethan Hugg
fdfb2b183d Bug 805533 Send SDP parse errors through single function for reporting r=jesup 2012-10-26 13:05:50 -07:00
Robert O'Callahan
4dcad1fa98 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
b1f3765e26 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
9542499e15 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
70fbb3f665 Bug 802694: Pass along constraints from PC JS module to PCImpl; r=ekr,jesup 2012-10-25 12:24:30 -07:00
Ehsan Akhgari
f117c7a7b0 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
48b5c1a608 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
6597ec75b3 Bug 803744 - Allow signaling startup when already started r=jesup 2012-10-24 15:46:40 -07:00
Randell Jesup
ea0b9a0c76 Bug 803881: Fix wrong number of samples for webrtc media unit tests r=ekr 2012-10-24 16:54:33 -04:00
Ethan Hugg
25ee34c4f3 Bug 729541 fix for syntax error in signaling_unittests r=jesup 2012-10-23 21:26:27 -07:00
Ethan Hugg
8c014a3816 Bug 797512 Signaling: simplify set_dtls_fingerprint r=jesup 2012-10-22 16:38:52 -07:00
Ethan Hugg
1aa952bdb9 Bug 803875 MediaConstraints - fix length handling r=jesup 2012-10-22 13:25:44 -07:00
Enda Mannion
0ba819af9f Bug 729541: Remove 'offer' parameter from RTCPeerConnection.createAnswer r=jesup 2012-10-15 16:50:10 +01:00
Randell Jesup
7b88f6bbd8 Bug 803086: Process NULL image chunks in NotifyQueuedTrackChanges() r=ekr 2012-10-19 10:58:06 -04:00
Enda Mannion
19a1757572 Bug 800688: remove local_dynamic_payload_type_value from negotiation r=ehugg,jesup 2012-10-17 15:57:52 +01:00
Ethan Hugg
bd07838607 Bug 798873 Patch 3 - flex_string fix for Windows vsnprintf r=jesup 2012-10-17 18:57:57 -07:00
Mike Hommey
d964501004 Bug 799975 - Fix webrtc when building with system nspr/nss. r=ted 2012-10-17 16:33:23 +02:00
Mike Hommey
99b86d0934 Bug 798926 - Define INTEGER_TYPES_H and others for srtp.h. r=jesup 2012-10-17 16:28:33 +02:00
Enda Mannion
5a8e92c267 Bug 786152: Increment DataChannel SCTP port in a WebRTC JSEP answer r=jesup 2012-09-28 11:36:02 +01:00
Enda Mannion
33296357c8 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
1735393652 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
3d71f52bfc Bug 800611 - Trailing whitepace removed from signaling code r=jesup 2012-10-12 08:15:24 -07:00
Gervase Markham
1da1c4ba1e Bug 796457 - upgrade license to MPL 2. 2012-10-12 15:58:11 +01:00
Ed Morley
8fc88262ba 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
67399d2474 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
df9438058b Bug 800343 - Cast nsresult to uint32_t to output to streams; r=ehsan 2012-10-11 14:48:31 +02:00
EKR
e23c5f65b3 Bug 792811 - Check creation of WebRTC transportflows r=jesup 2012-10-09 12:29:01 -07:00
Ethan Hugg
76eb10e75c Bug 800502 - Signaling - Removed unused code that required XML handling r=jesup 2012-10-11 14:07:50 -07:00
Ethan Hugg
cf930efa7b Bug 800558 - Signaling - return proper error code in fsmdef.c r=jesup 2012-10-11 14:32:45 -07:00
Ethan Hugg
94d4df0c19 Bug 798873 - Signaling SDP construction uses flex_string r=jesup 2012-10-08 16:43:33 -07:00
Ehsan Akhgari
7b4b67c803 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
7127744548 Bug 791278: Protect PeerConnection setLocal/RemoteDescription from NULL input r=jesup 2012-10-09 15:14:51 -07:00
Ethan Hugg
eb386b8884 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
bc7bf01608 Bug 799477: missing stdarg.h in CSFLog.h (typically gcc 4.4.x) r=ehugg 2012-10-09 14:46:34 -04:00
EKR
9bcb94d7e2 Bug 799246: Conditionally enable webrtc unit tests r=jesup,ted,cjones 2012-10-08 18:56:00 -07:00
Randell Jesup
23a78a8528 Bug 799071: clean up clang warnings in media/webrtc/signaling (-Werror) r=ehugg 2012-10-08 17:11:10 -04:00
Ethan Hugg
25aeed0845 Bug 798873 - Signaling - increase max SDP size (temporary until better fix). r=jesup,ekr 2012-10-07 22:28:52 -07:00
Randell Jesup
7569f2e9db 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
de7cb6110e 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
c284b98070 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Anant Narayanan
0e8bef661b Bug 798825: Add DataChannel DOM interfaces to RTCPeerConnection; r=smaug 2012-10-07 01:34:30 -04:00
Anant Narayanan
785ec1a331 Bug 694807: Implement PeerConnection C++ module; r=jst,jesup,ekr 2012-10-07 01:34:30 -04:00
Randell Jesup
9d2502d0a4 Bug 792188: Fixes to signaling MediaPipeline and Srtpflow r=jesup,derf 2012-10-07 01:34:29 -04:00
Randell Jesup
82c91f1b08 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
09f2e4a618 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
a16c4614b0 Bug 792188: Import SIPCC into media/webrtc/signaling rs=jesup r=gerv 2012-03-13 11:22:14 -07:00