rtflow-rtsp 0.7.0

RTSP message codec, SDP, ranges, authentication and transport for rtflow
Documentation
1
2
3
4
5
6
use super::*;

pub fn basic_authorization(credentials: &Credentials) -> String {
    let value = STANDARD.encode(format!("{}:{}", credentials.username, credentials.password));
    format!("Basic {value}")
}