diff options
author | Ryan Keane <rwkeane@google.com> | 2020-12-16 13:45:25 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-18 02:24:10 +0000 |
commit | 31a6a84b0393546e7076a90d0d5b5c5c606825a0 (patch) | |
tree | 1095eafbc59949c649ed452f2679ce8091d9083d /cast | |
parent | cb68b6ac75d3b9fcb1ebf45220c77756a4427954 (diff) | |
download | openscreen-31a6a84b0393546e7076a90d0d5b5c5c606825a0.tar.gz |
Internal change
PiperOrigin-RevId: 347889652
Change-Id: I99bfa2a3de0f2d4555ce5a40f0dc1b109be40722
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/2595341
Reviewed-by: Ryan Keane <rwkeane@google.com>
Commit-Queue: Ryan Keane <rwkeane@google.com>
Diffstat (limited to 'cast')
-rw-r--r-- | cast/cast_core/api/runtime/cast_audio_decoder_service.proto | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/cast/cast_core/api/runtime/cast_audio_decoder_service.proto b/cast/cast_core/api/runtime/cast_audio_decoder_service.proto index f7f9216a..a051edba 100644 --- a/cast/cast_core/api/runtime/cast_audio_decoder_service.proto +++ b/cast/cast_core/api/runtime/cast_audio_decoder_service.proto @@ -2,8 +2,8 @@ syntax = "proto3"; package cast.media; +import "google/protobuf/duration.proto"; import "google/protobuf/empty.proto"; -import "google/protobuf/timestamp.proto"; option optimize_for = LITE_RUNTIME; @@ -116,17 +116,6 @@ message AudioDecoderBuffer { int64 id = 4; } -// Info on pipeline latency. -message RenderingDelay { - // The amount of data in pipeline (in microseconds) that has not been rendered - // yet. - int64 delay_micros = 1; - - // Capture time (in microseconds) with respect to the system clock (must be - // CLOCK_MONOTONIC_RAW) at which the delay measurement was taken. - google.protobuf.Timestamp capture_time = 2; -} - message MediaTime { // The currents PTS that has been rendered. int64 current_pts_micros = 1; @@ -134,15 +123,15 @@ message MediaTime { // The end of stream has been rendered. bool end_of_stream = 2; - // Capture time with respect to the system clock (must be - // CLOCK_MONOTONIC_RAW) at which the delay measurement was taken. - google.protobuf.Timestamp capture_time = 3; + // Capture time with respect to CLOCK_MONOTONIC_RAW at which the delay + // measurement was taken. + google.protobuf.Duration capture_time = 3; } message TimestampInfo { - // System timestamp with respect to the systme clock that the corresponding - // buffer is expected to be rendered at. - google.protobuf.Timestamp system_timestamp = 1; + // System timestamp with respect to CLOCK_MONOTONIC_RAW at which the + // corresponding buffer is expected to be rendered. + google.protobuf.Duration system_timestamp = 1; // AudioDecoderBuffer.id associated with the |system_timestamp|. int64 buffer_id = 2; |