Yes, the bottleneck is indeed ffmpeg as it uses up a lot of CPU resources especially when there are too many concurrent sessions (we are offering SaaS to our clients to live stream to multiple social platforms) running, however as there is long silent period especially from 12am - 12pm (as...
Could you explain the above using similar diagram? FYI, the reason that we want to put auto scaling group of instances behind LB is that ffmpeg (used to edit then forward streams to FB etc) used up a lot of CPU resources when launched; due to the unpredictable usage of our services by our...
Not republishing....what i meant is the WebRTC stream triggered from the browser seems to be forwarded to wrong EC2 instance behind LBS when there are 2 instances running behind.
For example, when a stream is started from web browser, and the websocket connection is to instance 1, but when I...
From browser, I used the modified 'webrtc-as-rtmp-republishing.js' to connect to WebRTC server in instances behind the load balancer, then stream RTMP traffic to it; so with 2 and above instances behind LB, I notice the session would fail (presume the RTMP stream was send to wrong WebRTC server).
I constantly encountering as issue when there are 2 EC2 instances sit behind LB - when I start a stream thru webRTC, its ended with stream not found; I suspect it is due to the fact that the websocket was established with instance 1, but the RTMP traffic (to port 1935) was sent to instance 2...
I'm seeing below errors (Flashphoner is installed on AWS Linux ARM instance):
08:42:09,475 ERROR FFAudioGenericCodec - main Can not load lib: fpaj
java.lang.UnsatisfiedLinkError: /usr/local/FlashphonerWebCallServer-5.2.1031-aa61467f4f8b95d229f3faaa04f6c6e8d43c388d/lib/so/libfpaj.so...
If I were to renew my license on monthly basis, whats the most effective way to ensure the newly launched instance (2nd and above) would start with the new license?