Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMF: Stream video over UDP

Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'd like to use a JMF player to play video content requested from a media server over UDP.
But I am having problems...if I try to construct a player like this:

I always get a NoPlayerException.My peer says that is because JMF doesnt know how to handle the UDP content,although I find that ambiguous because I thought 'UDP' defined the protocol and not the content,so why should JMF need a different player?I'd understand if it needed different players for different video formats..

I can play the video over the network with udp in videolan fine.Also, the JMF version that I am using doesn't have the RTPSocket class
and the OuputDataStream class and the MediaPlayer class.Does anyone know what version it is?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic