| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit c6d743ef45ab10d0e014dd07b81de10a9aaa3e0c.
The underlaying problem is fixed in
https://codereview.chromium.org/232803002/
Original description:
Implement a source for remote video tracks.
MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface
for video tracks received on a PeerConnection. The purpose of the class is
to make sure there is no difference between a video track where the source is
a local source and a video track where the source is a remote video track.
Verified on ChromeOs with hw decode support.
TBR=ronghuawu
BUG=334243
Review URL: https://codereview.chromium.org/231983006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263238 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
> Implement a source for remote video tracks.
> MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface
> for video tracks received on a PeerConnection. The purpose of the class is
> to make sure there is no difference between a video track where the source is
> a local source and a video track where the source is a remote video track.
>
> BUG=334243
>
> Review URL: https://codereview.chromium.org/201583003
This caused remote video to appear unexpectedly zoomed and cropped.
BUG=334243,361770
TBR=perkj@chromium.org
Review URL: https://codereview.chromium.org/231963002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262819 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/227163007/)
Reason for revert:
This change caused 16 tests under LayoutTests/fast/mediastream/ to crash
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20Blink&tests=fast/mediastream/RTCPeerConnection-AddRemoveStream.html,fast/mediastream/RTCPeerConnection-createAnswer.html,fast/mediastream/RTCPeerConnection-createOffer.html,fast/mediastream/RTCPeerConnection-datachannel.html,fast/mediastream/RTCPeerConnection-dtmf.html,fast/mediastream/RTCPeerConnection-events.html,fast/mediastream/RTCPeerConnection-ice.html,fast/mediastream/RTCPeerConnection-lifetime.html,fast/mediastream/RTCPeerConnection-localDescription.html,fast/mediastream/RTCPeerConnection-onnegotiationneeded.html,fast/mediastream/RTCPeerConnection-remoteDescription.html,fast/mediastream/RTCPeerConnection-state.html,fast/mediastream/RTCPeerConnection-stats.html,fast/mediastream/RTCPeerConnection-statsSelector.html,fast/mediastream/RTCPeerConnection.html,fast/mediastream/constructors.html
Original issue's description:
> This cl adds a new class WebRtcMediaStreamAdapter. The responsibility of the class is to create and own a representation of a webrtc MediaStream that can be added and removed from a PeerConnection.
> An instance of WebRtcMediaStreamAdapter is created when a MediaStream is added to RTCPeerConnection object.
>
> The purpose is to clean up the the webrtc specific use of MediaStreams.
>
> BUG=323223
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262395
TBR=xians@chromium.org,ronghuawu@chromium.org,perkj@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=323223
Review URL: https://codereview.chromium.org/228733002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262403 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://codereview.chromium.org/228163003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262402 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
class is to create and own a representation of a webrtc MediaStream that can be added and removed from a PeerConnection.
An instance of WebRtcMediaStreamAdapter is created when a MediaStream is added to RTCPeerConnection object.
The purpose is to clean up the the webrtc specific use of MediaStreams.
BUG=323223
Review URL: https://codereview.chromium.org/227163007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262395 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MediaStreamRemoteVideoSource implements the MediaStreamVideoSource interface
for video tracks received on a PeerConnection. The purpose of the class is
to make sure there is no difference between a video track where the source is
a local source and a video track where the source is a remote video track.
BUG=334243
Review URL: https://codereview.chromium.org/201583003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262050 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And also I am forced to do some clean up on the existing code to avoid adding the source provider inside the WebRtcLocalAudioTrack.
NOTRY=true
BUG=358960
TEST=content_unittests
Review URL: https://codereview.chromium.org/221863003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261401 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
NOTRY=true
BUG=354468
Review URL: https://codereview.chromium.org/206593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259572 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This cl relands MediaStreamVideoTrack. https://codereview.chromium.org/155853002 originally landed in r255846.
The real problem is fixed in https://codereview.chromium.org/200133004/.
BUG=334241
Review URL: https://codereview.chromium.org/206063005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258626 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://build.chromium.org/p/chromium.webrtc/builders/Win7%20Tester/builds/6868
http://build.chromium.org/p/chromium.webrtc/builders/Win8%20Tester/builds/553 (552 which was the first build to contain this CL failed for other reasons earlier in the run)
http://build.chromium.org/p/chromium.webrtc/builders/Linux%20Tester/builds/17749
> Adding tests for the MediaStream Constructor.
> BUG=294145
>
> Review URL: https://codereview.chromium.org/183213003
TBR=tommyw@chromium.org
Review URL: https://codereview.chromium.org/205633002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258148 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=294145
Review URL: https://codereview.chromium.org/183213003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258023 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is causing problems in the video stream when audio devices
(input or output) is switched.
BUG=351949,334241
> MediaStream VideoTrack implementation.
> This implementation only use Chrome video classes for local rendering.
> A libjingle representation is created once its connected to a PeerConnection.
>
>
> BUG=334241
>
> Review URL: https://codereview.chromium.org/155853002
TBR=perkj@chromium.org
Review URL: https://codereview.chromium.org/198353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256699 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This implementation only use Chrome video classes for local rendering.
A libjingle representation is created once its connected to a PeerConnection.
BUG=334241
Review URL: https://codereview.chromium.org/155853002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255846 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and video tracks that are created locally. The end goal is to not use libjingle interfaces until a MediaStream is added to a PeerConnection.
This cl renames MediaStreamTrackExtraData and MediaStreamExtraData to MediaStreamTrack and MediaStream.
Both MediaStreams and MediaStreamTracks gets a pointer to
the one and only MediaStreamDependencyFactory.
The instantiation of all webrtc MediaStream classes are done in MediaStreamDependencyFactory.
Instantiation of the webrtc / libjingle MediaStreams happen
when MediaStream::GetAdapter or MediaStreamVideoTrack::GetAdapter is called the first time.
MediaStreamCenter is updated to not call directly into the libjingle classes but instead use the chrome representations of streams and tracks.
BUG=323223
Review URL: https://codereview.chromium.org/139343014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252562 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is used as a common base class for MediaStreamAudioSource and MediaStreamVideoSource.
Further more it adds a specialization MediaStreamVideoSource called MediaStreamVideoCaptureDeviceSource. This is used for
local video source such that can be created used GetUserMedia.
The cl hooks up the above classes to MediaStreamImpl to make sure they are used when gUM i used from JS.
BUG=334241
TBR jam for content_renderer.gypi
TBR=jam
Review URL: https://codereview.chromium.org/131763002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247937 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Apart from the refactoring the code is also prepared for the big track
behavioral change coming up.
BUG=294145
Review URL: https://codereview.chromium.org/72043004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This CL updates all references to the WebKit namespace in content.
TBR=darin@chromium.org
BUG=295096
Review URL: https://codereview.chromium.org/63253002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233513 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Always store the native MediaStreamTrackInterface in the ExtraData field.
This patch doesn't change the current behavior.
BUG=294145
Review URL: https://codereview.chromium.org/31033003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231318 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This cl is togehter with https://codereview.chromium.org/24070004/ what is needed to implement MediaStreamTrack::Stop and at the same time
keep the current behavior of MediaStream::Stop.
TEST= Open https://src.chromium.org/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection-multi.html. Open the Java script console and type gLocalStream1.stop(). Notice that only video of the first video tag stop. This is as before. Refresh the page and type gLocalStream1.getVideoTracks()[].stop() and notice that both video tags stop playing video and the video camera is no longer in use.
BUG=293304
Review URL: https://codereview.chromium.org/26394004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229844 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will help JS writer to display info about the camera.
This is enabled for Android only, since it makes sense for mobile device.
BUG=https://code.google.com/p/webrtc/issues/detail?id=2393
R=avi@chromium.org, palmer@chromium.org, tsepez@chromium.org, vrk@chromium.org
Review URL: https://codereview.chromium.org/24340002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224788 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=240710
Review URL: https://chromiumcodereview.appspot.com/20857002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215400 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=240710,https://code.google.com/p/webrtc/issues/detail?id=1571
Review URL: https://chromiumcodereview.appspot.com/16806002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211922 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
No more extra roundtrip for a getUserMedia call.
BUG=
Review URL: https://chromiumcodereview.appspot.com/17467002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207642 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL changes the majority of include paths from the old
Source/WebKit/chromium/public to the new public/web directory.
TBR=darin
BUG=239545
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/17148003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206664 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=247723
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16756003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205451 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=none
TEST=none
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/16408017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204917 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"operator T*"
Linux fixes
BUG=110610
TBR=darin
Review URL: https://chromiumcodereview.appspot.com/16294003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These headers have moved from Source/Platform/chromium/public to
public/platform. This CL updates content's references to the old location to
point to the new location. After this CL lands, I'll remove the forwarding
headers that are letting these references still work.
TBR=jamesr@chromium.org
BUG=239545
Review URL: https://chromiumcodereview.appspot.com/15822010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203047 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MediaStream.
https://code.google.com/p/webrtc/issues/detail?id=382
This cl refactor the way Chrome create the native repressentation for MediaStreams by splitting up creating MediaStreams and tracks in two functions, of for MediaStreams and one for Tracks (AddNativeLocalMediaTrack).
AddNativeLocalMediaTrack is hooked up to MediaStreamCenter::didAddMediaStreamTrack to allow adding tracks to existing MediaStreams.
Two content_browsertests are added for testing adding and removing tracks from MediaStreams.
Review URL: https://chromiumcodereview.appspot.com/13496009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193908 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed use of MediaStreamTrackLists, LocalAudioTrackInterface, LocalVideoTrackInterface.
Deprecate the use of LocalMediaStreamInterface. Instead use MediaStreamInterface.
TEST= Make sure https://apprtc.appspot.com/?debug=loopback give you remote audio and video and local video.
Review URL: https://chromiumcodereview.appspot.com/12297027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
WebMediaStreamTrack & WebMediaStream
Depends on a not yet landed WebKit patch
BUG=173105
Review URL: https://chromiumcodereview.appspot.com/12084088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180389 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
Platform directory
Review URL: https://chromiumcodereview.appspot.com/11783073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=webrtc 850,940 crbug 165326
Review URL: https://chromiumcodereview.appspot.com/11828060
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177090 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This patch removes all relevant files from Chromium; no new functionality at all.
BUG=159406
Review URL: https://chromiumcodereview.appspot.com/11293092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
MediaStreamCenter::didStopLocalMediaStream
BUG=150755
TEST= Goto https://apprtc.appspot.com/?r=&debug=loopback and let the page use camera and microphone. Hit ctrl-shift-j to open up the java script console. type localMediaStream.stop() to stop the local mediasream. Make sure the camera is no longer used.
Review URL: https://chromiumcodereview.appspot.com/10947030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158004 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a proposed solution for the problem with using WebFrame* web_frame = WebFrame::frameForCurrentContext() in
renderer_webkitplatformsupport_impl.cc
https://chromiumcodereview.appspot.com/10703095/diff/13017/content/renderer/renderer_webkitplatformsupport_impl.cc
This should be seen as step 1 in refactoring how PeerConnections are created and used. If PeerConnections should be created in the RenderThreadImpl - so should all objects that it is dependent on such as the P2PSocketDispatcher that is currently created and owned by the RenderViewImpl.
BUG=
Review URL: https://chromiumcodereview.appspot.com/10919122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
Pointer was assigned in ctor but never used.
Review URL: https://chromiumcodereview.appspot.com/10891005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153780 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
correct mid, so we shouldn't use it, otherwise there will be a mismatch of mid and mline_index.
BUG= http://code.google.com/p/webrtc/issues/detail?id=717
TEST=Test page from http://code.google.com/p/webrtc/issues/detail?id=717.
Review URL: https://chromiumcodereview.appspot.com/10834137
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149754 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10833061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149013 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
changes.
With this cl a WebKitMediaStreamDescriptor holds a scoped_refptr to the native implementation of MediaStreams.
This simplifies the glue code and allows us to hook up events from MediaStreamCenter to the correct native MediaStream.
BUG=
TEST= unit tests and https://apprtc.appspot.com
Review URL: https://chromiumcodereview.appspot.com/10383151
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137110 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(cloned http://codereview.chromium.org/9699069/#ps35007 since it was reverted)
This adds glue for JSEP PeerConnection. PeerConnectionHandler is split in two classes and a base class. The class name is kept for the old ROAP PeerConnection to be aligned with WebKit naming. ROAP is planned to be removed pretty soon, then the classes can be refactored.
See also main WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80589
(In particular https://bugs.webkit.org/show_bug.cgi?id=82450)
TEST=content_unittests and manual webrtc test.
BUG=123130
TBR=darin
Review URL: http://codereview.chromium.org/10008077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132210 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds glue for JSEP PeerConnection. PeerConnectionHandler is split in two classes and a base class. The class name is kept for the old ROAP PeerConnection to be aligned with WebKit naming. ROAP is planned to be removed pretty soon, then the classes can be refactored.
See also main WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80589
(In particular https://bugs.webkit.org/show_bug.cgi?id=82450)
TEST=content_unittests and manual webrtc test.
Review URL: http://codereview.chromium.org/9699069
TBR=grunell@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10038009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131961 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds glue for JSEP PeerConnection. PeerConnectionHandler is split in two classes and a base class. The class name is kept for the old ROAP PeerConnection to be aligned with WebKit naming. ROAP is planned to be removed pretty soon, then the classes can be refactored.
See also main WebKit bug https://bugs.webkit.org/show_bug.cgi?id=80589
(In particular https://bugs.webkit.org/show_bug.cgi?id=82450)
TEST=content_unittests and manual webrtc test.
Review URL: http://codereview.chromium.org/9699069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131949 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=
Review URL: http://codereview.chromium.org/9648007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125828 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replacing http://codereview.chromium.org/9309078/
BUG=
TEST=
Review URL: http://codereview.chromium.org/9619006
TBR=mflodman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9639017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125631 0039d316-1c4b-4281-b951-d872f2087c98
|
|
Replacing http://codereview.chromium.org/9309078/
BUG=
TEST=
Review URL: http://codereview.chromium.org/9619006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125629 0039d316-1c4b-4281-b951-d872f2087c98
|