mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
ws: include "type" field in RtcOffer and RtcAnswer
This commit is contained in:
parent
0789f7ec3b
commit
c37bf89650
5 changed files with 25 additions and 1 deletions
|
|
@ -37,11 +37,13 @@ mod tests {
|
|||
|
||||
fn rtc_offer() -> RtcOffer {
|
||||
RtcOffer {
|
||||
t: RtcOfferType::Offer,
|
||||
sdp: ::serde_json::json!({ "sdp": "test" }),
|
||||
}
|
||||
}
|
||||
fn rtc_answer() -> RtcAnswer {
|
||||
RtcAnswer {
|
||||
t: RtcAnswerType::Answer,
|
||||
sdp: ::serde_json::json!({ "sdp": "test" }),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue