Giter Club home page Giter Club logo

ccn-vlc-accessmodule's Introduction

CCN-VLC-AccessModule

The CCN 1.0 version of the VLC access module that enables streaming of movies over CCN

This code was tested against the VLC-2.1.6 [1] using gcc-4.8 and g++-4.8. Using significantly later versions (e.g. 2.2.4) will cause compile errors, as there were VLC API changes (and it also requires gcc-5).

You should generally follow the instructions in src/README.install. The differences are:

  • Use VLC-2.1.6 [1].
  • You may use the Athena forwarder, rather than metis. Either should work.
  • Use CCNx_Distillery/usr/bin/ccnxSimpleFileTransfer_Server instead of CCN-Tutorial-Demo and tutorial_Server.
  • Use "ccnx:" everywhere instead of "lci:" in URI.
  • The instruction on how to use ln -s was incorrect and causes a bad link to be placed in the VLC plugin/access directory. Please remove the bad link and use the updated command ln -s /home/USERNAME/CCN-VLC-AccessModule/src/libaccess_ccn_plugin.so /home/USERNAME/VLC-Built/lib/vlc/plugins/access/libaccess_ccn_plugin.so

To use ccnxSimpleFileTransfer_Server:

  • Compile CCNx_Distillery following its instructions.
  • Create a directory with a movie in it, e.g. BigBuckBunny [2].
  • Start the server (after metis or athena). Note that the VLC plugin hard-codes the namespace ccnx:/ccnx/tutorial so we need to use that.
USERNAME@sautte:~$ CCNx_Distillery/usr/bin/ccnxSimpleFileTransfer_Server -l ccnx:/ccnx/tutorial -s 1200 ~/movies
Server Configuration: 
  namePrefix:    [ccnx:/ccnx/tutorial]
  doPreChunk:    [false]
  directoryPath: [/home/USERNAME/movies]
  chunkSize:     [1200]
  beVerbose:     [false]
ccnxSimpleFileTransfer_Server: now serving files from /home/USERNAME/movies
  • In a new terminal, verify the server is operating:
USERNAME@sautte:~$ ./CCNx_Distillery/usr/bin/ccnxSimpleFileTransfer_Client -l ccnx:/ccnx/tutorial list
Client Configuration: 
  namePrefix:    [ccnx:/ccnx/tutorial]
  doSaveToDisk:  [true]
  beVerbose:     [false]

  Command: [list] []

Directory Listing follows:
  BigBuckBunny_320x180.mp4  (64657027 bytes)
45 bytes transferred in 8 ms (0.005 MB/sec)
  • You can then try the VLC plugin:
VLC-Built/bin/vlc ccnx://BigBuckBunny_320x180.mp4

NOTE: You must use two "//" forward slashes here, otherwise VLC will try to use a local file path.

  • If you have problems, try running metis with debugging: CCNx_Distillery/usr/bin/metis_daemon --log processor=debug and it will show you the URI names in the Interest messages.

ccn-vlc-accessmodule's People

Contributors

mmosko avatar

Watchers

Spencer Tom Tafadzwa Chirume avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.