mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 10:46:23 -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
|
@ -65,9 +65,9 @@ struct RsVOIPDataChunk
|
|||
class RsVOIP
|
||||
{
|
||||
public:
|
||||
virtual int sendVoipHangUpCall(const RsPeerId& peer_id) = 0;
|
||||
virtual int sendVoipRinging(const RsPeerId& peer_id) = 0;
|
||||
virtual int sendVoipAcceptCall(const RsPeerId& peer_id) = 0;
|
||||
virtual int sendVoipHangUpCall(const RsPeerId& peer_id, uint32_t flags) = 0;
|
||||
virtual int sendVoipRinging(const RsPeerId& peer_id, uint32_t flags) = 0;
|
||||
virtual int sendVoipAcceptCall(const RsPeerId& peer_id, uint32_t flags) = 0;
|
||||
|
||||
// Sending data. The client keeps the memory ownership and must delete it after calling this.
|
||||
virtual int sendVoipData(const RsPeerId& peer_id,const RsVOIPDataChunk& chunk) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue