Commit Graph

27 Commits

Author SHA1 Message Date
hellner@google.com
b2801f3a16 Added the remaining test cases for the webrtcsession unittest also some minor refactoring.
Review URL: http://webrtc-codereview.appspot.com/131003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@454 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 21:37:08 +00:00
hellner@google.com
40373cc184 Bugfix in unittest and some minor refactoring.
Review URL: http://webrtc-codereview.appspot.com/137003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@450 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-25 17:17:30 +00:00
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
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
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
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
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
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
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
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
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
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
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
ronghuawu@google.com
18cec47eab Bug fix for OnRemoveStream.
Review URL: http://webrtc-codereview.appspot.com/116009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@396 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-18 03:05:41 +00:00
mallinath@webrtc.org
467b1a9e4a Review URL: http://webrtc-codereview.appspot.com/116007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@388 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-17 00:07:03 +00:00
wu@webrtc.org
74a49a833e Two changes:
1) Libjingle and webrtc use different jsoncpp, so we need to distinguish them.
2) Update the webrtcsession_unittest:
 * Use the Thread::SleepMs
 * Remove main, which has been defined in talk/base/unittest_main.
Review URL: http://webrtc-codereview.appspot.com/107003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@356 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-12 00:20:24 +00:00
mallinath@google.com
424e76a8c1 Review URL: http://webrtc-codereview.appspot.com/97012
git-svn-id: http://webrtc.googlecode.com/svn/trunk@353 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-11 20:44:56 +00:00
ronghuawu@google.com
a852de7bae The new PeerConnection Api (under development) from p4 libjingle/...@38654.
Review URL: http://webrtc-codereview.appspot.com/91002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@305 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 21:09:31 +00:00
ronghuawu@google.com
e256187f8b * Push the //depotGoogle/chrome/third_party/libjingle/...@38654 to svn third_party_mods\libjingle.
* Update the peerconnection sample client accordingly.
Review URL: http://webrtc-codereview.appspot.com/60008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@302 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-04 17:44:30 +00:00
ronghuawu@google.com
e6988b9de5 * Update the session layer to p4 37930
* Update the peerconnection_client in sync with updates on the libjingle side.
Review URL: http://webrtc-codereview.appspot.com/29008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@34 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-01 18:50:40 +00:00
ronghuawu@google.com
e8c5948b52 Revert back this change and wait when Tommi is only to submit the corresponding peerconnection test changes at the same time.
git-svn-id: http://webrtc.googlecode.com/svn/trunk@32 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-01 17:14:19 +00:00
ronghuawu@google.com
7208ddddea Session layer update from p4 (cl37930)
Review URL: http://webrtc-codereview.appspot.com/29008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@30 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-06-01 17:00:36 +00:00
niklase@google.com
5c61233a88 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7 4adac7df-926f-26a2-2b94-8c16560cd09d 2011-05-30 11:41:01 +00:00