1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 16:35:17 +00:00

Can request call offer

This commit is contained in:
2021-02-12 13:32:36 +01:00
parent 8ebfcf2785
commit 5388aa8054
5 changed files with 47 additions and 2 deletions

View File

@ -42,6 +42,12 @@ pub struct NewRtcRelayMessage {
pub data: String,
}
/// Request of a user for a call
pub struct UserCallOfferRequest {
pub call_hash: String,
pub user_id: UserID,
}
impl SdpType {
pub fn from_str(val: &str) -> Res<SdpType> {
match val {