admin管理员组文章数量:1420694
I would like to create an application using Spring Boot in which i can make Video Call and sharing test messages between 2 users who are registered on my application. I also want to save those videos for future use like if any person want to see those videos in future i should be having that video.
I know node.js as well can make video calling app using WebRTC in node.js but still i'm not sure can i save that videos in WebRTC?
I'm Java Developer know how to create application from scratch but m struggling with Video Calling feature, can any person help ?
Thanks for you reply!
I would like to create an application using Spring Boot in which i can make Video Call and sharing test messages between 2 users who are registered on my application. I also want to save those videos for future use like if any person want to see those videos in future i should be having that video.
I know node.js as well can make video calling app using WebRTC in node.js but still i'm not sure can i save that videos in WebRTC?
I'm Java Developer know how to create application from scratch but m struggling with Video Calling feature, can any person help ?
Thanks for you reply!
Share Improve this question asked Dec 4, 2019 at 11:30 Jigyasu GargJigyasu Garg 492 silver badges6 bronze badges 3- I don't quite understand your setup. You are using Angular for the Frontend and Spring-boot for the backend, right? If that's the case you wouldn't use node.js (except maybe for development). – Janis Jansen Commented Dec 4, 2019 at 11:37
- Yes you are rite i want your suggestion i can use Angular + spring boot – Jigyasu Garg Commented Dec 4, 2019 at 12:26
- Other options is to use Node.js which is better to choose..? – Jigyasu Garg Commented Dec 4, 2019 at 12:26
1 Answer
Reset to default 5videochat has 2 dependencies. *
- Media transfer ( Browser side, need javascript )
- Handshake (signaling, nodejs socket.io preferred, PHP, java, can be used )
For handshake, you can use socket.io, signalR, polling, etc. assume 2 users, A and B A must know the B exist and available, this kind of info transferring generally handled by socket.io (nodejs )but you can do it with polling. After A & B notice each other than A call B. Then you start connecting the peer with browser webrtc support. However there is 3 way for media connection between 2 clients.
- Peer to peer
- Sfu
- Mcu
Peer To Peer Only signal between client enough for media handshaking. The client's browser can talk to each other without any media server. Since there is no media server, the stream will be recorded by the client's own browser. You can look at
https://github./muaz-khan/RecordRTC
Sfu Kurento, ant media, Wowza, frozen mountain, etc are the Selective Forwarding Unit, A publish the stream to the server when B asks for watching this stream, then the B request to the server. If C asks for watching this stream, then C gets the A and B stream as unicast. All stream servers have different APIs and methods. For Kurento you need to add new Recordenpoint to your existing pipeline. For Wowza you need to transcode the webrtc to the RTMP then Record the stream. For ant media, the recording process can be started automatically.
https://doc-kurento.readthedocs.io/en/6.11.0/tutorials/js/tutorial-recorder.html
Mcu A publish to the server, B publishes to the server, C publish to the server. A can get the mixed ( posite view of A B C ) stream and only 1 stream get etc.
As you see webrtc has different features. Kurento has nodejs & java SDK for munication. However, for publish & play streamside, you need to Javascript ( not nodejs ) at the client-side.
Here is a sample text message & video conference using Wowza & ant media.
https://github./Lethea/wowza-webrtc-group-call-and-chat
https://github./Lethea/ant-server-webrtc-chat-room
本文标签: javascriptBuilding Text message and Video Calling Application using Spring bootStack Overflow
版权声明:本文标题:javascript - Building Text message and Video Calling Application using Spring boot - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744623559a2616176.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论