Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 9543001: Support for multiple PeerConnections (Closed)

Created:
8 years, 9 months ago by Henrik Grunell
Modified:
8 years, 8 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

This CL has been merged into https://chromiumcodereview.appspot.com/9699069/ --- This updates the PeerConnection glue to support multiple PeerConnections. The functionality depends on JSEP support in libjingle. TEST=content_unittests (currently disabled)

Patch Set 1 #

Total comments: 21
Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -41 lines) Patch
M content/renderer/media/media_stream_impl.h View 5 chunks +13 lines, -7 lines 2 comments Download
M content/renderer/media/media_stream_impl.cc View 3 chunks +44 lines, -29 lines 11 comments Download
M content/renderer/media/media_stream_impl_unittest.cc View 1 chunk +44 lines, -3 lines 8 comments Download
M content/renderer/media/peer_connection_handler.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/peer_connection_handler.cc View 3 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Henrik Grunell
Tommi, can you do an initial review? This CL depends on JSEP support in libjingle, ...
8 years, 9 months ago (2012-02-29 13:02:56 UTC) #1
tommi (sloooow) - chröme
https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/media_stream_impl.cc File content/renderer/media/media_stream_impl.cc (right): https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/media_stream_impl.cc#newcode119 content/renderer/media/media_stream_impl.cc:119: peer_connection_handlers_.push_back(pc_handler); maybe we should put a CHECK(pc_handler) here first ...
8 years, 9 months ago (2012-02-29 13:37:00 UTC) #2
Henrik Grunell
https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/media_stream_impl.cc File content/renderer/media/media_stream_impl.cc (right): https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/media_stream_impl.cc#newcode119 content/renderer/media/media_stream_impl.cc:119: peer_connection_handlers_.push_back(pc_handler); On 2012/02/29 13:37:00, tommi wrote: > maybe we ...
8 years, 9 months ago (2012-03-23 12:51:56 UTC) #3
Henrik Grunell
8 years, 9 months ago (2012-03-26 05:04:26 UTC) #4
https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/...
File content/renderer/media/media_stream_impl.cc (right):

https://chromiumcodereview.appspot.com/9543001/diff/1/content/renderer/media/...
content/renderer/media/media_stream_impl.cc:280: if (pc_handler)
On 2012/03/23 12:51:56, Henrik Grunell wrote:
> On 2012/02/29 13:37:00, tommi wrote:
> > in what situation will pc_handler be NULL?
> 
> It can be if a PeerConnection is closed and the js app sets the url belonging
to
> a remote stream in that PC to a video tag. The URL registry in WebKit isn't
> cleaned up right  away, so it may give us a stream descriptor, but no PC will
be
> found for it. I think we should return a null ptr as decoder instead, I'll
> verify it's ok but I'll upload a new patch with other changes first.

Verified OK to return null ptr.

Powered by Google App Engine
This is Rietveld 408576698