[FFmpeg-devel] RTMP Write on Android Phone
Kostya
kostya.shishkov
Thu Feb 4 11:33:51 CET 2010
On Thu, Feb 04, 2010 at 10:45:08AM +0100, Nicolas Mivielle wrote:
> Yes, you're right, it's just a client but you can publish RTMP stream with
> ffmpeg.
>
>
>
> So, I've found a solution to my problem :
>
>
>
> there is a problem with Android in the function "rtmp_calc_digest" from
>
> rtmpproto.c
>
>
>
> particulary when this function call the "av_sha_final()" from sha.c
>
> in the libavutil...
>
>
>
> I don't know exactly what happens... but this function seems to crash
> Android
>
> with "bus error" (maybe a wrong alignement?)
Could be so, probably
((uint32_t*)digest)[i] = be2me_32(ctx->state[i]);
line (322 in libavutil/sha.c)
More information about the ffmpeg-devel
mailing list