Video Streaming with quality control in spring-boot? - spring-boot

I am new in spring boot and web development. Can you please guide me on how I can make a video streaming server that automatically changes the quality of video with network speed?
My preferred technology is spring-boot, but you can guide me with node js as well.
I have searched on all web but could not find a satisfactory answer.
Thanks in advance.

Related

How to check if a Client is connected to my spring boot backed server or disconnected?

I am new to Spring boot. I am currently working on a Poker app (android) and decided to use Spring Boot as Backend. Using HTTP requests and responses to handle client, I am facing difficulty when it comes to client's connectivity. cause I need to know if a player is connected to game table or not. Can I use WebSockets to resolve this or I need to use TCP support?
Any advice is be appreciated and please help me here providing some useful resources.
Thanks

What profiling mechanism available for a spring boot app deployed in azure app services?

What profiling mechanism available for a spring boot app deployed in azure app services. We have application insight integrated and it is showing profile now option on the application insight performance page it is either not completing sometime or sometime not showing any results
While your question lacks some details (example/screenshot) when you say
on the application insight performance page it is either not
completing sometime or sometime not showing any results
but firstly, I hope you have followed Configure a Spring Boot Initializer app to use Application Insights. I understand that the official documentation lacks clarity on profiling Java application, but you might want to look at the blog post Azure App Service Java Profiler.
Additionally, for end-to-end correlation tracing in your sprint boot app, set the below in your application.properties.
azure.application-insights.web.enable-W3C=true
For details on correlation, refer Telemetry correlation in Application Insights.

Rate limit API in spring boot

I am building an application based on spring boot. A requirement to protect the application is the API access rate limit.
I have read a lot of articles on this issue. However, it has not yet found a way to get started.
I have found bucket4j, redis, ratelimiter guava. Give me an opinion on the solution that you find it reasonable.
Thanks !

Web API Notification using Spring Boot

I am looking at creating Notification in Google Chrome, using Spring Boot. The notification is nowadays common on all sites.
The Spring Boot Admin module does create the same notification if the client application monitored goes down or comes up.
Can some help me with the same, very less support on the internet for the same? Even if the concept is clarified I can share a sample code for Spring boot and make it public via git. Else if a working sample help will also be appreciated.
We have JS way of creating the same, using new Notification('Title',) and window.webkitNotifications.createNotification.
I have solved it using 2 parts.
Server-Sent-Events (sse) emitters with Spring boot and Notification Web APIs
Adding the sample code here
Hope it helps someone looking for a similar solution.

spring mvc + desktop app = best protocol and gui framework

I wanna create spring app which will consists of 2 parts :
spring backend + spring mvc (server + web app)
desktop app which need to acces to backend
Whats best protocol to comunicate between spring and desktop app? Can i use SOAP for this? Can someone do quick overview of avaliable technologies (why not/yes)?
And whats best choice for desktop app GUI framework? or its better to use pure Swing / AWT.
I want to notice that i wanna use solutions which is most popular in software companies.
I appreciate every opinions.
The companies I work for aren't interested in Swing. Apps are web-based, not desktop. You're more likely to find mobile apps rather than Swing these days.
With that said, your instinct is a good one: separate the services, which are unlikely to change, from the UIs that come and go.
Start with Spring POJO, interface-based services and remote them any way you like.
An HTTP-based protocol will be more reusable by different clients.
Spring allows you to use HTTP remoting, SOAP or REST web services. If you write web services, learn how to write "contract first". Start with the .xsd for your XML messages.

Resources