Commit Graph

192 Commits

Author SHA1 Message Date
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