简体   繁体   中英

How to Stream a live video along audio with syn via java over Socket?

Can you suggest to me how to stream a live video (recording from webcam and microphone in syn) over the socket in java? I tried to search but only found ways to stream images over socket not a live video (capturing from webcam) along audio (using mic).

This is a really broad question, so it's difficult to provide a satisfactory answer. I can point you to some resources though.

Firstly, a popular protocol for this kind of application is the following: https://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol

Here is a link to a promising paper going in-depth on how this protocol can be implemented using Java: https://www.researchgate.net/publication/228974152_A_Java-based_adaptive_media_streaming_on-demand_platform

Of course, you can also choose to use a pre-existing API (there are plenty of options). Additionally here are some StackOverflow posts that also touch upon this subject:

Live video streaming using Java?

Real-time audio streaming using HTTP - choosing the protocol and Java implementation

Good luck :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM