fix: build error on android

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2022-06-14 19:22:01 +08:00
parent 7885f5ccb0
commit e4607e2feb

View File

@ -465,7 +465,7 @@ fn run(sp: GenericService) -> ResultType<()> {
}
scrap::Frame::RAW(data) => {
if (data.len() != 0) {
let send_conn_ids = handle_one_frame(&sp, data, ms, &mut vpx)?;
let send_conn_ids = handle_one_frame(&sp, data, ms, &mut encoder)?;
frame_controller.set_send(now, send_conn_ids);
}
}