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

Unified Diff: trunk/src/media/cast/rtp_sender/rtp_packetizer/rtp_packetizer_config.h

Issue 25546003: Revert 226264 "Be able to build cast_unittest and related target..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/media/cast/rtp_sender/rtp_packetizer/rtp_packetizer_config.h
===================================================================
--- trunk/src/media/cast/rtp_sender/rtp_packetizer/rtp_packetizer_config.h (revision 226266)
+++ trunk/src/media/cast/rtp_sender/rtp_packetizer/rtp_packetizer_config.h (working copy)
@@ -12,7 +12,15 @@
namespace cast {
struct RtpPacketizerConfig {
- RtpPacketizerConfig();
+ RtpPacketizerConfig() {
+ ssrc = 0;
+ max_payload_length = kIpPacketSize - 28; // Default is IP-v4/UDP.
+ audio = false;
+ frequency = 8000;
+ payload_type = -1;
+ sequence_number = 0;
+ rtp_timestamp = 0;
+ }
// General.
bool audio;

Powered by Google App Engine
This is Rietveld 408576698