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

Unified Diff: chrome/common/cast_messages.h

Issue 288103002: [Cast] EncodedAudioFrame+EncodedVideoFrame+reference_time --> EncodedFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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/common/cast_messages.h
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index 14c9322d7b7adb6512e726272004bc6c1b0ab35f..a4b425c42f91eaf8b1b5ec45312f245fa0749c01 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -17,6 +17,9 @@
#define IPC_MESSAGE_EXPORT
#define IPC_MESSAGE_START CastMsgStart
+IPC_ENUM_TRAITS_MAX_VALUE(
+ media::cast::transport::EncodedFrame::Dependency,
+ media::cast::transport::EncodedFrame::DEPENDENCY_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(media::cast::transport::AudioCodec,
media::cast::transport::kAudioCodecLast)
IPC_ENUM_TRAITS_MAX_VALUE(media::cast::transport::VideoCodec,
@@ -28,19 +31,12 @@ IPC_ENUM_TRAITS_MAX_VALUE(media::cast::CastLoggingEvent,
IPC_ENUM_TRAITS_MAX_VALUE(media::cast::EventMediaType,
media::cast::EVENT_MEDIA_TYPE_LAST)
-IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::EncodedAudioFrame)
- IPC_STRUCT_TRAITS_MEMBER(codec)
+IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::EncodedFrame)
+ IPC_STRUCT_TRAITS_MEMBER(dependency)
IPC_STRUCT_TRAITS_MEMBER(frame_id)
+ IPC_STRUCT_TRAITS_MEMBER(referenced_frame_id)
IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp)
- IPC_STRUCT_TRAITS_MEMBER(data)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::EncodedVideoFrame)
- IPC_STRUCT_TRAITS_MEMBER(codec)
- IPC_STRUCT_TRAITS_MEMBER(key_frame)
- IPC_STRUCT_TRAITS_MEMBER(frame_id)
- IPC_STRUCT_TRAITS_MEMBER(last_referenced_frame_id)
- IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp)
+ IPC_STRUCT_TRAITS_MEMBER(reference_time)
IPC_STRUCT_TRAITS_MEMBER(data)
IPC_STRUCT_TRAITS_END()
@@ -121,17 +117,15 @@ IPC_MESSAGE_CONTROL2(
int32 /*channel_id*/,
media::cast::transport::CastTransportVideoConfig /*config*/)
-IPC_MESSAGE_CONTROL3(
+IPC_MESSAGE_CONTROL2(
CastHostMsg_InsertCodedAudioFrame,
int32 /* channel_id */,
- media::cast::transport::EncodedAudioFrame /* audio_frame */,
- base::TimeTicks /* recorded_time */)
+ media::cast::transport::EncodedFrame /* audio_frame */)
-IPC_MESSAGE_CONTROL3(
+IPC_MESSAGE_CONTROL2(
CastHostMsg_InsertCodedVideoFrame,
int32 /* channel_id */,
- media::cast::transport::EncodedVideoFrame /* video_frame */,
- base::TimeTicks /* recorded_time */)
+ media::cast::transport::EncodedFrame /* video_frame */)
IPC_MESSAGE_CONTROL3(
CastHostMsg_SendRtcpFromRtpSender,
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter_unittest.cc ('k') | chrome/renderer/media/cast_transport_sender_ipc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698