Commit Graph

224 Commits

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