pub(crate) async fn create_ice_servers_from_metadata(
context: &Context,
metadata: &str,
) -> Result<(i64, String)>
Expand description
Creates JSON with ICE servers from a line received over IMAP METADATA.
IMAP METADATA returns a line such as
example.com:3478:1758650868:8Dqkyyu11MVESBqjbIylmB06rv8=
1758650868 is the username and expiration timestamp
at the same time,
while 8Dqkyyu11MVESBqjbIylmB06rv8=
is the password.