htwahzs / Rtsp-Android-Client

Andoird rtsp client module, can use surfaceview to display
171 stars 62 forks source link

after test, can't show video to surfaceview #1

Closed githubuse closed 8 years ago

githubuse commented 8 years ago

hi, I have did more test(connect my own h264 rtsp url and other rtsp server), but can't show video, from my log , i can see client could receive data, but inputBufferIndex = mMeidaCodec.dequeueInputBuffer(2000); always return -1. test url :rtsp://218.204.223.237:554/live/1/66251FC11353191F/e7ooqwcfbqjoo80j.sdp, also tested for my rtsp url in my local wifi. Look forward your reply ! Thanks

htwahzs commented 8 years ago

MediaCodec can only be used after android 4.1