Add Accept, Ring and HangUp event for Video and Audio.

Now you don't send data before friend accept.
This commit is contained in:
Phenom 2015-10-10 15:21:59 +02:00
parent 1a229ef817
commit 1989f366a7
16 changed files with 774 additions and 291 deletions

View file

@ -79,7 +79,8 @@ void VOIPToasterItem::chatButtonSlot()
hide();
}
void VOIPToasterItem::voipAcceptReceived(const RsPeerId &)
#ifdef VOIPTOASTERNOTIFY_ALL
void VOIPToasterItem::voipAcceptReceived(const RsPeerId &, int )
{
}
@ -91,11 +92,11 @@ void VOIPToasterItem::voipDataReceived(const RsPeerId &)
{
}
void VOIPToasterItem::voipHangUpReceived(const RsPeerId &)
void VOIPToasterItem::voipHangUpReceived(const RsPeerId &, int )
{
}
void VOIPToasterItem::voipInvitationReceived(const RsPeerId &)
void VOIPToasterItem::voipInvitationReceived(const RsPeerId &, int )
{
}
@ -106,4 +107,4 @@ void VOIPToasterItem::voipAudioCallReceived(const RsPeerId &)
void VOIPToasterItem::voipVideoCallReceived(const RsPeerId &)
{
}
#endif