Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
禁用 rtsp 身份验证时,videoview 运行良好。但出于安全问题,不能禁用身份验证。那么有没有办法通过身份验证播放 rtsp 流?
你需要rtsp://User:Password@Server
rtsp://User:Password@Server
不可以。您不能将 VideoView 与经过身份验证的 RTSP 一起使用,即使是 rtsp://User:Password@Server。它行不通。可以在 android 上使用经过身份验证的 RTSP,但这很难,而且您必须自己做很多事情。