This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques and have Mario Casciaro & Luciano Mammino on-line!
See this thread for details.
Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic