22 May '13 - 07:54
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
WMA stream status
Pages: [
1
]
« previous
|
next »
Reply
|
Print
Author
Topic: WMA stream status (Read 1596 times)
ken
Posts: 630
WMA stream status
«
on:
7 Dec '05 - 07:55 »
Quote
How can I read the status of playing an internet stream (WindowsMedia) ?
In Microsoft mediaplayer there is an event "PlayStateChange" this is what I need, to get status on BASS if it: plays,buffer,is stopped, no connection.
Any ideas? I code in C#
Logged
radio42
Posts: 4012
Re: WMA stream status
«
Reply #1 on:
7 Dec '05 - 10:22 »
Quote
Take a look to the BASS .NET C# sample called "NetRadio" that displays 'buffers', stream tags etc. - should be all you need?!
Logged
ken
Posts: 630
Re: WMA stream status
«
Reply #2 on:
7 Dec '05 - 12:58 »
Quote
I have tested "NetRadio" example (works fine) but I only get buffering info. The tags only work on mp3 stream like shoutcast. I get no info when connecting to a WMA stream.
I have no need for tag info (like artis, title) I only need streaming status, so I can reconnect if I loose the stream from the WMA encoder/server.
Thanks!
Logged
radio42
Posts: 4012
Re: WMA stream status
«
Reply #3 on:
7 Dec '05 - 13:17 »
Quote
Quote
I only need streaming status, so I can reconnect if I loose the stream from the WMA encoder/server
But the you can simply use BASS_ChannelIsActive ?!
Logged
Ian @ un4seen
Administrator
Posts: 15259
Re: WMA stream status
«
Reply #4 on:
7 Dec '05 - 13:22 »
Quote
You can also use a STALL sync (BASS_ChannelSetSync) to be notified when playback stalls/resumes, and an END sync will tell when it's ended.
Logged
ken
Posts: 630
Re: WMA stream status
«
Reply #5 on:
7 Dec '05 - 15:26 »
Quote
Thanks! I will try that.
Logged
ken
Posts: 630
Re: WMA stream status
«
Reply #6 on:
7 Dec '05 - 15:57 »
Quote
It works!
Both methodes works fine.
Now another question. Can I get info about the WMA stream? I like to get the "K Bit/s" value.
Logged
Pages: [
1
]
Reply
|
Print
Un4seen Developments Forum
>
Developments
>
BASS
> Topic:
WMA stream status
« previous
|
next »
Jump to:
Please select a destination:
-----------------------------
Developments
-----------------------------
=> BASS
=> XMPlay
=> MO3
-----------------------------
Off Topic
-----------------------------
=> General Discussion
Loading...