diff options
Diffstat (limited to 'Swiften/Examples/ScreenSharing/Client.cpp')
| -rw-r--r-- | Swiften/Examples/ScreenSharing/Client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Examples/ScreenSharing/Client.cpp b/Swiften/Examples/ScreenSharing/Client.cpp index 71dff34..6d5a6b3 100644 --- a/Swiften/Examples/ScreenSharing/Client.cpp +++ b/Swiften/Examples/ScreenSharing/Client.cpp @@ -70,8 +70,9 @@ class ScreenReceiver { discoInfo.addIdentity(DiscoInfo::Identity(CLIENT_NAME, "client", "pc")); discoInfo.addFeature(DiscoInfo::JingleFeature); discoInfo.addFeature(DiscoInfo::JingleRTPFeature); discoInfo.addFeature(DiscoInfo::JingleTransportRawUDPFeature); + discoInfo.addFeature(DiscoInfo::JingleScreenSharingFeature); client->getDiscoManager()->setCapsNode(CLIENT_NODE); client->getDiscoManager()->setDiscoInfo(discoInfo); client->getPresenceSender()->sendPresence(Presence::create()); } |
Swift