2012-02-25 13:15:36 -05:00
|
|
|
#include "PluginNotifier.h"
|
|
|
|
|
2014-04-20 10:21:53 -04:00
|
|
|
void PluginNotifier::notifyReceivedVoipInvite(const RsPeerId& peer_id)
|
2012-02-25 13:15:36 -05:00
|
|
|
{
|
2014-04-20 10:21:53 -04:00
|
|
|
emit voipInvitationReceived(QString::fromStdString(peer_id.toStdString())) ;
|
2012-02-25 13:15:36 -05:00
|
|
|
}
|
2014-04-20 10:21:53 -04:00
|
|
|
void PluginNotifier::notifyReceivedVoipData(const RsPeerId &peer_id)
|
2012-02-25 13:15:36 -05:00
|
|
|
{
|
2014-04-20 10:21:53 -04:00
|
|
|
emit voipDataReceived(QString::fromStdString(peer_id.toStdString())) ;
|
2012-02-25 13:15:36 -05:00
|
|
|
}
|
2014-04-20 10:21:53 -04:00
|
|
|
void PluginNotifier::notifyReceivedVoipAccept(const RsPeerId& peer_id)
|
2012-02-26 10:49:07 -05:00
|
|
|
{
|
2014-04-20 10:21:53 -04:00
|
|
|
emit voipAcceptReceived(QString::fromStdString(peer_id.toStdString())) ;
|
2012-02-26 10:49:07 -05:00
|
|
|
}
|
2014-04-20 10:21:53 -04:00
|
|
|
void PluginNotifier::notifyReceivedVoipHangUp(const RsPeerId &peer_id)
|
2012-02-26 10:49:07 -05:00
|
|
|
{
|
2014-04-20 10:21:53 -04:00
|
|
|
emit voipHangUpReceived(QString::fromStdString(peer_id.toStdString())) ;
|
2012-02-26 10:49:07 -05:00
|
|
|
}
|
2014-07-20 16:50:36 -04:00
|
|
|
void PluginNotifier::notifyReceivedVoipBandwidth(const RsPeerId &peer_id,uint32_t bytes_per_sec)
|
|
|
|
{
|
|
|
|
emit voipBandwidthInfoReceived(QString::fromStdString(peer_id.toStdString()),bytes_per_sec) ;
|
|
|
|
}
|