I'm building the player on an app that has tokenization implemented on the net connection that looks something like this:
Net Connection: rtmpe://subdomain.domain.com/vod/?auth=SoMeToKeNkEy&aifp=v001&slist=Video/
or more accurately from my SMIL (that I'll probably need to parse)
Combined in SMIL: rtmpe://subdomain.domain.com/vod/?auth=SoMeToKeNkEy&aifp=v001&slist=Video/<brea k>Video/myVideo
I've been trying to figure out how to get something like this to play in OSMF. With OVP I was able to provide these guys as two separate values to make the connection, but I haven't seen a good way to do that in OSMF. URLResource only takes one parameter, which would be the combined string. When I try passing it that way, the URL gets improperly broken up at /vod/ instead of after the query. I see that there is/was an FMSURL class, but I haven't figured out how to actually implement it, and even if I do, it still appears to only take the 1 param.
Any suggestions? Thanks in advance!
Try using StreamingURLResource, and setting the urlIncludesFMSApplicationInstance property to true.
This should work fine since the connection logic in OSMF passes all query params. That looks like an Akamai token and slist, but this will play fine without the Akamai plugin loaded since it's a vod stream. Take a look at the AkamaiPluginSample Flex app, it loads and plays a stream with a connection auth token in the query string.