dialer: cleanup the capabilities not supported by this dialer

This commit is contained in:
Bhushan Shah 2020-03-12 13:26:25 +05:30
parent b0a1d2029a
commit 8f7db8a915

View file

@ -32,16 +32,12 @@ static inline Tp::AbstractClientHandler::Capabilities capabilities()
//we support both audio and video in calls
caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/audio"));
// caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/video"));
//transport methods - farstream supports them all
caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/ice"));
caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/gtalk-p2p"));
caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/shm"));
//significant codecs
caps.setToken(TP_QT_IFACE_CHANNEL_TYPE_CALL + QLatin1String("/video/h264"));
return caps;
}