• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mute/Unmute audio using JMF

 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello to all,

My question is that i want to mute and unmute the audio and video using JMF. I have developed an application with audio and video capabilities and now i want to add a button which when pressed mutes a call and vice versa. Can any one please guide me regarding this or provide me with some sample code? Any help on the matter is greatly appreciated.

Thanks,
-- Girish --
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JMStudio example app apparently can do this. Since its source code is available you could find out from that how it's done.
 
Rob Spoor
Sheriff
Posts: 20822
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Once you've got a Player it's quite easy:

Of course with any other instance of GainControl it's also possible.
 
Girish Vasmatkar
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank to both of you sir.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!