Hi Nicolas,

On Wed, Jun 17, 2020 at 11:37:00 +0200, Nicolas VAMBAIRGUE wrote:
> So I tried the couple :
>
>      ffmpeg -i http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac
> 2 -f rtp -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234
>
> and
>
>      ffplay /home/dr_click/audio.sdp
>
> I got the following error :
>
> - [rtp @ 0x7f7d00008040] Protocol 'rtp' not on whitelist 'file,crypto'! if
>
>
> And if I finally tried :
>
>      fmpeg -protocol_whitelist file,http,rtp,tcp -i
> http://199.180.75.118:80 -acodec pcm_s16le -ar 44100 -ac 2 -f rtp
> -sdp_file /home/dr_click/audio.sdp rtp://127.0.1.1:1234
>
> But I get the same "whitelist" error.

(As Carl Eugen wrote, please also show the complete, uncut console
output.)

The "Protocol 'rtp' not on whitelist" was an ffplay error, so you need
to add those options to the client ffplay command line, not to the
server's. (You may also need the protocol "udp".)

I can reproduce your error. If I add that option (plus "udp") to
ffplay, the error goes away. I get a different issue then, but YMMV.

Regards,
Moritz
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to