mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
ws: require offer/answer sdp field to be String, fix related code
This commit is contained in:
parent
c37bf89650
commit
d94936a50b
5 changed files with 8 additions and 12 deletions
|
|
@ -38,13 +38,13 @@ mod tests {
|
|||
fn rtc_offer() -> RtcOffer {
|
||||
RtcOffer {
|
||||
t: RtcOfferType::Offer,
|
||||
sdp: ::serde_json::json!({ "sdp": "test" }),
|
||||
sdp: "test".into(),
|
||||
}
|
||||
}
|
||||
fn rtc_answer() -> RtcAnswer {
|
||||
RtcAnswer {
|
||||
t: RtcAnswerType::Answer,
|
||||
sdp: ::serde_json::json!({ "sdp": "test" }),
|
||||
sdp: "test".into(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue