Hello Joe.
To publish a stream from Android device in background mode, you have to create session and publish a stream in Service that should be launched from application Activity. Also, you should create notification to prevent service stopping by system.
There is a limit here^ you can not see local video published from service, you can only create a session and play stream from server.
Sample application Streaming-min source code modification to publish a stream from background is in file attached.