• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF - RTPServer n Player - port problem

 
Hoang Hai
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi evry body,
Did anyone read the book Java How to program, 4th edition,(chapter 22) or building the streaming Java applications ?
I run a sapmle program to stream a mp3 , and another to capture and play it.
* on the same machine :
- RTPServer streams the output to 127.0.0.1, port 4000
- Player open the locator : "rtp://127.0.0.1:4000/audio"
but the program that starts later counter a problem while accessing port 4000: "can't open local data port: 4000"
* on 2 different machines :
- RTPServer streams the output to its local IP addr, 127.0.0.1, port 4000
- Player open locator : rtp://rtpservermachine_IPaddr:4000/audio
all the 2 run smoothly (i.e. no error messsages displayed), but I can't hear any sound ;(.
Any idea and advice would be appreciated )
Thanks for reading
Hoang Hai
 
Chirag Merchant
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...!
I am facing the exact same problem ....
from some site i heard may be we can use some settings in Java Customizer.. (part of JMF)
But if you do!! please let me know... I am also trying and will let you know if successful
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!