in providerService.java

file = scope.getResources(getStreamFilename(scope, name))[0]
                    .getFile();
            log.info("INFO: " + getStreamFilename(scope, name));
            log.info("INFO: " + file.getPath());

first returns from filenamegenerator of

/www/streams/thefile.flv

second one returns

/www/red5/webapps/application/www/streams/thefile.flv


definitely in scope.getResources !


Dan Rossi wrote:
> I may need to know where this is called from
>
> getStreamFilename
>
> which would load the filenamegenerator bean, providerservice seems to 
> load the default one.
>
> Its definitely something to do with the resource loader on the scope.
>
> Dan Rossi wrote:
>   
>> Is someone able to tell me where the filenamegenerator is called to get 
>> the filename path for playback, we need to fix the resource path issue 
>> once and for all :)
>>
>>
>> Dan Rossi wrote:
>>   
>>     
>>> I think this is similar to what i may need in FMS
>>>
>>> <FileObject>
>>>             <!--
>>>             
>>> <VirtualDirectory>/flashapps;C:\dev\Code\Flash\tincan\flashapps\</VirtualDirectory>
>>>             -->
>>>         </FileObject>
>>>
>>> Dan Rossi wrote:
>>>   
>>>     
>>>       
>>>> It seems the junction tool cannot remap a network drive to the local 
>>>> file system. I think im stuck for a solution.
>>>>
>>>> We are possibly moving to a SAN which we'll need to move the gigs of 
>>>> video over to, load it via a network drive and map to the streams 
>>>> directory inside the VOD application because of the limitation of 
>>>> setting the path for playback.
>>>>
>>>> Please let me know.
>>>>
>>>> Dan Rossi wrote:
>>>>   
>>>>     
>>>>       
>>>>         
>>>>> Hi i was wondering if this is possible ? So a different path setting for 
>>>>> sub scopes.
>>>>>
>>>>> We'll still have to use junction to link the external path into the 
>>>>> webapp though.
>>>>>
>>>>> Let me know thanks.
>>>>>
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> [email protected]
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>   
>>>>>     
>>>>>       
>>>>>         
>>>>>           
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> [email protected]
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>   
>>>>     
>>>>       
>>>>         
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>   
>>>     
>>>       
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>   
>>     
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>   


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to