summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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;