Wowza live streaming

Hey , i want to implement live streaming for ionic application. For that i was using wowza rest api to create stream and start and stop stream but not able to open my device’s camera.I am not getting any solution that how can i record my stream and open camera . I also used rtmp-npm for ionic framework but that only have recording property for android only for short time and for ios plugin is not working.