#include "media/cast/transport/rtp_sender/packet_storage/packet_storage.h"
namespace base {
-
class TickClock;
}
namespace media {
namespace cast {
-class LoggingImpl;
-
namespace transport {
class PacedSender;
public:
RtpPacketizer(PacedSender* const transport,
PacketStorage* packet_storage,
- RtpPacketizerConfig rtp_packetizer_config,
- base::TickClock* clock,
- LoggingImpl* logging);
+ RtpPacketizerConfig rtp_packetizer_config);
~RtpPacketizer();
// The video_frame objects ownership is handled by the main cast thread.
uint32 frame_id,
uint32 reference_frame_id,
uint32 timestamp,
- const std::string& data);
+ const std::string& data,
+ const base::TimeTicks& capture_time);
void BuildCommonRTPheader(Packet* packet, bool marker_bit, uint32 time_stamp);
RtpPacketizerConfig config_;
PacedSender* const transport_; // Not owned by this class.
PacketStorage* packet_storage_;
- base::TickClock* const clock_; // Not owned by this class.
- LoggingImpl* const logging_; // Not owned by this class.
base::TimeTicks time_last_sent_rtp_timestamp_;
uint16 sequence_number_;