diff options
Diffstat (limited to 'Swiften/ScreenSharing/VP8RTPPacketizer.h')
| -rw-r--r-- | Swiften/ScreenSharing/VP8RTPPacketizer.h | 4 |
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 @@ -19,14 +19,16 @@ namespace Swift { class VP8RTPPacketizer { 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; static const size_t MaxRTPPayloadSize = 1300; // Replace with JRTPLIB's one; TODO: fix the issue with maximum size |
Swift