Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / media / cast / transport / rtp_sender / rtp_packetizer / rtp_packetizer.h
index c31b4d9..2b90638 100644 (file)
 #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;
@@ -55,9 +52,7 @@ class RtpPacketizer {
  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.
@@ -84,15 +79,14 @@ class RtpPacketizer {
             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_;