JMF Manager.createDataSource() and Resource URLs

Discussion in 'Java' started by Dan Weber, Dec 26, 2004.

  1. Dan Weber

    Dan Weber Guest

    Currently I am getting a URL from Class.getResource() for a wav file in
    the same directory.

    So here is what happens:

    If I feed Manager.createDataSource from JMF the Resource URL it fails
    and says unable to locate Data Source

    If I feed Manager.createDataSource a url to a webserver with the same
    file it works fine.

    How can I work around this?

    Dan
    Dan Weber, Dec 26, 2004
    #1
    1. Advertising

  2. Dan Weber

    Dan Weber Guest

    Dan Weber, Dec 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dirc Khan-Evans
    Replies:
    1
    Views:
    887
    Karl Seguin
    Oct 17, 2005
  2. Kaidi
    Replies:
    5
    Views:
    458
    Andrew Thompson
    Jan 4, 2004
  3. Replies:
    1
    Views:
    740
    Andrew Thompson
    Jul 20, 2006
  4. Replies:
    0
    Views:
    320
  5. Replies:
    0
    Views:
    2,319
Loading...

Share This Page