After carrying out some research I have found out that an RTSP media server for develivering video and audio can be implemeneted in java using Netty. After consulting the web site and veiwing the documentation I have still not found any real help on how an RTSP media server can be implemeneted using it. I have been stucktrying to solve this problem for a while now and I am well aware of the RTSP protocol, other streaming protocols and all the issues that come with streaming media. Could someone please piont me at a place to start so that I can slowly work my way through the implemenattion of an RTSP server in java (Netty). Any online documentation or source code that is reasonably close to this issue, or shows the very basics would be a great help. Thank you.
You could take a look at flazr which is Netty implementation for streaming protocols like RTMP. Another place where you might find relevant information is the related projects page of Netty.
I think the best way to solve it is to create a new Netty project and make a HTTP server and client, then modify it into a RTSP server and client.
Related
Anyone could point an example, tutorial, doc, etc, about how to use Vysper to serve xmpp. I managed to start Vysper but cant find anything on how to exchange messages.
I'm trying to create a chat app, much like whatsapp, google talk and so on.
I dont want to use Google Cloud Management.
I would like configure myself a xmpp server.
Others options besides Vysper would be welcome.
I am not a specialist in the XMPP but I was writing a small project - communicator based on Smack and OpenFire server.
From my own experience I can recommend You using the OpenFire server.
Here is the example of Communicator which is based on Smack and OpenFire: https://github.com/mack94/Komunikator---Wiadomosci/
If you have any questions don't hesitate to ask me
I need to send an object built in server to my Android app. I'm looking for the best way to do that. I dunno if the best choice is just JSP with binary output, or maybe RMI or just sockets. Google Cloud Messaging should be my choice, but It seems Im needing a supporting server for this technologie.
Any suggestion?
Thank you.
We are developing an app that will have Web service in JAVA and Application in iOS.
Web-service will compute the list on a Particular Algorithm and that list has to be Shown realtime on the Device.
We were thinking of making a Routine Post Calls on every minute and get result from server but I think this would be very Costly and inappropriate way for syncing data with the Web-service's Result.
Can anyone provide Best alternative and Ideal Way for such type of requirement. Which approach should we choose to Provide such Real-time Sync for application.
You can use a WebSocket connection for this. WebSocket establish a full duplex connection between iOS and your server. This allows the server to trigger the client if new data is available.
As you mention it doing a routine post call every minute could work, but it will cost a lot of resources. It's not a good solution.
One solution could be to use websocket. So the server will send notification when data have changed. See here what is websocket http://fr.wikipedia.org/wiki/WebSocket
Use netty-socketio java realtime framework, it supports long-polling and websocket transports. javascript, ios, android client libs also available.
After googling and research, I found Socket.io better option for Our case
Socket.IO is a WebSocket API created by Guillermo Rauch, CTO of LearnBoost and lead scientist of LearnBoost Labs.
Socket.IO will use feature detection to decide if the connection will be established with WebSocket, AJAX long polling, Flash, etc., making creating realtime apps that work everywhere a snap. Socket.IO also provides an API for Node.js which looks very much like the client side API.
For a project, I need to be able to stream live audio from a Java server to the browser on the client. My first guess was to use RTMP with a Flash player, my second guess to make use of the HTML5 audio tag. But so far, I've failed to find anything useful (like a library), so does anyone have any pointers on how to do this?
Here's the setup: The sound comes in from a VoIP server as a bunch of PCM samples. From there, it has to go to get to the client, while usually only one client listens to one stream. So I need to be able to send many VoIP streams to several clients, a simple form of authentication would also be nice (like a token or a secret URL where the stream is located at).
So far, I've looked at Red5 (looks to me like one-to-many streaming only) and searched for Java-based RTMP libraries. Any help is gladly appreciated!
Hi all the stackoverflow people
i need an websocket server and client implementation example in jAVA,
i researched and not found tangible result,
please help me
thank you
Java-WebSocket
jWebSocket
First two results on a google search for java websocket. How did you not find these?
Look at Atmosphere. A lot of samples and works with all existing framework.
If you want a simple Java I/O websocket server that supports the full message length and multiple connections check this out http://code.google.com/p/jfraggws/