FX Media Object caught Exception com.sun.media.jmc.MediaUnavailableException: Media unavailable: rtsp://192.168.56.1/test.mpg
source ='rtsp://192.168.56.1/test.mpg'
com.sun.media.jmc.MediaUnavailableException: Media unavailable: rtsp://192.168.56.1/test.mpg
at com.sun.media.jmcimpl.PeerManager$1.run(PeerManager.java:56)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.media.jmcimpl.PeerManager.throwMediaException(PeerManager.java:51)
at com.sun.media.jmcimpl.PeerManager.getMediaPeer(PeerManager.java:211)
at com.sun.media.jmc.Media.<init>(Media.java:50)
at javafx.scene.media.Media$_SBECL.onChange(Media.fx:87)
at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(ObjectVariable.java:142)
at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(ObjectVariable.java:104)
at com.sun.javafx.runtime.location.ObjectVariable.set(ObjectVariable.java:115)
at javafx.scene.media.Media.set$source(Media.fx:80)
at swingtest.MyScene.applyDefaults$(MyScene.fx:52)
at swingtest.MyScene.applyDefaults$(MyScene.fx:52)
at com.sun.javafx.runtime.FXBase.applyDefaults$(FXBase.java:65)
at swingtest.MyScene.initialize$(MyScene.fx:22)
at swingtest.MyScene.initialize$(MyScene.fx:22)
at javafx.reflect.FXLocal$ObjectValue.initialize(FXLocal.java:1044)
at javafx.reflect.FXLocal$ObjectValue.initialize(FXLocal.java:986)
at javafx.reflect.FXClassType.newInstance(FXClassType.java:187)
at org.jfxtras.scene.SceneToJComponent.loadScene(SceneToJComponent.java:88)
at swingtest.JavaFXToSwingTest.<init>(JavaFXToSwingTest.java:28)
at swingtest.JavaFXToSwingTest$1.run(JavaFXToSwingTest.java:49)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.net.MalformedURLException: unknown protocol: rtsp
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at java.net.URI.toURL(URI.java:1081)
at com.sun.media.jmcimpl.PeerManager$1.run(PeerManager.java:54)
... 26 more