mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-04 22:33:12 -05:00
added preview option to show decoded stream in Audio config
This commit is contained in:
parent
2107a1c858
commit
c0614e70ac
8 changed files with 195 additions and 63 deletions
|
|
@ -42,6 +42,12 @@ class QVideoInputDevice: public QObject
|
|||
//
|
||||
bool getNextEncodedPacket(RsVOIPDataChunk&) ;
|
||||
|
||||
// gets the estimated current bandwidth required to transmit the encoded data, in B/s
|
||||
//
|
||||
uint32_t currentBandwidth() const { return _estimated_bw ; }
|
||||
|
||||
// control
|
||||
|
||||
void start() ;
|
||||
void stop() ;
|
||||
|
||||
|
|
@ -59,5 +65,9 @@ class QVideoInputDevice: public QObject
|
|||
QVideoOutputDevice *_echo_output_device ;
|
||||
|
||||
std::list<RsVOIPDataChunk> _out_queue ;
|
||||
|
||||
uint32_t _estimated_bw ;
|
||||
time_t _last_bw_estimate_TS;
|
||||
uint32_t _total_encoded_size ;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue