26 May '13 - 10:15 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: WMA streaming  (Read 1871 times)
Lunchbox4eva
Posts: 21


« on: 27 Jan '04 - 08:06 »
Reply with quoteQuote

Want to get streaming working......tried the WMA live example.. appers to run..but then HOW do I get Media player to hook up to it..i have no idea what address etc to put in to connect to it!!! Probabl obvious! Oh and secondly.... the bit where it loads BASS.dll ( v 2....) It sayd it cant coz the verson is wrong...however...it seems to return a huge number not 2!!! ANd it still appears to work!!!!! HELP!!!
Logged
twix
Posts: 15


« Reply #1 on: 27 Jan '04 - 08:33 »
Reply with quoteQuote

To hook up your media player to the wmalive example just go to File - open and type in the IP address of your machine, if you are testing it from the same machine that's running wmalive than you can use 'localhost'. you will also have to specify the port wmalive is using so it might be something like "localhost:80"
Logged
Lunchbox4eva
Posts: 21


« Reply #2 on: 28 Jan '04 - 08:32 »
Reply with quoteQuote

tried that..ie typed localhost:1043 and media player just threw a cant find file error. Im assuming in WMA test that the port number listed is the correct one? HELP!!!!!!!


Oh and i STIL get a number like 523487 ( or something like ) from the GetVersion call!!!!!
Logged
(: JOBnik! :)
Posts: 984


« Reply #3 on: 28 Jan '04 - 12:24 »
Reply with quoteQuote

Hi Grin

You can do it like that:

* Start broadcasting with WMALive
* In Media Player - Open URL
* Type: http://xxx.xxx.xxx.xxx:port
* IP = your IP address
* Port = The one that WMALive is connected to (it shows)

Now about getting BASS version:

* The version that returned is not an Integer
* Returned is: MAKELONG(2,0);
* To check the version:

if (BASS_GetVersion() != MAKELONG(2,0)){
... error not a bass 2.0 ;)
}
Have fun!

Cool JOBnik! Cool
« Last Edit: 28 Jan '04 - 12:33 by (: JOBnik! :) » Logged
Irrational86
Posts: 960


« Reply #4 on: 28 Jan '04 - 21:45 »
Reply with quoteQuote

the WMA streams are NOT http, use mms://localhost:port/
Logged
(: JOBnik! :)
Posts: 984


« Reply #5 on: 29 Jan '04 - 07:57 »
Reply with quoteQuote

Hi Grin

Works for me with HTTP Tongue Wink

Have fun!

Cool JOBnik! Cool
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines