<div dir="auto"><div>Dear folks</div><div dir="auto"><br></div><div dir="auto">Thanks for the mention.</div><div dir="auto">Yes, I operate <a href="https://pushups.ndn.today">https://pushups.ndn.today</a> , the largest video website on the NDN network.</div><div dir="auto">The server component is <a href="https://github.com/yoursunny/NDNts-video-server">https://github.com/yoursunny/NDNts-video-server</a> .</div><div dir="auto"><br></div><div dir="auto">It is possible to connect a server into an NFD/YaNFD instance running in a Mininet container.</div><div dir="auto">Specifically, you'll want to make the server connect to the Unix socket of NFD/YaNFD, by putting the Unix socket address in .env file, like this:</div><div dir="auto">NDNTS_UPLINK=unix:///run/nfd.sock</div><div dir="auto">It is unnecessary to obtain certificates in this setup.</div><div dir="auto"><br></div><div dir="auto">The client component relies on Shaka Player, and it can only run in a real browser.</div><div dir="auto">It isn't possible to run the client in Mininet container.</div><div dir="auto"><br></div><div dir="auto">@FAT32 on LowEndTalk community made a script that re-exports NDN network as an HTTP server, and then calls youtube-dl to download a video.</div><div dir="auto"><a href="https://www.lowendtalk.com/discussion/comment/3236214/#Comment_3236214">https://www.lowendtalk.com/discussion/comment/3236214/#Comment_3236214</a></div><div dir="auto">You may be able to adapt his script so that it connects to an NFD/YaNFD instance instead of the testbed, and then call youtube-dl in the same way.</div><div dir="auto">However, the traffic pattern of video downloading differs from video streaming.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regarding ndnputhunks: one caveat of this app is that, it will buffer all packets in memory. If you serve a 1GB file, it consumes more than 1GB RAM.</div><div dir="auto">I have an alternative ndn6-file-server in <a href="https://github.com/yoursunny/ndn6-tools">https://github.com/yoursunny/ndn6-tools</a> .</div><div dir="auto">It can serve a folder of files. It generates each packet on demand when an Interest arrives, but does not buffer any packet. Thus, it's able to serve files larger than your memory, but it's slower than ndnputchunks for answering each Interest.</div><div dir="auto">However, you can't write to the folder when ndn6-file-server is serving, or the program could crash.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Jul 29, 2021, 20:11 Philipp Moll <<a href="mailto:phmoll@cs.ucla.edu">phmoll@cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p>
    <p>Hi Jiacheng,</p>
    <p>Thanks for dropping a message. In MiniNDN, you can basically use
      any headless NDN application you want. MiniNDN just starts the
      application using a bash-command. But I think answering your
      question becomes easier when knowing more details about what you
      want to achieve. Publishing and retrieving large video files could
      be interpreted in many ways.</p>
    <p>If you simply want to handle those large video files as large
      files, we have tools like ndncatchunks and ndnputchunks to
      publish/consume files from the file system:
      <a href="https://github.com/named-data/ndn-tools/tree/master/tools/chunks" target="_blank" rel="noreferrer">https://github.com/named-data/ndn-tools/tree/master/tools/chunks</a><br>
    </p>
    <p>When you want to emulate something like Dynamic Adaptive
      Streaming over MiniNDN, it might be good to use something like a
      DAS dataset that already has pre-computed video-segments (here's
      one example dataset: <a href="https://dash.itec.aau.at/dash-dataset/" target="_blank" rel="noreferrer">https://dash.itec.aau.at/dash-dataset/</a>). To
      retrieve these segments, you might use emulated video streaming
      clients that retrieve the pre-computed segments based on some
      adaption logic..<br>
    </p>
    <p>Junxiao did some recent work on video streaming. He has streaming
      publishers and clients available for TypeScript. See here:
      <a href="https://github.com/yoursunny/NDNts-video" target="_blank" rel="noreferrer">https://github.com/yoursunny/NDNts-video</a></p>
    <p>Without having tried, but since those are TypeScript clients,
      they should also work in MiniNDN. At least the producer should
      run, and maybe Junxiao also has a headless consumer that can be
      used with MiniNDN.</p>
    <p>But as I said first, it really depends on what you want to do.<br>
    </p>
    <p>Best,<br>
      Philipp<br>
    </p>
    <div>On 7/29/21 4:26 PM, JIACHENG HOU via
      Mini-NDN wrote:<br>
    </div>
    <blockquote type="cite">
      
      
      
      <div>
        <p class="MsoNormal">Hi, Mini-NDN teams,<u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">Before I tried generating a bunch of
          traffic using ndn-traffic-generator. However, it seems that
          the ndn-traffic-generator is not suitable for publishing and
          retrieving large video files.
          <u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">I am wondering are there any recommended
          tools to generate a lot of traffic for video files in
          Mini-NDN?<u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">Thanks for your help.<u></u><u></u></p>
        <p class="MsoNormal"><u></u> <u></u></p>
        <p class="MsoNormal">Best wishes,<u></u><u></u></p>
        <p class="MsoNormal">Jiacheng<u></u><u></u></p>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Mini-NDN mailing list
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank" rel="noreferrer">Mini-NDN@lists.cs.ucla.edu</a>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" target="_blank" rel="noreferrer">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
Mini-NDN mailing list<br>
<a href="mailto:Mini-NDN@lists.cs.ucla.edu" target="_blank" rel="noreferrer">Mini-NDN@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn" rel="noreferrer noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a><br>
</blockquote></div></div></div>