First pass at sync working. Need to ignore for special cases
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
13
Aurora/Proto/playback.proto
Normal file
13
Aurora/Proto/playback.proto
Normal 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
15
Aurora/Proto/sync.proto
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user