mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
Add Accept, Ring and HangUp event for Video and Audio.
Now you don't send data before friend accept.
This commit is contained in:
parent
1a229ef817
commit
1989f366a7
16 changed files with 774 additions and 291 deletions
|
@ -32,6 +32,9 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <QObject>
|
||||
/***
|
||||
#define VOIPGUIHANDLER_DEBUG 1
|
||||
***/
|
||||
|
||||
class VOIPGUIHandler: public QObject
|
||||
{
|
||||
|
@ -41,9 +44,9 @@ public:
|
|||
static void AnswerVideoCall(const RsPeerId &peer_id) ;
|
||||
|
||||
public slots:
|
||||
void ReceivedInvitation(const RsPeerId &peer_id) ;
|
||||
void ReceivedInvitation(const RsPeerId &peer_id, int flags) ;
|
||||
void ReceivedVoipData(const RsPeerId &peer_id) ;
|
||||
void ReceivedVoipHangUp(const RsPeerId &peer_id) ;
|
||||
void ReceivedVoipAccept(const RsPeerId &peer_id) ;
|
||||
void ReceivedVoipHangUp(const RsPeerId &peer_id, int flags) ;
|
||||
void ReceivedVoipAccept(const RsPeerId &peer_id, int flags) ;
|
||||
void ReceivedVoipBandwidthInfo(const RsPeerId &peer_id, int) ;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue