I need to implement Video conferencing in intranet using JMF API.But i dint know where to start with ? I have knowledge of JMF but how to implement this thing that i need to know.
I need to know how RTP sessions are created and used while the video streaming is done?
Use Jitsi, they have about the best library I've found for RTP streaming. Note that they use FMJ in-place of JMF.
Their site: https://jitsi.org/
Their code: https://github.com/jitsi
Check out libjitsi if you just want the libraries.
Related
I've been doing some research on Phonegap and Cordova, it seems there is no support for creating apps that have SIP and VOIP functionality since HTML5 and Javascript have little or no support for these protocols (webRTC and websockets are not yet supported on most mobile phone browsers). However I found out it is possible to create and use Plugins in order to use native functionality of the Operating Systems (iOS and Android in this case).
My question is that, if for example I write native JAVA codes for my Android-Phonegap application, will I be able to use it as a plugin to stream audio and video in my Android-Phonegap application? what are the limitations of using a plugin (with native functionality) in Phonegap or Cordova? Most of the plugin codes I checked online had a "Result" in the end, does this effect streaming of Audio and Video?
Thanks in advance.
A proof-of-concept Cordova app that uses SIP.js with the PhoneRTC plugin to make WebRTC calls over the internet.
https://github.com/joseph-onsip/sipjs-cordova
Video.... I could potentially see a problem... BUT! HTML5 already has support for that so its OK. If looking to do SIP Video calls, look below.
You have HTML5 SIP clients that have been made:
http://sipml5.org/
It is Open Source. I haven't used it, but I cannot imagine that the back-end of the codebase wouldn't be portable to mobile.
Emdedded SIP - I would take a good long look at the code used in LinPhone (http://www.linphone.org/eng/download/git.html) and CSipSimple (https://code.google.com/p/csipsimple/) for your Java plugin Side ( You will need to build the required C libraries and use them as well ).
Now, PhoneGap provides a great Audio/Video Capture plugin.
https://github.com/apache/cordova-plugin-media-capture/blob/dev/doc/index.md
What you can do is integrate the Stream with some of the returns and tie-ins on the Media Capture plugin.
So, you have two options.
Here you have a SIP plugin for Android devices. Hope it helps!
https://github.com/lglossman/SipManagerPlugin
Anything you need don't hesitate to contact me...
I have some video stored on Google Cloud Storage in mp4, i need the extract a thumbnail from them.
I looked to a number of solutions, and looks like they don't work with App Engine.
for example: http://www.xuggle.com/xuggler/
Do you have library that i could use to do this on Google App Engine in Java?
I finally went with Google Compute Engine and ffmpeg, implementation is in progress...
This question looks related to Is there a Java API for mp4 files?
Xuggler says their project is a mix of java and native code. Native code will not run on java app engine.
Search for java mp4 video decoder and look for a decoders that only use java code. Perhaps this one will work: http://jcodec.org/guide/movstitch.html.
OK, after some searching, I've found following: Video website on google application engine
Sounds like similar problem to yours. The only difference is that the other thread checks for python solution. However answers seem to be quite programming language independent, so I think it will be worth a read.
For the documentation/inspirational purposes, it might be worth to describe your solution in this thread once you go for it.
I have to stream some videos from a database. I planned to use Java Media Framework, because I get the Blob objects from the result of a query, but apparently JMF cannot play videos from streams, but only from URLs. Does Anyone know how to solve this problem? If JMF cannot solve it, someone can recommend me a different framework?
You could register a protocol handler, and then use this special URL within JMF. Registering protocol handlers is a bit complicated in my view, but there are a many examples on the internet.
I am planning to retrieve the frames from a video [mpeg]. The frames captured need to be either .bmp or .jpg images and need to be saved in a folder.
How can I proceed with this approach?
I am a java developer but I don't have any idea regarding multimedia in Java. Can any one provide me with useful steps, or any links for tutorials which work in java and multimedia regarding the above problem?
I don't want to use any installer like Xuggler. I need to hard-code it using some API.
look at this great project : FMJ
Is it possible to stream mp3s using pure Java?
If so, what are the best resources to implement this.
If not, are any other music formats streamable using Java only?
As Mario says, JMF - Java Media Framework is a good starting point.
What Mario does not say is that Sun killed MP3 support since 2.1.1b as detailed in the "My Lost Streaming MP3 Article" blog entry.
So you need to add a plugin to support MP3:
the JMF Formats list does mention MP3 (under the ACM -- Window's Audio Compression Manager support -- section), but only for Windows, and not with JMF alone.
You could use MP3SPI from JavaZoom to stream MP3 files
As it says on their webpage:
"MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format support for Java Platform. It supports streaming, ID3v2 frames, Equalizer, .... "
People have already used it to build applicatons that stream from Shoutcast
Hope this helps
I think you can use the Java Media Framework from SUN to achieve what you want. Being this the official SUN implementation this would be the way to go. I am pretty sure that the actual streaming is native though.
I looked in the FAQ and I found the following answer:
Q: Will JMF 2.1.1 support streaming?
Yes. JMF 2.1.1 provides RTP/RTSP
streaming support.
JMF 2.1.1 also provides HTTP and FTP
streaming support on the client side.