I'm looking for a RTSP Java library, but I didn't find anything.
Can someone advice me a Java library to handle RTSP?
Thanks
I don't know if you still need that. I wrote a tiny RTSP Client library in java and I'd appreciate some feedback on it. Also, it can be extended to implement server side.
The link to the project is http://code.google.com/p/rtsplib-java/
Regards, Paulo.
Here is one in C# if you wanna port something http://net7mma.codeplex.com/
Related
I am trying to solve a security bug in my j2ee project i.e. Connection_String_Injection.
Unfortunately when i google all i get is C# SqlConnectionStringBuilder fix.
Is there any equivalent to SqlConnectionStringBuilder in java libraries.
If so please let me know how to implement it , if not let me know if there is any anternative to it.
Would be thankful to your help.
Regards,
~Shyam
I just started learning Java, and I have no idea how it works. The programming language I learned before this was PHP.
My question is, how do I use Java on my website? I created a .java file and it showed up like this (it showed the script): http://cpcheats.co/java/learning/index.java
I'm guessing I need to upload java onto my web server. If I do, can you please tell me where to download it, and where to upload it? If I don't need to download Java, can you please tell me how to use it on my website? Thanks.
I'm guessing I need to upload java onto my web server.
Ok....
Go to a bookstore/library and buy/borrow a book on Java. Spend a weekend on it and when you have a programming question, please post it here and many of us here will try to help you.
Well, what you need first is to understand the basic concept of java, and of a java web application (java on the server). You need to follow a course and this is not the place to write a java getting started, because this already exist.
I suggest that you read this:
http://docs.oracle.com/javase/tutorial/getStarted/
http://docs.oracle.com/javaee/1.4/tutorial/doc/WebApp.html
After a couple of hours you should have a better understanding of what java is and what you can do with it.
i found XMPP on google (i need create a application IM look like Yahoo or Live or Pidgin), i need write XMPP Server and Client but i don't know how to write it?
because of it, it need some document or tutorial help me write server and client interactive with my database.
Thank you
Best Regards!
Either you can write your own or use the already proven open source libraries ready to be used. Look this post Good XMPP Java Libraries for server side?
If you are looking for tutorials, articles etc then go to xmpp.org or go to this post Good tutorials on XMPP?
You can also try writing server components with Whack framework. I've blog about using Whack here (part1, part2, part3).
I'm currently working on a app for a podcast (katg.com) which will let you listen live etc... however, I have not found any open source code available to stream shoutcast. I know there are some ways of doing it, but I find it hard to find any available code on the net that explains it for a java/android beginner like myself. Anyone know of any libs/tutorial/examples/code that shows how to do this on android?
As Erich seems to have accidentally posted the wrong link, here's another resource about the protocol: http://forums.radiotoolbox.com/viewtopic.php?t=74
The shoutcast stream itself is accessible via HTTP. For example via Telnet:
$ telnet myshoutcastserver.com 8000
GET / HTTP 1.1
..............a lot of streaming stuff........
So you could try to buffer the stream data and when there is enough to play pass it to a MediaPlayer instance.
There is a shoutcast streaming application for android on github:
http://github.com/Dawnthorn/nagare/
I didn't try it and it seems to be not continued. However maybe the code helps :)
Here's some text on how the Shoutcast protocol works: SHOUTcast Protocol. It's not as good as sample code, but it might come in useful.
Edit: Fixed the link.
In case you haven't found it by now, Icecast is an open source audio streaming server that supports the SHOUTcast protocol: http://www.icecast.org/index.php
Is anyone aware about good RTSP client/server Java library?
Search on Google reveals JMF, which is very outdated.
Thanks.
If you're still interested, Netty provides RTSP support since version 3.2.
You can use Netty NIO framework to write your own RTSP server / client implementation.
And, as I think you know already, you can use Xuggler :)
Look at Gstreamer. I have created a Java code for RTSP Client. And also posted link on RTSP server rtsp streaming on java
You can try using FMJ. It's a set of libraries that wrap a lot of modern codecs in Java interfaces.
There is no java implementation of RTSP protocol. You must do it yourself using a NIO framework (MINA, GRIZZLY, NETTY...) its a possible solution.
Red5 has some support or is going to have support for RTSP and is Java based.
you can use vlc(Videolan client) whith vlcj and JNA
Some time ago I've coded android rtsp streaming client (android could stream to media server, wowza in that particular case). There are only couple tricky moments with that approach:
it was based on known trick with unix sockets and parsing mp4
generated by the device in order to get NALU out of it;
timestamps synchronisation for audio and video is really not trivial
on android when two media recorders used (for vide and for audio) for getting the media.