Commit Graph

449 Commits

Author SHA1 Message Date
wu@webrtc.org
eb9572e501 Add the new peerconnection factory to the scons file.
Review URL: http://webrtc-codereview.appspot.com/134001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@449 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 16:58:58 +00:00
niklas.enbom@webrtc.org
e129ae944e Review URL: http://webrtc-codereview.appspot.com/137002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@448 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 16:52:34 +00:00
hellner@google.com
3227ed567b Fixed potential memory leak in unit test and removed an unnecessary copy.
Review URL: http://webrtc-codereview.appspot.com/131001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@447 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 15:34:19 +00:00
tommi@webrtc.org
102b2270c7 First version of the peerconnection client application for Linux.
I made several updates to the Windows version as well so that both
implementations share
a big portion of the code.
The underlying PeerConnection notifications have changed a bit since the last
update
so that there's still a known issue that I plan to fix in my next change:

  // TODO(tommi): There's a problem now with terminating connections:
  // When ending a conversation, both peers now send a signaling message
  // that indicates that their ports are closed (port=0).  The trouble this
  // causes us here is that we can interpret such a message as an invite
  // to a new conversation.  So, currently there is a bug that ending
  // a conversation can immediately start a new one.
  // To fix this I plan to change how conversations start and have a special
  // notification message via the server that prepares a client for a
  // conversation instead of automatically recognizing the first signaling
  // message as an invite.
Review URL: http://webrtc-codereview.appspot.com/112008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@446 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 15:03:52 +00:00
tommi@webrtc.org
137ece4ac3 * Make GetReadyState accessible via the PeerConnection interface.
* Update PeerConnection implementations to include "virtual"
in the method declarations.
* Add a check for a valid signaling thread in webrtcsession.cc.
Review URL: http://webrtc-codereview.appspot.com/137001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@445 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 14:18:25 +00:00
stefan@webrtc.org
44d356d6df Fix unused variable warning in spatial_resampler.cc
Issue 60: [Patch] Fix unused variable warning in spatial_resampler.cc
Review URL: http://webrtc-codereview.appspot.com/125003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@444 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 07:53:53 +00:00
mallinath@webrtc.org
1cdc6b5d79 This CL adding a factory class which has the responsibility of creating peerconnection objects. This is very basic class doesn't do any reference count, user has the responsibility to delete the object externally.
Review URL: http://webrtc-codereview.appspot.com/122006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@443 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 23:50:05 +00:00
hellner@google.com
d1015fe677 Replaced regular sleep with a talk_base::Thread::ProcessMessages(..) call so that Posts get some execution time from the main thread.
Review URL: http://webrtc-codereview.appspot.com/122007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@442 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 21:35:09 +00:00
turajs@google.com
5cc9c68e8d Fixing a warning discovered while compiling with clang.
Review URL: http://webrtc-codereview.appspot.com/120003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@441 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 21:20:33 +00:00
marpan@google.com
057efc8f98 Removed unused variables and unnecessary assert: causing build error in vpm_test.
Review URL: http://webrtc-codereview.appspot.com/128001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@440 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 20:53:15 +00:00
andrew@webrtc.org
4f390000dd Fix warnings on Ubuntu 11.04 (gcc 4.5)
http://code.google.com/p/webrtc/issues/detail?id=63
Review URL: http://webrtc-codereview.appspot.com/125004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@439 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 20:35:35 +00:00
wu@webrtc.org
37fd004c69 Remove the X11 headers we don't need.
Review URL: http://webrtc-codereview.appspot.com/123003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@438 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 17:06:38 +00:00
frkoenig@google.com
cf36b2aa9b Match new[] / delete []
Quiet valgrind warnings by correctly matching 
new[] with delete[].
Review URL: http://webrtc-codereview.appspot.com/126005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@437 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 15:48:47 +00:00
perkj@google.com
accd686b31 Implementation of media streams. Work in progress.
Review URL: http://webrtc-codereview.appspot.com/117002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@436 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 15:43:42 +00:00
stefan@webrtc.org
49cbc512ae Fix unused variable warning in video_coding.
Issue 57: [Patch] Fix unused variable warnings in the video_coding module
Review URL: http://webrtc-codereview.appspot.com/126004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@435 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 08:51:08 +00:00
andrew@webrtc.org
7f593c1e62 Fix gcc 4.6 unused variable warnings in audio_processing.
Issues:
http://code.google.com/p/webrtc/issues/detail?id=54
http://code.google.com/p/webrtc/issues/detail?id=55
Review URL: http://webrtc-codereview.appspot.com/121003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@434 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 01:00:50 +00:00
mikhal@webrtc.org
6724cf8183 VP8: Adding a flag to indicate the libvpx version. When in Cayuga, additional API's will be used.
Review URL: http://webrtc-codereview.appspot.com/120006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@433 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-24 00:51:36 +00:00
wu@webrtc.org
9788e18532 * Add PeerConnectionProxy to forward all the API calls to signaling thread.
* Use Send instead of Post so that we can report error.
Review URL: http://webrtc-codereview.appspot.com/113009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@432 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 23:49:44 +00:00
wjia@google.com
4482b04207 revert r430 to keep webrtc always ready to roll in chromium.
r430 will be used when libvpx in chromium is rolled to Cayuga.
Review URL: http://webrtc-codereview.appspot.com/119008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@431 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 23:41:00 +00:00
wjia@google.com
f9f1deba8f Get ready for libvpx Cayuga (v0.9.7-p1).
When building with Chromium, on Windows, only header files are needed; otherwise, libvpx.gyp:libvpx is needed.

