GNOME Bugzilla – Bug 771882
GstPlayer on Android with RTSP stream reports width x height= 0 x 0 in "video-dimensions-changed" event
Last modified: 2016-11-21 07:02:29 UTC
When playing RTSP stream "video-dimensions-changed" event is triggered only once reporting dimensions of 0 x 0. No further events triggered. Following streams (and any other I've tried) can be used to reproduce the problem: rtsp://mpv.cdn3.bigCDN.com:554/bigCDN/definst/mp4:bigbuckbunnyiphone_400.mp4 This was used as base code: https://github.com/sdroege/gst-player/blob/master/android/app/src/main/jni/player.c with none modification, and call back was set with: mGstMediaPlayer = new Player(); mGstMediaPlayer.setVideoDimensionsChangedListener(new Player.VideoDimensionsChangedListener() { public void videoDimensionsChanged(Player player, final int width, final int height) { Log.d(TAG, "videoDimensionsChanged: width=" + width + " height=" + height); } }); which reports dimensions of 0 x 0.
Can you attach a full debug log, and another one with gst-player:6 here? Thanks!
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!