is_final=true means an endpoint is detected. is_eof=true means all received samples have been processed by the server.