mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-10 06:15:50 -05:00
commit from PR#86 for VOIP, modified so as to restore real-time preview and video display
This commit is contained in:
parent
9158ed64ef
commit
b5bfddd1bc
6 changed files with 321 additions and 215 deletions
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
#include <QLabel>
|
||||
#include "interface/rsVOIP.h"
|
||||
|
||||
#include "opencv2/opencv.hpp"
|
||||
|
||||
#include "gui/VideoProcessor.h"
|
||||
|
||||
class VideoEncoder ;
|
||||
class CvCapture ;
|
||||
|
||||
// Responsible from displaying the video. The source of the video is
|
||||
// a VideoDecoder object, which uses a codec.
|
||||
|
|
@ -61,7 +63,7 @@ protected slots:
|
|||
private:
|
||||
VideoProcessor *_video_processor ;
|
||||
QTimer *_timer ;
|
||||
CvCapture *_capture_device ;
|
||||
cv::VideoCapture *_capture_device ;
|
||||
|
||||
QVideoOutputDevice *_echo_output_device ;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue