Jump to content

Streaming Api Changes


Recommended Posts

Posted

In order to solve some issues with windows media player, and hopefully android, you now specify the type of audio/video format you want using file extensions.

 

For example, if you want to stream an audio file in mp3, the url is /audio.mp3?.....

 

Here's a full breakdown of the changes:

 

Audio:

 

- No more audioCodec param. Specify the type you want using the file extension

- If you want the original file streamed statically, use the original file extension along with the param static=1 or static=true

 

Video:

 

- No more container param. Specify the type you want using the file extension

- If you want the original file streamed statically, use the original file extension along with the param static=1 or static=true

Posted

Scott, here's what you need to do with ApiClient:

 

Audio:

 

- Omit the AudioCodec value from StreamOptions

- Supply OutputFileExtension

- Additionally supply Static, if desired

 

Video:

 

- Omit the VideoContainer value from StreamOptions

- Supply OutputFileExtension

- Additionally supply Static, if desired

Redshirt
Posted

I've implemented the changes, everything is playing just fine.

Posted

Great news Red, can't wait to try it out.

ScottIsAFool
Posted

Changes applied, all still up and running :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...