playback.proto 462 B

1234567891011121314151617181920212223
  1. syntax = "proto2";
  2. enum PlaybackType {
  3. SEGMENT = 0;
  4. ROUTE = 1;
  5. }
  6. message PlaybackData {
  7. required int64 segment_id = 1;
  8. required float time = 3;
  9. required uint64 world_time = 4;
  10. optional PlaybackType type = 11;
  11. }
  12. message PlaybackMetadata {
  13. required string uuid = 1;
  14. required int64 segment_id = 2;
  15. required float time = 4;
  16. required uint64 world_time = 5;
  17. required string url = 6;
  18. optional PlaybackType type = 8;
  19. }