This patch is based on http://webrtc-codereview.appspot.com/91019/
Review URL: http://webrtc-codereview.appspot.com/122005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@430 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 23:08:30 +00:00
mallinath@webrtc.org
dec6aa57f3 This CL will remove sending any signal after calling Close and RemoveStream. I am thinking to remove Close method at all, since application can directly delete the object if it wants to end the call with all active streams. Will send that change later in a different CL.
Review URL: http://webrtc-codereview.appspot.com/119004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@429 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 22:17:03 +00:00
hellner@google.com
a386fc0a8b Fixes build warnings due to unused variables.
Code directly from http://code.google.com/p/webrtc/issues/detail?id=58.
Review URL: http://webrtc-codereview.appspot.com/119007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@428 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 21:26:09 +00:00
hellner@google.com
9aa9996a19 Different solution than the one suggested in http://code.google.com/p/webrtc/issues/detail?id=56 however, should solve the same problem.
Review URL: http://webrtc-codereview.appspot.com/126003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@427 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 21:25:55 +00:00
wu@webrtc.org
87c9b74b11 * Use the current thread as the signaling thread and worker thread to keep the unit test simple and easier to debug.
* I also merged the issue 113007.

This will be uploaded to the libjingle patch, so you may comment there if you want.

There's failure in the tests now, but I will let you review the threading change at the same time I will try to resolve the failure.
Review URL: http://webrtc-codereview.appspot.com/120002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@426 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 20:57:29 +00:00
wu@webrtc.org
ae53bf87d7 The variable ‘dummy’ set but not used being treated as errors in Fedora.
Review URL: http://webrtc-codereview.appspot.com/122004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@425 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 18:56:56 +00:00
andrew@webrtc.org
ceb148ce59 Fix compile warnings in Release configuration.
Review URL: http://webrtc-codereview.appspot.com/119003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@424 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 17:53:54 +00:00
mikhal@webrtc.org
06ad81fd58 video_coding: changing the UpdateMethod function (protection settings).
Review URL: http://webrtc-codereview.appspot.com/126002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@423 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 16:03:59 +00:00
perkj@google.com
12f1fc4fe5 Fix initialization defect in constructor webrtc::ModuleRtpRtcpImpl::ModuleRtpRtcpImpl(WebRtc_Word32, bool) initialization list.
Review URL: http://webrtc-codereview.appspot.com/125002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@422 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 14:26:33 +00:00
perkj@google.com
a3fc1aac52 Fix Issue 59. Fix a constructor cast warning in video_X11_channel.cc.
http://code.google.com/p/webrtc/issues/detail?id=59.
Review URL: http://webrtc-codereview.appspot.com/122002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@421 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 13:38:14 +00:00
pwestin@webrtc.org
a070adbab2 Moved member RTPSender from private to protected.
Review URL: http://webrtc-codereview.appspot.com/119006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@420 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 11:17:03 +00:00
xians@webrtc.org
9d64705dea The method AudioDeviceWindowsWave::RecProc can use uninitialized variables t1 and t2.
This results in an exception in debug mode and unpredictable behavior in release mode.

The problem is at line 3514:

        // Calculate processing time
        consumedTime = (int)(t2.QuadPart-t1.QuadPart);

Bug=http://code.google.com/p/webrtc/issues/detail?id=42
Test=none
Review URL: http://webrtc-codereview.appspot.com/121002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@419 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-23 09:14:56 +00:00
punyabrata@webrtc.org
5895ea1573 Fixes volume problem controls, happening with some Logitech headsets. Originally submitted as gips p4 depot CL 38122.
Review URL: http://webrtc-codereview.appspot.com/116008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@418 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 22:46:38 +00:00
punyabrata@google.com
9695e75fbd Resolve a crash related to pulseAudio where we need to check if
pa_context_get_source_info_by_name/pa_context_get_sink_info_by_name 
has early failure and returns NULL,then to avoid WaitForOperationCompletion
from crashing, paOperation must be checked to ensure it is not NULL.

