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

Side by Side Diff: content/renderer/media/rtc_video_decoder_factory_tv.h

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests and refined the code Created 7 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_
6 #define CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_
7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "base/message_loop.h"
11 #include "content/common/content_export.h"
12 #include "media/base/demuxer.h"
13 #include "third_party/libjingle/source/talk/media/webrtc/webrtcvideodecoderfacto ry.h"
14
15 namespace webrtc {
16 class VideoDecoder;
17 }
18
19 namespace content {
20
21 class MediaStreamDependencyFactory;
22
23 class CONTENT_EXPORT RTCVideoDecoderFactoryTv
dwkang1 2013/05/06 09:43:38 Any reason to have a separate factory for TV? (We
wonsik 2013/05/06 12:28:43 This factory takes pointer to MediaStreamDependenc
24 : NON_EXPORTED_BASE(public cricket::WebRtcVideoDecoderFactory) {
25 public:
26 RTCVideoDecoderFactoryTv(
27 const MediaStreamDependencyFactory* media_stream_dependency_factory);
28
29 // cricket::WebRtcVideoDecoderFactory implementation.
30 virtual webrtc::VideoDecoder* CreateVideoDecoder(
31 webrtc::VideoCodecType type) OVERRIDE;
32 virtual void DestroyVideoDecoder(webrtc::VideoDecoder* decoder) OVERRIDE;
33
34 private:
35 const MediaStreamDependencyFactory* const media_stream_dependency_factory_;
36
37 DISALLOW_COPY_AND_ASSIGN(RTCVideoDecoderFactoryTv);
38 };
39
40 } // namespace content
41
42 #endif // CONTENT_RENDERER_MEDIA_RTC_VIDEO_DECODER_FACTORY_TV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698