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

Unified Diff: chrome/renderer/media/cast_rtp_stream.h

Issue 2068133005: Refactoring: Use enum for RtpPayloadType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: chrome/renderer/media/cast_rtp_stream.h
diff --git a/chrome/renderer/media/cast_rtp_stream.h b/chrome/renderer/media/cast_rtp_stream.h
index e0ecdf735173a08fc75ac3df17847591d7bd523f..326d4be1b5c7fbd9389f87f670f2d285cda6f2d1 100644
--- a/chrome/renderer/media/cast_rtp_stream.h
+++ b/chrome/renderer/media/cast_rtp_stream.h
@@ -38,7 +38,7 @@ struct CastCodecSpecificParams {
// Defines the basic properties of a payload supported by cast transport.
struct CastRtpPayloadParams {
// RTP specific field that identifies the content type.
- int payload_type = media::cast::kDefaultRtpVideoPayloadType;
+ media::cast::RtpPayloadType payload_type = media::cast::RTP_PAYLOAD_VIDEO_VP8;
// Maximum latency in milliseconds. Implemetation tries to keep latency
// under this threshold.

Powered by Google App Engine
This is Rietveld 408576698