Hi,

I am trying to build a mediaplayer in android by by-passing the
Android's built-in MediaPlayer Java interface. I am using the
corresponding MediaPlayer class defined in "media/libmedia/
mediaplayer.cpp". I have written a corresponding JNI layer for
interaction with the Java UI. The Surface I am passing similar to the
way it is being passed by the JNI layer. Also I am extending the
MediaPlayerListener class for the notification signals.

After all this, while playback I have observed the following:
1. I am getting call back for "MEDIA_PREPARED" and
"MEDIA_PLAYBACK_COMPLETE"
2. I am not getting call back for "MEDIA_SET_VIDEO_SIZE"
3. Video is not being played. Only Audio is playing.

Please let me know the reasons behind observations 2 and 3. Is there
anything I might be missing?

Thanks in Advance
Sandeep

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to