change code for the latest receiver sdk.

Signed-off-by: Jianmin Zhou <toandrew@infthink.com>