mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-10 07:10:12 -04:00
refactored the UI of VOIP config panel and added list of available devices (not used yet)
This commit is contained in:
parent
d3f75234a7
commit
7b5be347bf
4 changed files with 303 additions and 234 deletions
|
@ -49,7 +49,7 @@ class QVideoInputDevice: public QObject
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
QVideoInputDevice(QWidget *parent = 0) ;
|
||||
QVideoInputDevice(QWidget *parent = 0) ;
|
||||
~QVideoInputDevice() ;
|
||||
|
||||
// Captured images are sent to this encoder. Can be NULL.
|
||||
|
@ -71,7 +71,7 @@ class QVideoInputDevice: public QObject
|
|||
|
||||
// control
|
||||
|
||||
void start() ;
|
||||
void start(const QString &description = QString()) ;
|
||||
void stop() ;
|
||||
bool stopped();
|
||||
|
||||
|
@ -81,6 +81,10 @@ class QVideoInputDevice: public QObject
|
|||
CAMERA_CANNOT_GRAB_FRAMES = 0x02
|
||||
};
|
||||
|
||||
// Gets the list of available devices. The id string for each device can be used when creating a QVideoDevice
|
||||
|
||||
static void getAvailableDevices(QList<QString>& device_desc);
|
||||
|
||||
protected slots:
|
||||
void grabFrame(int id, QVideoFrame f) ;
|
||||
void errorHandling(CameraStatus status,QCamera::Error error);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue