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/VP8RTPPacketizer.h
parent054bf7baf02cf088930c340fead40b464c1ed015 (diff)
downloadswift-contrib-867a950d5b3eb1422051a57c2533509188014b1a.zip
swift-contrib-867a950d5b3eb1422051a57c2533509188014b1a.tar.bz2
Add error resilence (buggy)
Diffstat (limited to 'Swiften/ScreenSharing/VP8RTPPacketizer.h')
-rw-r--r--Swiften/ScreenSharing/VP8RTPPacketizer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swiften/ScreenSharing/VP8RTPPacketizer.h b/Swiften/ScreenSharing/VP8RTPPacketizer.h
index c56e754..f7858da 100644
--- a/Swiften/ScreenSharing/VP8RTPPacketizer.h
+++ b/Swiften/ScreenSharing/VP8RTPPacketizer.h
@@ -20,12 +20,14 @@ namespace Swift {
public:
VP8RTPPacketizer();
- void packetizeFrame(const vpx_codec_cx_pkt_t* pkt);
+ void packetizeFrame(const vpx_codec_cx_pkt_t* pkt, int pictureID);
boost::signal<void (const std::vector<uint8_t>&, bool marker)> onNewPayloadReady;
private:
static const uint8_t SBit = 1 << 4;
+ static const uint8_t XBit = 1 << 7;
+ static const uint8_t IBit = 1 << 7;
static const uint8_t HBit = 1 << 4;
static const uint8_t Size0BitMask = 7;
static const uint8_t Size0BitShift = 5;