This is a message.

streaming audio + secure streaming plugin -- can they be used together? Created May 28, 2009

This thread is solved

Views: 4126     Replies: 11     Last reply Nov 2, 2010  
You must login first before you can use this feature

becca

Posts: 6

Registered:
May 28, 2009

streaming audio + secure streaming plugin -- can they be used together?

Posted: May 28, 2009

I am trying to use both the secure streaming and the audio plugins. Both plugins work when I use them independently but when I try to use both of them at once the player will not play an mp3 file. (The site on which I am installing the player is an RoR site.)

I am using configuration:


<script language="JavaScript"> 
	  flowplayer("player", "/bin/flowplayer/flowplayer-3.1.0.swf",
	    { 
		    plugins: { 
				audio: { 
		            url: '/bin/flowplayer/flowplayer.audio-3.1.0.swf' 
		        },
				secure: { 
					url: '/bin/flowplayer/flowplayer.securestreaming-3.1.0.swf',
					timestamp: '<%= "%08x" % Time.now.to_i %>', 
					token: 'my-token'
				}
		    }, 
		    clip: { 
			    urlResolvers: 'secure',
				baseUrl: '/secureaudio'
		    } 
	      });
</script>

The player is installed on the page with:


<a 
	href="<%= audio_file.id %>" 
    style="display:block;width:425px;height:300px;" 
    id="player"> 
  </a>

When the file is a .flv it plays correctly. When it is a .mp3 file I get the following error in the player (copied by hand off the player). (I have omitted the hashed part of the url from the error but it is the correct url. That url is received by the server, checked appropriately, and the actual url of the mp3 file is correctly returned to the player. If I load the path to the mp3 file directly in another browser window, it finds the files and plays it.)


200, StreamNotFound, NetStream.Play.StreamNotFound, clip: '[Clip] 'secureaudio/...

I have not yet tried to go through the source code of the plugins to locate the problem. I'm hoping someone may have an idea of what would be causing and be able to point me in the right direction. Any help is greatly appreciated.

cahimira

Posts: 4

Registered:
Jun 18, 2009

The same problem for my

Posted: Jun 18, 2009

Reply to: streaming audio + secure streaming plugin -- can they be used together? , from becca
I have the same problem, any solution about this?

becca

Posts: 6

Registered:
May 28, 2009

fixed with some work...will post solution...

Posted: Jun 23, 2009

Reply to: The same problem for my, from cahimira
I was able to solve this problem by modifying the audio plugin. The problem was that it was not using the urlResolvers that were specified. That is, in the load() method, it was just loading the url directly. In order to fix this I added the function resolveClipUrl which I call from in the load function. The callback for resolveClipUrl, onClipUrlResolved, actually loads the sound. I followed the structure for resolving clips used in NetStreamControllingStreamProvider.

I am intending to post or submit my solution when I have chance...

cahimira

Posts: 4

Registered:
Jun 18, 2009

binary patched

Posted: Jun 29, 2009

Reply to: fixed with some work...will post solution..., from becca
Hi, great!

You can upload the flowplayer.audio-3.1.0.swf patched version ?

I don't have Adobe Flash for compile.

Thanks.

jose

Posts: 1

Registered:
Jul 1, 2009

error when playing audio protected

Posted: Jul 1, 2009

Reply to: binary patched, from cahimira
error when playing audio protected
hello buy a license for your system but can not use it because as discussed here is not possible to play with a security system failure there a bug, I want to know if this problem is resolved soon or we will not use this system if I can return the payment amount and we look for another system, thanks

cahimira

Posts: 4

Registered:
Jun 18, 2009

please post the solution

Posted: Jul 11, 2009

Reply to: fixed with some work...will post solution..., from becca
please post the solution for fix the problem

kkircher

Posts: 6

Registered:
May 5, 2009

Secure audio fix

Posted: Aug 27, 2009

Reply to: fixed with some work...will post solution..., from becca
Hi, Can you please post how you fixed the secure audio problem? I have been looking at this for a long time and waiting for a fix.

Thanks in advance.

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» Secure audio fix

Posted: Aug 27, 2009

Reply to: Secure audio fix, from kkircher
I will be working to fix this for the next flowplayer release.

Anssi

rchari

Posts: 9

Registered:
Oct 12, 2009

» » Secure audio fix

Posted: Oct 25, 2009

Reply to: » Secure audio fix, from Anssi
Hi Anssi
Is this available now in flowplayer? I am using flowplayer version 3.1.3 with audio plugin 3.1.2
RC

Anssi
Flowplayer Flash & video streaming developer

Posts: 1197

Registered:
Jul 24, 2007

» » » Secure audio fix

Posted: Nov 2, 2010

Reply to: » » Secure audio fix, from rchari
This works in the latest 3.2.1 version of the audio plugin.

adimn

Posts: 5

Registered:
Sep 14, 2009

» fixed with some work...will post solution...

Posted: Sep 14, 2009

Reply to: fixed with some work...will post solution..., from becca
Any solutions or fixes yet or any alternatives i could look into?

hachris

Posts: 2

Registered:
Jul 8, 2010

» streaming audio + secure streaming plugin -- can they be used together?

Posted: Nov 1, 2010

Reply to: streaming audio + secure streaming plugin -- can they be used together? , from becca
Hi becca,

if you get your secure streaming to function - could you introduce the plugin for us as well?

Hope you get the message soon
many regards
Hanna