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

Change-Id: Ie0a38c253665e92a65dcec3b295f783cbfcf6970