diff options
Diffstat (limited to 'sdp/src')
-rw-r--r-- | sdp/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sdp/src/lib.rs b/sdp/src/lib.rs index 15b4ce2..dc5623d 100644 --- a/sdp/src/lib.rs +++ b/sdp/src/lib.rs @@ -1,6 +1,7 @@ use anyhow::{anyhow, bail}; use std::{fmt::Display, str::FromStr}; +#[derive(Debug, Default)] pub struct SessionDescription { pub version: String, pub originator: String, @@ -18,11 +19,13 @@ pub struct SessionDescription { pub media_descriptions: Vec<MediaDescription>, } +#[derive(Debug)] pub struct TimeDescription { pub time: String, pub repeat_times: Vec<String>, } +#[derive(Debug, Default)] pub struct MediaDescription { pub name: String, pub title: Option<String>, |