Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Side by Side Diff: talk/media/base/rtpdataengine.cc

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add missing updated_options Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 } 352 }
353 packet.AppendData(kReservedSpace); 353 packet.AppendData(kReservedSpace);
354 packet.AppendData(payload); 354 packet.AppendData(payload);
355 355
356 LOG(LS_VERBOSE) << "Sent RTP data packet: " 356 LOG(LS_VERBOSE) << "Sent RTP data packet: "
357 << " stream=" << found_stream->id << " ssrc=" << header.ssrc 357 << " stream=" << found_stream->id << " ssrc=" << header.ssrc
358 << ", seqnum=" << header.seq_num 358 << ", seqnum=" << header.seq_num
359 << ", timestamp=" << header.timestamp 359 << ", timestamp=" << header.timestamp
360 << ", len=" << payload.size(); 360 << ", len=" << payload.size();
361 361
362 MediaChannel::SendPacket(&packet); 362 MediaChannel::SendPacket(&packet, rtc::PacketOptions());
363 send_limiter_->Use(packet_len, now); 363 send_limiter_->Use(packet_len, now);
364 if (result) { 364 if (result) {
365 *result = SDR_SUCCESS; 365 *result = SDR_SUCCESS;
366 } 366 }
367 return true; 367 return true;
368 } 368 }
369 369
370 } // namespace cricket 370 } // namespace cricket
OLDNEW
« no previous file with comments | « talk/media/base/mediachannel.h ('k') | talk/media/sctp/sctpdataengine.cc » ('j') | webrtc/call.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698