Wwjia@chromium.orgcreate a separate WebMediaPlayer for URL derived from media stream
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
create a separate WebMediaPlayer for URL derived from media stream When the "src" of <video> is derived from media stream, WebMediaPlayerMS is created. Its real time charateristics allows it to simplify some controls in WebMediaPlayer, e.g., no buffering, no preload, etc. WebMediaPlayerMS has 2 different VideoFrameProviders: LocalVideoCapture(for local preview) and RTCVideoRender(for remote view). Audio will be added in the following patches. BUG=142988,110938 TEST=turn on WebMediaPlayer_MS, run apprtc.appspot.com/?debug=loopback Review URL: https://chromiumcodereview.appspot.com/10918052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158490 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Remove redundant size and type information from VideoDecode PPAPI The visible size of the video frame is determined at Create stage. The type of buffer (from system memory or texture-backed via GLES) is decided by the plugin when it calls AssignGLESBuffers or AssignSysmemBuffers in response to ProvidePictureBuffers. The decoded size will be the same as the size requested in ProvidePictureBuffers. Thus these values specified anywhere else is redundant, and introduces a place to have inconsistency. BUG=NONE TEST=ovda unittest passes; gles2 runs w/o crashing Review URL: http://codereview.chromium.org/7021020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93031 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Create media.dll / libmedia.so. This is a re-attempt at landing http://codereview.chromium.org/7572040, now with a DEPS roll to pick up the changes made to ffmpeg by http://codereview.chromium.org/7778004/ so that media_unittests run properly on Linux. TBR=fischman Review URL: http://codereview.chromium.org/7775004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98600 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Update VideoDecode PPAPI structs to be consistent with media structures, part 1 This patch fixes some of the inconsistencies between the VideoDecode structs in the ppapi namespace and their wrappers in the media namespace. It also implements some of the hooks to pass messages to and from the browser and plugin. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6901036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84871 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
VideoDecodeAccelerator now SupportsWeakPtr instead of being RefCountedThreadSafe. Claiming both (which GpuVideoDecodeAcceleratorHost was doing) is confusing and RCTS encourages sloppy lifecycle management. Instead drop RCTS in favor of WeakPtr<>s and explicit lifecycle management (scoped_ptr, with Pass). BUG=136294 Review URL: https://chromiumcodereview.appspot.com/10749019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147069 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |