create_ice_servers_from_metadata

Function create_ice_servers_from_metadata 

Source
pub(crate) async fn create_ice_servers_from_metadata(
    metadata: &str,
) -> Result<(i64, Vec<UnresolvedIceServer>)>
Expand description

Creates 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.