From 57648e4eec7dd2593af467877bc7cce4aa654759 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Wed, 4 Aug 2010 10:14:30 -0700 Subject: Support for Gtalk video, includes AMR/H.263 assembler and packetization support, extensions to MediaRecorder to stream via RTP over a pair of UDP sockets as well as various fixes to the RTP implementation. Change-Id: I95b8dd487061add9bade15749e563b01cd99d9a6 --- include/media/mediarecorder.h | 3 +++ include/media/stagefright/MetaData.h | 1 + 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/media/mediarecorder.h b/include/media/mediarecorder.h index b21bc4d5bdda..291b18aab8a8 100644 --- a/include/media/mediarecorder.h +++ b/include/media/mediarecorder.h @@ -73,6 +73,9 @@ enum output_format { OUTPUT_FORMAT_AAC_ADIF = 5, OUTPUT_FORMAT_AAC_ADTS = 6, + /* Stream over a socket, limited to a single stream */ + OUTPUT_FORMAT_RTP_AVP = 7, + OUTPUT_FORMAT_LIST_END // must be last - used to validate format type }; diff --git a/include/media/stagefright/MetaData.h b/include/media/stagefright/MetaData.h index e631c7f4d270..ab1fa4f87ab8 100644 --- a/include/media/stagefright/MetaData.h +++ b/include/media/stagefright/MetaData.h @@ -46,6 +46,7 @@ enum { kKeyIsSyncFrame = 'sync', // int32_t (bool) kKeyIsCodecConfig = 'conf', // int32_t (bool) kKeyTime = 'time', // int64_t (usecs) + kKeyNTPTime = 'ntpT', // uint64_t (ntp-timestamp) kKeyTargetTime = 'tarT', // int64_t (usecs) kKeyDuration = 'dura', // int64_t (usecs) kKeyColorFormat = 'colf', -- cgit v1.2.3-59-g8ed1b