Video Stream Real Time using IONIC

Hello guys, I need to create an application that makes a video stream in real time, there are two basic requirements, my server must be in PHP and the application should be using the IONIC FRAMEWORK, but have no idea where to start, I thought of using websockets however I’ve never used it, I wonder if you have any suggestions or tips that can help me my job depends on this project :(, any help will be appreciated.