Open interfaith opened 8 years ago
You need to change the media constraints utilized down in the JanusClientAPI classes. Here is an example of setting the constraints: https://github.com/Computician/janus-gateway-android/blob/master/app/src/main/java/computician/janusclient/VideoRoomTest.java#L117
You should make send and receive video both false. I also THINK you can get rid of the EGLContext. I have not really messed with audio only but it should be possible.
this looks like the place to dig in :) https://docs.oracle.com/cd/E55119_01/doc.71/e55126/wd_sampleapps.htm#WSEWD357
and then revisit this janus solution.
what fix will avoid any video here ? just audio
private void init() { try { EGLContext con = VideoRendererGui.getEGLContext(); voiceMail = new VoiceMail(localRender, remoteRender); voiceMail.initializeMediaContext(JanusActivity.this, true, true, true, con); voiceMail.Start();