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

Unified Diff: content/renderer/media/webrtc/video_destination_handler.cc

Issue 617093003: Add MediaStreamSource frame rate calculation to the tracker. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding type name. Fixing IPC type problem. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc/video_destination_handler.cc
diff --git a/content/renderer/media/webrtc/video_destination_handler.cc b/content/renderer/media/webrtc/video_destination_handler.cc
index 54cf603c5ae49c22e2652331d6c60079f8bb7ab4..41d36bb3605648d5ed9364c8774bcdbe498d5628 100644
--- a/content/renderer/media/webrtc/video_destination_handler.cc
+++ b/content/renderer/media/webrtc/video_destination_handler.cc
@@ -24,6 +24,8 @@
namespace content {
+const char kTypeName[] = "Pepper Plugin";
+
class PpFrameWriter::FrameWriterDelegate
: public base::RefCountedThreadSafe<FrameWriterDelegate> {
public:
@@ -107,6 +109,10 @@ void PpFrameWriter::StopSourceImpl() {
DCHECK(CalledOnValidThread());
}
+std::string PpFrameWriter::TypeName() const {
+ return kTypeName;
+}
+
void PpFrameWriter::PutFrame(PPB_ImageData_Impl* image_data,
int64 time_stamp_ns) {
DCHECK(CalledOnValidThread());
« no previous file with comments | « content/renderer/media/webrtc/video_destination_handler.h ('k') | media/video/capture/video_capture_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698