This week's giveaway is in the Java in General forum.
We're giving away four copies of Java Challengers and have Rafael del Nero on-line!
See this thread for details.
Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

JMF - RTPServer n Player - port problem

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
"To do good, you actually have to do something." -- Yvon Chouinard
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic