First pass at sync working. Need to ignore for special cases

This commit is contained in:
watsonb8
2019-11-11 15:10:08 -05:00
parent 5f035e9bcb
commit 1acc383e90
14 changed files with 296 additions and 44 deletions

View File

@ -10,7 +10,6 @@ service RemotePartyService {
rpc LeaveParty(LeavePartyRequest) returns (LeavePartyResponse);
rpc GetPartyMembers(Aurora.Proto.General.Empty) returns (MembersResponse);
rpc GetQueue(Aurora.Proto.General.Empty) returns (QueueResponse);
rpc GetSongStream(SongRequest) returns (stream Aurora.Proto.General.Chunk) {};
}
message JoinPartyRequest {
@ -56,7 +55,3 @@ message RemoteMediaData {
string album = 4;
string duration = 5;
}
message SongRequest {
string id = 1;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
package Aurora.Proto.Playback;
import "Proto/general.proto";
service RemotePlaybackService {
rpc GetSongStream(SongRequest) returns (stream Aurora.Proto.General.Chunk) {};
}
message SongRequest {
string id = 1;
}

15
Aurora/Proto/sync.proto Normal file
View File

@ -0,0 +1,15 @@
syntax = "proto3";
package Aurora.Proto.Sync;
import "Proto/general.proto";
import "google/protobuf/timestamp.proto";
service RemoteSyncService {
rpc GetMediaSync(Aurora.Proto.General.Empty) returns (stream Sync) {};
}
message Sync {
int64 serverTime = 1;
float trackTime = 2;
}