跳转至

小米电视访问电脑视频

动机

一台电脑上下载了许多视频,如何优雅地在其它设备上(其它电脑、平板、电视)上直接访问播放该视频呢?

what I need

  • 平板,笔记本等可以安装 wireguard 的设备,可以访问台式共享的文件夹
    • 已经实现
    • 使用 wireguard + SMB + VLC
    • 小米电视能不能装 wireguard?
      • 装 VLC 失败
        • 使用 adb 安装?报错
          • INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn't have a native library for your cpu architecture. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.
      • 安装 wiregurad 成功
        • 访问文件系统有 bug(无法导入配置,因此需要接上键盘鼠标)
        • 手动输入配置后,显示连接上了。但是 wireguard 状态中接收的流量只有几百 B。然后使用 kodi 连接不上 SMB
  • 一个正常能 ipv6 上网的设备就能访问台式共享的文件夹(比如小米电视)
    • 输入 ipv6 太麻烦
      • 台式机配置 ddns
        • 使用 freedns 中的 crontab 脚本 (v2),添加到 windows 定时任务中
        • 223.5.5.5 需要过个几分钟才会生效
        • 8.8.8.8 则生效很快
        • 将电脑 dns 添加 8.8.8.8 作为备用 dns
      • 或路由器配置 ipv6 端口转发(路由器已经配置 ipv6 ddns)
        • 还未研究
    • SMB 是否支持 ipv6
      • windows 文件管理器中无法输入 ipv6 的冒号
        • 使用.ipv6-literal.net方式解决
        • 域名是可以的