I am currently facing an issue with streaming videos from an Amazon S3 Bucket. It seems that everything works perfectly when calling my REST endpoint once, but the problem arises when trying to stream the video simultaneously from multiple browsers. The error message I receive is: TimeoutError: Connection timed out after 120000ms
Here's a snippet of my code:
var express = require("express");
var fs = require("fs");
var app = express();
var path = require("path");
var AWS = require("aws-sdk");
// Rest of the code...
I'm uncertain whether this issue lies within the aws-sdk-js or if it's a more general problem with streams. Can anyone provide insight into what might be going wrong here? Has anyone else encountered similar difficulties?