SurfaceViewRenderer on Android

Hello, I have an issue playing back a video stream on Android. Apart from the roomApi functionality, the only successful way of playing back video content was by providing a surface renderer to a Session object. This works fine. However, this limits us to playing back only one video stream per Session instance (connection). Our requirement is to play back multiple media streams on a single Session object. StreamOptions object festures a setRenderer method, however, it doesn't seem to work - audio plays back fine but no video shows. So, the question is, how do I go about playing multiple video feeds on a single Session (connection) object?
 

Max

Administrator
Staff member
Good day.
Please try Stream.switchRenderer() method. See Media Devices example code here.
 
Top