Commit Graph

470 Commits

Author SHA1 Message Date
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
Daniel Holbert
f4282b6fcf Bug 805470: Remove trailing semicolons to fix build warnings in /media/mtransport. r=jesup 2012-10-26 10:49:57 -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
Matthew Gregan
cc30487cfd Bug 805352 - Make cubeb_stream_destroy errors non-fatal in AudioUnit backend. r=doublec 2012-10-26 17:09:12 +13:00
Ryan VanderMeulen
40f09ef25e Merge the last PGO-green inbound chnageset to m-c. 2012-10-25 21:14:50 -04:00
Randell Jesup
e289cb5b07 Bug 803842: Fix incorrect index for warning length; bullet-proof the code some r=derf 2012-10-24 15:39:55 -04:00
Ethan Hugg
6597ec75b3 Bug 803744 - Allow signaling startup when already started r=jesup 2012-10-24 15:46:40 -07: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
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
Jacek Szpot
151a2a463e Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02: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
Matthew Gregan
17519743eb No bug - Update media/libnestegg's README_MOZILLA to point to correct git commit. DONTBUILD
--HG--
extra : rebase_source : bb122043b1839c206ea00512bd8ed7744f60a724
2012-10-23 18:09:52 +13:00
Matthew Gregan
8679053e85 No bug - Update media/libcubeb's import script to include upstreamed OpenSL backend.
--HG--
extra : rebase_source : 522aed702afc506555ed62a6b903b2bd2c4c314a
2012-10-23 17:22:10 +13:00
Randell Jesup
7b88f6bbd8 Bug 803086: Process NULL image chunks in NotifyQueuedTrackChanges() r=ekr 2012-10-19 10:58:06 -04:00
Matthew Gregan
58eb48540b Bug 778675 - Make cubeb_stream_init errors non-fatal in AudioUnit backend. r=doublec 2012-10-18 18:03:45 +13: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
Isaac Aggrey
fc1063f503 Bug 794510: Part 5 - use plarena.h type definitions; r=ehsan 2012-10-11 01:39:28 -05: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
Ehsan Akhgari
9e0549e4d9 Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04: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
Jacek Szpot
0ebb25a85a Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Daniel Holbert
b803a1a97e Bug 801210: Remove unnecessary semicolon after NS_INLINE_DECL_THREADSAFE_REFCOUNTING in media/mtransport headers. r=jesup 2012-10-13 10:15:15 -07:00
Randell Jesup
181fa73bef Bug 800847: Correctly regenerate Makefiles from gyp files, and handle fancy symlinked objdirs r=ted 2012-10-12 16:06:33 -04: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
Gregory Szorc
5b895d9902 Bug 800546 - Ensure GYP-generated make files depend on the proper file; r=ted
Previously they could depend on mozmake.pyc. Now, we ensure they
reference the original .py file.
2012-10-11 15:21:19 -07:00
Chris Peterson
cb919e2b28 Bug 794171 - Part 1: Add H.264 codecs that are commonly supported on Android. r=doublec f=hsivonen 2012-10-10 18:07:32 -07:00