[Bugfix][API-1504][API-1505][RTP]cherry pick these two bugs to repo MR3.0-Merge-v2.0

Affected branch: MR3.0-Merge-v2.0
Affected module: RTP
Is it affected on both ZXIC and MTK: MTK
Self-test: Yes
Doc Update: No

Change-Id: I4dbbf417fdf12ee5a2c99d3fe3c11b45294dc46c
1 file changed
tree: f7d8f32a26a38ee0bba67116aee527702a7cb255
  1. framework/
  2. IC/
  3. lib/
  4. packages/