Participant joined_at_ms to get higher resolution of join time. (#949)

* Participant joined_at_ms to get higher resolution of join time.

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Raja Subramanian
2025-01-22 13:48:08 +05:30
committed by GitHub
parent afe463fe84
commit 18fcdd87b3
3 changed files with 758 additions and 743 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -131,6 +131,8 @@ message ParticipantInfo {
string metadata = 5;
// timestamp when participant joined room, in seconds
int64 joined_at = 6;
// timestamp when participant joined room, in milliseconds
int64 joined_at_ms = 17;
string name = 9;
uint32 version = 10;
ParticipantPermission permission = 11;
@@ -141,6 +143,8 @@ message ParticipantInfo {
Kind kind = 14;
map<string, string> attributes = 15;
DisconnectReason disconnect_reason = 16;
// NEXT_ID: 18
}
enum TrackType {

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.2
// protoc v5.28.0
// protoc-gen-go v1.31.0
// protoc v4.24.3
// source: cloud_replay.proto
package replay
@@ -491,7 +491,7 @@ func file_cloud_replay_proto_rawDescGZIP() []byte {
}
var file_cloud_replay_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_cloud_replay_proto_goTypes = []any{
var file_cloud_replay_proto_goTypes = []interface{}{
(*ListReplaysRequest)(nil), // 0: replay.ListReplaysRequest
(*ListReplaysResponse)(nil), // 1: replay.ListReplaysResponse
(*ReplayInfo)(nil), // 2: replay.ReplayInfo
@@ -527,7 +527,7 @@ func file_cloud_replay_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
file_cloud_replay_proto_msgTypes[0].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListReplaysRequest); i {
case 0:
return &v.state
@@ -539,7 +539,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[1].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListReplaysResponse); i {
case 0:
return &v.state
@@ -551,7 +551,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[2].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplayInfo); i {
case 0:
return &v.state
@@ -563,7 +563,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[3].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LoadReplayRequest); i {
case 0:
return &v.state
@@ -575,7 +575,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[4].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LoadReplayResponse); i {
case 0:
return &v.state
@@ -587,7 +587,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[5].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RoomSeekRequest); i {
case 0:
return &v.state
@@ -599,7 +599,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[6].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CloseReplayRequest); i {
case 0:
return &v.state
@@ -611,7 +611,7 @@ func file_cloud_replay_proto_init() {
return nil
}
}
file_cloud_replay_proto_msgTypes[7].Exporter = func(v any, i int) any {
file_cloud_replay_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteReplayRequest); i {
case 0:
return &v.state