Merge "Add callback for output stream." into rvc-dev am: 3e9669ff69 am: ccf37b0ffa am: 64a748628d am: 894feb1ff3

Change-Id: Ib195a862de6ec83924e68766ff7ad519163f6f1f