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

Change-Id: Iab685c65e9496d9da7cec88c2296ad525c5cd92c