MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    如何使用Java发本地视频

    开发交流
    2
    2
    271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jiangdengke last edited by

      萌新求助

      1 Reply Last reply Reply Quote 0
      • D
        delay last edited by

        new Thread() {
        @Override
        public void run() {
        File file = new File(filePath);
        FileInputStream fileInputStream = new FileInputStream(file);
        group.getFiles().uploadNewFile("xxx.mp4",
        ExternalResource.create(fileInputStream));

                        }
                    }.start();
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact