Skip to main content

livestreaming

6 replies [Last post]
markdean
Offline
Joined: 2010-09-20
Points: 0

hi there...this will be my first time to post a question here. :)
i am planning to make a live streaming p2p application using JAVA and it leads me here...
can some one give me an idea on how will i start this application...thank you very much....

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
markdean
Offline
Joined: 2010-09-20
Points: 0

hmm..one more thing how will a install JXTA in eclipse??

keesp
Offline
Joined: 2007-05-22
Points: 0

You have two options. The simplest is to start a normal Java project and include the JXSE jar file. If you are more interested in actually working with plugins, then you are welcome to join the team who is trying to do this with JXSe 2.6. It is currently a bit more involved, and there are three ways you can achieve this:

1: Wait for the upcoming release (planned November/December) as it will be prepped for this.
2: Build JXSE 2.6 from the trunk (see the project pages I showed you earlier) and accept that you're working with code that is still under development
3: use the source code and build the project from there, with a few modifications that I can show you. I am currently making a small tutorial that you can use (and test...feedback would be welcome)

A number of developers are trying to make JXSE OSGI ready, and help is very welcome, but this is not likely to be ready soon. If we first change the current code that it doesn't throw exceptions in Eclipse/Equinox/OSGI then we have already made a big step, and we we feel we're very close to achieving this. The next step is to integrate JXSE as services, but these are silder ideas.

Let me know what you would prefer, and I'll guide you through the process

Cheers

Kees

markdean
Offline
Joined: 2010-09-20
Points: 0

hmm..as of now i prefer the first one...
and i got to think about 2nd one because im still a newby in this area...
thank you so much for your help...

Mark Dean

keesp
Offline
Joined: 2007-05-22
Points: 0

Its definitely the easiest and most appropriate for learning. Just keep in mind that in Eclipse (I take it that you are starting with that too), you can use it purely as a development environment for your regular JAVA projects, but Eclipse itself works with the concept of plugins (a more specialised kind of jar...at least for the purposes here), which you can also choose to develop in. If you plan to learn eclipse plugins, then the above approach will not be recommended. Also if you want to deploy your application as an eclipse 'zip' file, then working with jars is going to be more involved when you get to a production phase.

I would strongly recommend that you read the eclipse docs/forums and be very aware of the differences between a regular jar project and a plugin project in the eclipse environment before proceeding. That largely depends on the reason why you have chosen Eclipse as an IDE and not, say, netbeans.
Good luck

Kees

keesp
Offline
Joined: 2007-05-22
Points: 0

I would start by downloading JXSE 2.6 from

http://jxse.kenai.com/index.html

and reading the 2.6x programming guide:

http://jxse.kenai.com/Tutorials/Tutorials.html#Prog_Guide

The next step is conceptual; how do you envision you application? Basically you will be looking at in-/outputstreams that pass information, but how do you group users and search for relevant information about available code/streams?

The forums will help you with this!

Good luck,

Kees

markdean
Offline
Joined: 2010-09-20
Points: 0

thank you so much....i am currently thinking of a good architecture of making this application...basically what im thinking is that for example, I will be the one that will broadcast the live stream and the viewers can view this without connecting to me directly, or not the usual client-server application..
thank you very much for your comment and i hope that this forum could help me alot....

Mark Dean