mandyGao / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

RTMP streaming problems #492

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Samuel, it's been almost 2 week since I am trying to stream video from 
Android device to server using RTMP.

I tried to use your RecordActivity example, but there is avio_open() error -5

Also, I tried to use this example:
https://github.com/vanevery/JavaCV-0.5-Stream-Test
As I see, it is based on RecordActivity, maybe with some .so files changed.
The only thing I changed was the ffmpeg_link.
I used this one:
rtmp://p.simpalsmedia.com/playmd/5f4143d1-84d8-498c-ae13-6ff9cec48672?token=bc89
80769d1880d10b0f06691b51370b3581fd1436f7dcbc497722e8b7654622a170f450d629bac0b892
34dd1f2ab2bfbf7ceb70a49e1e9756bb9391d578005277a65aec606f394e363588500f0a4dbb5c3e
fd5eae849e532281c5ab0fa3b709330c080970083fc656f0570b5cad4d6aa77e2f3cf1944be51065
d4eaa0a057dab42ae05cb889deeb6b5957eba0c95ac112aa71652e7bab05a0270c72f0ecfd70dbc6
829063d5d19fc5e98d73f921a76e&channel_id=&chat_room_id=5f4143d1-84d8-498c-ae13-6f
f9cec48672&title=Testinggg

Still the same avio_open() error -5

Can you tell me what this error code means?
Also, do you have any ideas what is wrong with this link?

Original issue reported on code.google.com by genian...@gmail.com on 6 Nov 2014 at 3:28

GoogleCodeExporter commented 8 years ago
PLAYPATH_MAX_LENGTH is too small
https://github.com/bytedeco/javacv/issues/51
https://trac.ffmpeg.org/ticket/4103

Original comment by samuel.a...@gmail.com on 15 Nov 2014 at 11:41