2 phase project.
Connect to [login to view URL] account via API. On Event "incoming stream start" , start Amazon Web Services MediaLive channel. On Event [login to view URL] outgoing stream stop, stop AWS MedaiLive channel. The program has to be hosted on cloud. It must NOT need my intervention to work smoothly.
AWS CLI commands to start and stop channels.
aws medialive start-channel --channel-id 12345678
aws medialive stop-channel --channel-id 12345678
1st phase
Provide at least few ways to solve this problem.
2nd phase
Implement the shortlisted solution.