Please note that ::WaitForOperationCompletion( ) is a void function
therefore returning without any error code if paOperation is indeed NULL

Google internal bug id [4356730]
Review URL: http://webrtc-codereview.appspot.com/122003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@417 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 22:35:14 +00:00
cduvivier@google.com
288c8698cb Optimization of 'cftmdl':
* scalar optimization, vectorization.
* 1.7% AEC overall speedup for the straight C path.
* 9.2% AEC overall speedup for the SSE2 path.
Review URL: http://webrtc-codereview.appspot.com/109008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@416 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:55:33 +00:00
mikhal@webrtc.org
0e16b78ec9 VP8: Removing VP8Latest flag following the update to the Cayuga release
Review URL: http://webrtc-codereview.appspot.com/116012

git-svn-id: http://webrtc.googlecode.com/svn/trunk@415 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:25:39 +00:00
mikhal@webrtc.org
d70b77d19f video_coding: Updating offline tests
1. Adding parameters to the  input arguments. 
2. Introducing delay in the RTPSend callback
3. Clean-up
Review URL: http://webrtc-codereview.appspot.com/116006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@414 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 21:08:15 +00:00
mallinath@webrtc.org
6f555dcafe Review URL: http://webrtc-codereview.appspot.com/119002
git-svn-id: http://webrtc.googlecode.com/svn/trunk@413 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 18:33:51 +00:00
wu@webrtc.org
eb29a9789d * Remove the previous renderer before set a new one.
* Allow to unregister a renderer by giving a NULL point.
Review URL: http://webrtc-codereview.appspot.com/123001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@412 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-22 15:58:03 +00:00
tommi@webrtc.org
adb23827c1 Fix windows build.
TBR=andrew
Review URL: http://webrtc-codereview.appspot.com/125001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@411 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-20 13:43:44 +00:00
andrew@webrtc.org
f81f9f8c2a Add -Werror and -Wextra to the Linux build.
Includes all fixes required for -Wextra.
Review URL: http://webrtc-codereview.appspot.com/117006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@410 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 22:56:22 +00:00
frkoenig@google.com
9139fddf0e Optimize ssim_8x8 for SSE2.
Code was pulled from libvpx assembly and converted
to intrinsics.
Review URL: http://webrtc-codereview.appspot.com/122001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@409 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 22:33:08 +00:00
andrew@webrtc.org
6423509efc Fix Valgrind warnings in audio_processing.
Review URL: http://webrtc-codereview.appspot.com/119001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@408 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 21:22:08 +00:00
frkoenig@google.com
f53055d60e Use optimized SSIM from libvpx.
Review URL: http://webrtc-codereview.appspot.com/117005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@407 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 18:16:59 +00:00
mallinath@webrtc.org
bca7fa09af Review URL: http://webrtc-codereview.appspot.com/118001
git-svn-id: http://webrtc.googlecode.com/svn/trunk@406 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 16:39:18 +00:00
leozwang@google.com
412889a2a9 Some cleanup in test app
This CL is to keep track of work and demonstrate a way to do ndk build in case it's needed. But ndk-build doesn't work yet because of many reasons, issues will be addressed in future if it's needed.
Some minor changes in source files to make them pass compiler.
Review URL: http://webrtc-codereview.appspot.com/107004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@405 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 15:34:34 +00:00
xians@google.com
54e4691e20 change from ./test/data/voice_engine/audio_long16.pcm to ../../test/data/voice_engine/audio_long16.pcm
Review URL: http://webrtc-codereview.appspot.com/115003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@404 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 08:22:14 +00:00
mallinath@webrtc.org
310689e26d Review URL: http://webrtc-codereview.appspot.com/115007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@403 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 01:13:31 +00:00
wu@webrtc.org
765c918677 Changes based on the review comments.
* Rename WebRTCSession to WebRtcSession.
* Add comments to the signal.
Review URL: http://webrtc-codereview.appspot.com/114009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@402 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-19 00:14:23 +00:00
mallinath@webrtc.org
bfc63ae83f Review URL: http://webrtc-codereview.appspot.com/113008
git-svn-id: http://webrtc.googlecode.com/svn/trunk@401 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-18 18:01:31 +00:00
henrikg@webrtc.org
a2de6060b7 Review URL: http://webrtc-codereview.appspot.com/108007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@400 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-18 11:11:04 +00:00