Commit Graph

598 Commits

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