RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

How to support android lifecycle when streaming?

Open haiyiya opened this issue 2 years ago • 1 comments

Thanks for your great library!!! I have some difficulties. When I am streaming, I switch to another app and then switch back, and the streaming is stopped. I want to continue streaming when app resumed, Could I do something in onPause and onResume? sorry for my poor english.

haiyiya avatar Apr 28 '22 10:04 haiyiya

Hey,

I have tried BackgroundActivity and it's working fine for me.

https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/tree/master/app/src/main/java/com/pedro/rtpstreamer/backgroundexample

uditshoprtv avatar Jun 07 '22 18:06 uditshoprtv