Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LineUnavailableException: line with format PCM  RSS feed

 
Damaso Lopez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I've got another problem with reader on microphone and send UDP multicasting . Then I would listen to it ,ie I want to hear what comes from the udp.

The code is:



The methods stopPlay() , playStream() and stopSender() is correct but the method sendStream, I don't know why catch this exception. Can you help me, please??
 
Greg Charles
Sheriff
Posts: 3014
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You catch an exception from sendStream()? What exception? I assume it's happening at line 44: ms.send(dp), but I don't see that you've told us what ms is, so that's going to be hard for us to diagnose.
 
Damaso Lopez
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greg Charles wrote:You catch an exception from sendStream()? What exception? I assume it's happening at line 44: ms.send(dp), but I don't see that you've told us what ms is, so that's going to be hard for us to diagnose.


Sorry, I could solve, I did not realize I was doing wrong
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!