[domistream] Control: tests first, START_B, PERIODIC_PING and the IDR request with empty bodies (START_A stays refused)
This commit is contained in:
@@ -623,8 +623,9 @@ fn a_whole_session_between_our_client_and_our_host() {
|
||||
(launched.mode.width, launched.mode.height, launched.mode.fps)
|
||||
);
|
||||
|
||||
// ENet connect on the control port, then START_B. ControlStream refuses START_B (body U10), hence the probe path.
|
||||
assert_err!(encode_client_message(&ClientMessage::StartB), Error::Unsupported { .. });
|
||||
// ENet connect on the control port, then START_B. ControlStream sends START_B with an empty body (3.3); the
|
||||
// session below drives the same bytes over EnetClient + ControlCipher, as gs-probe does.
|
||||
assert_eq!(encode_client_message(&ClientMessage::StartB).unwrap(), vec![0x07, 0x03, 0x00, 0x00]);
|
||||
let host_control = HostControl {
|
||||
config: ControlHostConfig {
|
||||
enet: EnetHostConfig {
|
||||
|
||||
Reference in New Issue
Block a user