summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordknn <yoann.blein@free.fr>2012-08-16 16:05:33 (GMT)
committerdknn <yoann.blein@free.fr>2012-09-22 09:32:38 (GMT)
commit867a950d5b3eb1422051a57c2533509188014b1a (patch)
tree01c9d7372c7e780aaa90456df2bac55082632dae /Swiften/ScreenSharing/RTPSession.h
parent054bf7baf02cf088930c340fead40b464c1ed015 (diff)
downloadswift-contrib-867a950d5b3eb1422051a57c2533509188014b1a.zip
swift-contrib-867a950d5b3eb1422051a57c2533509188014b1a.tar.bz2
Add error resilence (buggy)
Diffstat (limited to 'Swiften/ScreenSharing/RTPSession.h')
-rw-r--r--Swiften/ScreenSharing/RTPSession.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/ScreenSharing/RTPSession.h b/Swiften/ScreenSharing/RTPSession.h
index e4aa9c1..c9c6ae8 100644
--- a/Swiften/ScreenSharing/RTPSession.h
+++ b/Swiften/ScreenSharing/RTPSession.h
@@ -29,9 +29,14 @@ namespace Swift {
virtual void injectData(const SafeByteArray& data) = 0;
virtual void stop(int maxWaitMs = 100) = 0;
+ virtual void sendSLIFeedback(int pictureID) = 0;
+ virtual void sendRPSIFeedback(int pictureID) = 0;
+
virtual size_t getMaxRTPPayloadSize() const = 0;
public:
boost::signal<void (uint8_t* data, size_t len, bool marker)> onIncomingPacket;
+ boost::signal<void (int sixLeastBitsPictureID)> onSLIFeedback;
+ boost::signal<void (int pictureID)> onRPSIFeedback;
};
}