Index: webrtc/transport.h |
diff --git a/webrtc/transport.h b/webrtc/transport.h |
index 86b3e2e5ea8169c0f97c312fd84a765a37d6af5e..81a56748b5ce2f868fdeb11025e390397327a6ca 100644 |
--- a/webrtc/transport.h |
+++ b/webrtc/transport.h |
@@ -17,9 +17,15 @@ |
namespace webrtc { |
+struct PacketOptions { |
+ int transport_sequence_number = -1; |
pbos-webrtc
2015/09/29 09:54:42
Shouldn't this one be a fixed-size datatype? Or is
stefan-webrtc
2015/09/29 10:00:13
It is uint16_t or -1. We could make it int32_t ins
|
+}; |
+ |
class Transport { |
public: |
- virtual bool SendRtp(const uint8_t* packet, size_t length) = 0; |
+ virtual bool SendRtp(const uint8_t* packet, |
+ size_t length, |
+ const PacketOptions& options) = 0; |
virtual bool SendRtcp(const uint8_t* packet, size_t length) = 0; |
protected: |