diff options
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/ScreenSharing/IncomingScreenSharing.cpp | 1 | ||||
-rw-r--r-- | Swiften/ScreenSharing/OutgoingScreenSharing.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/IncomingScreenSharing.cpp b/Swiften/ScreenSharing/IncomingScreenSharing.cpp index bbbfbad..15574c4 100644 --- a/Swiften/ScreenSharing/IncomingScreenSharing.cpp +++ b/Swiften/ScreenSharing/IncomingScreenSharing.cpp @@ -91,6 +91,7 @@ JingleContentID IncomingScreenSharing::getContentID() const void IncomingScreenSharing::hangleNewImageDecoded(const Image& image) { + onStateChange(ScreenSharing::Receiving); onNewImageReceived(image); } diff --git a/Swiften/ScreenSharing/OutgoingScreenSharing.cpp b/Swiften/ScreenSharing/OutgoingScreenSharing.cpp index 005e204..7cea50e 100644 --- a/Swiften/ScreenSharing/OutgoingScreenSharing.cpp +++ b/Swiften/ScreenSharing/OutgoingScreenSharing.cpp @@ -132,6 +132,7 @@ void OutgoingScreenSharing::startRTPSession() encoder = new VP8Encoder(packetizer, width, height); packetizer->onNewPayloadReady.connect(boost::bind(&OutgoingScreenSharing::handleNewPayloadReady, this, _1, _2)); onReady(); + onStateChange(ScreenSharing::BroadCasting); } } |