mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
aquatic ws load test: use longer json value when sending answer
This commit is contained in:
parent
0c168404db
commit
dea88020a5
1 changed files with 3 additions and 1 deletions
|
|
@ -199,7 +199,9 @@ impl Connection {
|
||||||
if let Some((peer_id, offer_id)) = self.send_answer {
|
if let Some((peer_id, offer_id)) = self.send_answer {
|
||||||
r.to_peer_id = Some(peer_id);
|
r.to_peer_id = Some(peer_id);
|
||||||
r.offer_id = Some(offer_id);
|
r.offer_id = Some(offer_id);
|
||||||
r.answer = Some(JsonValue(::serde_json::json!({"sdp": "def"})));
|
r.answer = Some(JsonValue(::serde_json::json!(
|
||||||
|
{"sdp": "abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-abcdefg-"}
|
||||||
|
)));
|
||||||
r.event = None;
|
r.event = None;
|
||||||
r.offers = None;
|
r.offers = None;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue