User talk:Falk Bergman/Patching it so that llLoadURL opens the F1 Help Browser
Jump to navigation
Jump to search
- Seconded SignpostMarv Martin 07:51, 9 January 2007 (PST)
- Streaming media urls can be implemented in this manner by making use of string concatenation, e.g. llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_URL,'http://' + (string)llGetOwner() + ':' + stringVar__password + '@icecast.example.com:8000',PARCEL_MEDIA_COMMAND_AGENT,llGetOwner()]); SignpostMarv Martin 07:51, 9 January 2007 (PST)
- The problem with this, is that doing this via serverside script is that there's only one media URL, and you'd be connecting to it with the owner's key -- What is wanted is each individual client responds with it's own key. For instance, integrating a "Who is listening in SL" to an icecast server. Each connected client supplies it's own key/name via rewriting, and a name2key/key2name DB displays each individually connected user's SL information. Kamilion Schnook 20:35 Jan 8, 2007 PST
- Using the PARCEL_MEDIA_COMMAND_AGENT, I'm told you can give each agent their own stream to listen to. So you could do the user method, or more likely, append a query string, e.g:
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_URL,'http://' + (string)llGetOwner() + ':' + stringVar__password + '@icecast.example.com:8000',PARCEL_MEDIA_COMMAND_AGENT,llGetOwner()]);
- SignpostMarv Martin 03:31, 10 January 2007 (PST)
- Using the PARCEL_MEDIA_COMMAND_AGENT, I'm told you can give each agent their own stream to listen to. So you could do the user method, or more likely, append a query string, e.g:
Barriers to Implementation
- Unless the LSL2 VM starts supporting optional parameters, you risk breaking thousands of scripts
- Workaround: Prefix urls with ubrowser:, e.g. ubrowser:http://example.com, which will result in the dialog box indicating that the url will open inside the client.
- Alternative Workaround: Clientside rewriting only, for connecting to media URLs