Skip to content

Commit

Permalink
add speaker event timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry2013 committed Jun 14, 2024
1 parent a015be9 commit 9f1da82
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,10 @@ class DominantSpeakerMessage @JvmOverloads constructor(
previousSpeakers.drop(1),
silence
)

/** The speaker event timestamp in millisecond */
val timestamp: Long = System.currentTimeMillis()

companion object {
const val TYPE = "DominantSpeakerEndpointChangeEvent"
}
Expand Down

0 comments on commit 9f1da82

Please sign in to comment.