diff options
| author | Anton <anton@picapica.im> | 2026-08-19 14:47:51 +0400 |
|---|---|---|
| committer | Anton <anton@picapica.im> | 2026-08-19 14:47:51 +0400 |
| commit | c9f6051380f4edf5f7ac336501ecb1f32946dc6e (patch) | |
| tree | 4a16463532ccbe03ba823b277ba7a0ee4567f38e /pica-client/callwindow.h | |
| parent | 60c17c433759d282663497704998d81bab800668 (diff) | |
| download | pica-pica-c9f6051380f4edf5f7ac336501ecb1f32946dc6e.tar.gz pica-pica-c9f6051380f4edf5f7ac336501ecb1f32946dc6e.zip | |
pica-client: UDP transport for calls
Diffstat (limited to 'pica-client/callwindow.h')
| -rw-r--r-- | pica-client/callwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pica-client/callwindow.h b/pica-client/callwindow.h index b5b1d97..fbdcf60 100644 --- a/pica-client/callwindow.h +++ b/pica-client/callwindow.h @@ -50,6 +50,9 @@ private: QPushButton *pbCall; QPushButton *pbHang; QLabel *lbTimer; + // How the call's media is being carried, and under which ciphersuite. + // Hidden until that is known. + QLabel *lbTransport; // Displays the remote side's video. Stays hidden until the first frame // arrives, so an audio-only call keeps the compact window it had before. QLabel *lbVideo; @@ -67,6 +70,9 @@ private: public slots: void call_started(); void call_ended(); + // direct_udp tells whether the media is being carried over a direct + // mediac2c connection or over the c2c connection the call was set up on. + void setMediaTransport(bool direct_udp, QString ciphersuitename); void showRemoteFrame(QImage frame); #ifdef HAVE_VAAPI void showRemoteHwFrame(AVFramePtr frame); |
