Index: media/cast/net/rtp/rtp_packetizer.h |
diff --git a/media/cast/net/rtp/rtp_packetizer.h b/media/cast/net/rtp/rtp_packetizer.h |
index 034a74a2a50decfec20c0e7b277f616a276f502d..e69a80ce322468a47a70f2b03bbbcb59c523e6f9 100644 |
--- a/media/cast/net/rtp/rtp_packetizer.h |
+++ b/media/cast/net/rtp/rtp_packetizer.h |
@@ -27,8 +27,8 @@ struct RtpPacketizerConfig { |
// General. |
int payload_type; |
- uint16 max_payload_length; |
- uint16 sequence_number; |
+ uint16_t max_payload_length; |
+ uint16_t sequence_number; |
// SSRC. |
unsigned int ssrc; |
@@ -48,21 +48,23 @@ class RtpPacketizer { |
// Return the next sequence number, and increment by one. Enables unique |
// incremental sequence numbers for every packet (including retransmissions). |
- uint16 NextSequenceNumber(); |
+ uint16_t NextSequenceNumber(); |
size_t send_packet_count() const { return send_packet_count_; } |
size_t send_octet_count() const { return send_octet_count_; } |
private: |
- void BuildCommonRTPheader(Packet* packet, bool marker_bit, uint32 time_stamp); |
+ void BuildCommonRTPheader(Packet* packet, |
+ bool marker_bit, |
+ uint32_t time_stamp); |
RtpPacketizerConfig config_; |
PacedSender* const transport_; // Not owned by this class. |
PacketStorage* packet_storage_; |
- uint16 sequence_number_; |
- uint32 rtp_timestamp_; |
- uint16 packet_id_; |
+ uint16_t sequence_number_; |
+ uint32_t rtp_timestamp_; |
+ uint16_t packet_id_; |
size_t send_packet_count_; |
size_t send_octet_count_; |