Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Need help] rtmp流经过重定向处理之后无法正常播放了 报错301:No default whitelist set #294

Open
504254103 opened this issue Oct 11, 2021 · 0 comments
Labels
help wanted Extra attention is needed wait confirm Waiting for developer confirmation

Comments

@504254103
Copy link

后端最近升级了架构 进行了重定向操作后无法播放
后面发现是重定向前后的ip地址相同导致的 如果更换ip则可以正常播放

Status 301: Redirecting to rtsp://xx.xx.xx.xx:xxxxx/delivery_rtsp/2_0_70778/
No default whitelist set
使用了一下方法均无效

  1. ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "dns_cache_clear", 1);
  2. ijkMediaPlayer.setOption(IjkMediaPlayer.OPT_CATEGORY_FORMAT, "protocol_whitelist", "concat,http,tcp,https,tls,file");
    各位大佬有没有解决的办法
@504254103 504254103 added help wanted Extra attention is needed wait confirm Waiting for developer confirmation labels Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed wait confirm Waiting for developer confirmation
Projects
None yet
Development

No branches or pull requests

1 participant