[crossrepo] Add 'timestampMillis' to RPC Event messages
Java applications have 'System.currentTimeMillis()' which is currently
used in OpenVidu to timestamp all events. It's desirable to have at
least the same precision from KMS events, so the timestamps can be
matched.
Cross-repo commit:
},
{
"name": "timestamp",
- "doc": "The timestamp associated with this object. The time is relative to the UNIX epoch (Jan 1, 1970, UTC).",
+ "doc": "The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC)",
"type": "double"
}
]
},
{
"name": "timestamp",
- "doc": "",
+ "doc": "[DEPRECATED: Use timestampMillis] The timestamp associated with this event: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC)",
+ "type": "String"
+ },
+ {
+ "name": "timestampMillis",
+ "doc": "The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC)",
"type": "String"
},
{
