• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF

 
animesh ranch
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is difference between Manager.createRealizedPlayer() and Manager.createPlayer()?
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The latter returns a player that still needs to be realized. From the Javadoc of createRealizedPlayer:
This is a blocking method that creates a Player, calls realize on it and returns only after the Player has been Realized. Realizing a Player could be a time consuming operation and one should use caution when using this method as it could block the thread for several seconds.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!