Go
Not registered? Sign up!

Determing NSV Stream

Google Translate
5 posts | return to the JavaScript Interaction forum | get the rss feed for this thread

Jun. 27, 2009RW

Hi, I have a list of audio stream URLs. However some of them are NSV streams and some are not.

In order to get the NSV streams to work I need to add the string: '/;nsv' to the end of the URL.

I would like to know if there is a way for me, or the player, to determine if the stream is a NSV stream somehow? From what I see, the player does not have this capability.

Thanks in advance for any help.

Jun. 27, 2009lost

The player cannot detect the type of the stream.

When you are compiling your playlist, simply go to the mount point in your browser and it will tell you what type of stream it is.

Shoutcast example: http://broadband.eve-radio.com:8000/

Jun. 27, 2009RW

Thats what I was afraid of. So I would have to grep the HTML code from the mount point and search for the string 'shoutcast' if I wanted to determine this through some type of script?

Jun. 27, 2009RW

Also, would you happen to know if the player will be adding in an auto detection for nsv streams in the future?

Jun. 27, 2009lost

Yes, your playlist generator script would have to check the HTML returned by the mount point to determine the type of stream.

I doubt that the stream type detection will ever be added to the player, since that's not a mainstream use. Just MY opinion.

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.