-
Bug
-
Resolution: Won't Fix
-
P4
-
fx1.2.1
Posted by user on http://javafx.com/docs/articles/javafx1-2.jsp
--------
RTSP only seems to work half of the time for me. im connecting to Windows Media Encoder. if i connect from Windows Media Player itself, it works 100% of the time. but connecting from a javafx application, using the same url, only works half of the time. here is the code im using:
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.scene.media.MediaView;
var stage : Stage = Stage {
width: 100
height: 100
scene: Scene {
content: MediaView {
mediaPlayer: MediaPlayer {
autoPlay: true
media: Media {
source: "rtsp://xxx.xxx.xxx.xxx:27150"
}
}
}
}
}
--------
RTSP only seems to work half of the time for me. im connecting to Windows Media Encoder. if i connect from Windows Media Player itself, it works 100% of the time. but connecting from a javafx application, using the same url, only works half of the time. here is the code im using:
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.media.Media;
import javafx.scene.media.MediaPlayer;
import javafx.scene.media.MediaView;
var stage : Stage = Stage {
width: 100
height: 100
scene: Scene {
content: MediaView {
mediaPlayer: MediaPlayer {
autoPlay: true
media: Media {
source: "rtsp://xxx.xxx.xxx.xxx:27150"
}
}
}
}
}