RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

disable video while streaming

Open ramanareddy463 opened this issue 3 years ago • 1 comments

Hi @pedroSG94, How to disable video while streaming (version 2.2.2)

ramanareddy463 avatar Dec 13 '22 08:12 ramanareddy463

Hello, You can use 2 ways:

  • Use black filter and remove it after: https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/app/src/main/java/com/pedro/rtpstreamer/openglexample/OpenGlRtmpActivity.java#L175
  • Use muteVideo/unmeteVideo methods:
rtmpCamera1.getGlInterface().muteVideo();

pedroSG94 avatar Dec 14 '22 09:12 pedroSG94