Best setup to broadcast live stream (video+chat) from webcam

0

I'm looking to build out web-based live streaming capabilities & video chat client for my application, similar to the twitch but not as heavy or highly trafficked. While I've looked at some of the many services offered by AWS, there's just so many (MediaLive, IVS, Kinesis etc) that it's hard to know which service or combo of services would be the best fit and so I'm looking for some general guidance from anyone who has experience setting this up, or if there are existing guides that may be of help.

In general, here are my requirements

  • Broadcasters should be able to broadcast via their webcam/media device in the browser (ie. via getUserMedia)
  • Broadcasts will be 1 to many, with only the broadcaster streaming video and likely an average of 20-30 audience members consuming the stream
  • Audience members would use a separate front end client, which should also be web based
  • I would like to be able to include a user/chat function, so that users can chat globally, thus will need live 2-way data stream capabilities, but not sure if this is best handled by the media streaming service itself, web sockets, WebRTC etc

I could possibly utilize existing JS libraries to capture media as well as a viewing/chat application or even develop my own, but I'm also wondering if there are AWS recommended JS libraries or guides that can aid in this as well.

hope someone can help me get started, thanks!

1개 답변
2

I'd recommend giving the Amazon Interactive Video Service (IVS) a try to see if it meets your needs. The other services you mentioned are lower-level building blocks that could be used to create such a streaming service, but would require a lot of heavy lifting from you to implement all the functionality that IVS already provides. IVS is meant to be a more complete, turn-key solution. (A "managed" solution in AWS lingo.)

If you haven't already, check out the examples on ivs.rocks. The "Simple Chat" example in particular seems relevant to what you described. You can download the source code for that example from GitHub (linked further down the page).

profile pictureAWS
Kris
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