#include <IceSignalWebSocket.h>
|
| CIceSignalWebSocket (QObject *parent=nullptr) |
|
virtual int | Open (const std::string &szServer, quint16 nPort, const std::string &user=std::string(), const std::string &password=std::string()) override |
|
int | Open (const std::string &szUrl, const std::string &user=std::string(), const std::string &password=std::string()) |
|
virtual int | Close () override |
|
virtual bool | IsOpen () override |
|
virtual int | SendDescription (const QString &toUser, const QString &channelId, const rtc::Description &description, const QString &fromUser=QString()) override |
|
virtual int | SendCandiate (const QString &toUser, const QString &channelId, const rtc::Candidate &candidate, const QString &fromUser=QString()) override |
|
virtual int | Write (const char *buf, int nLen) override |
|
virtual int | Read (char *buf, int nLen) override |
|
| CIceSignal (QObject *parent=nullptr) |
|
virtual int | Open (const QString &szServer, quint16 nPort, const QString &user=QString(), const QString &password=QString())=0 |
|
virtual bool | IsConnected ()=0 |
|
virtual int | SendCandidate (const QString &toUser, const QString &channelId, const rtc::Candidate &candidate, const QString &fromUser=QString())=0 |
|
|
void | sigConnected () |
|
void | sigDisconnected () |
|
void | sigError (int nError, const QString &szError) |
|
void | sigOffer (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &type, const QString &sdp) |
| sigOffer
|
|
void | sigCandidate (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &mid, const QString &sdp) |
| sigCandiate
|
|
void | sigDescription (const QString &fromUser, const QString &toUser, const QString &channelId, const QString &type, const QString &sdp) |
| sigDescription
|
|
QLoggingCategory | m_Log |
|
◆ CIceSignalWebSocket()
CIceSignalWebSocket::CIceSignalWebSocket |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ ~CIceSignalWebSocket()
CIceSignalWebSocket::~CIceSignalWebSocket |
( |
| ) |
|
|
virtual |
◆ Close()
int CIceSignalWebSocket::Close |
( |
| ) |
|
|
overridevirtual |
◆ IsOpen()
bool CIceSignalWebSocket::IsOpen |
( |
| ) |
|
|
overridevirtual |
◆ Open() [1/2]
int CIceSignalWebSocket::Open |
( |
const std::string & |
szServer, |
|
|
quint16 |
nPort, |
|
|
const std::string & |
user = std::string() , |
|
|
const std::string & |
password = std::string() |
|
) |
| |
|
overridevirtual |
◆ Open() [2/2]
int CIceSignalWebSocket::Open |
( |
const std::string & |
szUrl, |
|
|
const std::string & |
user = std::string() , |
|
|
const std::string & |
password = std::string() |
|
) |
| |
◆ Read()
int CIceSignalWebSocket::Read |
( |
char * |
buf, |
|
|
int |
nLen |
|
) |
| |
|
overridevirtual |
◆ SendCandiate()
int CIceSignalWebSocket::SendCandiate |
( |
const QString & |
toUser, |
|
|
const QString & |
channelId, |
|
|
const rtc::Candidate & |
candidate, |
|
|
const QString & |
fromUser = QString() |
|
) |
| |
|
overridevirtual |
◆ SendDescription()
int CIceSignalWebSocket::SendDescription |
( |
const QString & |
toUser, |
|
|
const QString & |
channelId, |
|
|
const rtc::Description & |
description, |
|
|
const QString & |
fromUser = QString() |
|
) |
| |
|
overridevirtual |
◆ Write()
int CIceSignalWebSocket::Write |
( |
const char * |
buf, |
|
|
int |
nLen |
|
) |
| |
|
overridevirtual |
◆ m_Data
rtc::binary CIceSignalWebSocket::m_Data |
|
private |
◆ m_MutexSend
QMutex CIceSignalWebSocket::m_MutexSend |
|
private |
◆ m_szPeerUser
std::string CIceSignalWebSocket::m_szPeerUser |
|
private |
◆ m_szUrl
std::string CIceSignalWebSocket::m_szUrl |
|
private |
◆ m_szUser
std::string CIceSignalWebSocket::m_szUser |
|
private |
◆ m_webSocket
std::shared_ptr<rtc::WebSocket> CIceSignalWebSocket::m_webSocket |
|
private |
The documentation for this class was generated from the following files: