stream Aliasing rtmp custom flash player
Hi,
I am struggling to figure out how to get stream aliases to work and I am not finding the documentation very helpful.
My app allows broadcasters to broadcast their webcam live. Each broadcaster will have many viewers.
– The broadcaster can either broadcast with my custom built flash player or with a thirdparty application like xsplit/obs/wirecast.
– I don’t want localStreamName or aliasName to change all the time. I think I will give broadcasters the ability to change their localStreamName (by random generated values) and I will also add functionality which periodically changes localStreamNames/aliasName for all users (Maybe once a week or month).
– I have added to key values to my database, one for the localName, one for the alias.
What is unclear to me is at what point and how do I tell EMS about the stream alias? I can’t see how I can pass localStreamName/alias name within my flash player and even if I could it wouldn’t also apply to third party apps.
In your EMS-User-Guide.pdf you mention semi-sticky aliases and I think this may be what I am after but that document points to your web services document and there is no mention of stream aliasing in there.
So to sum up:
What part of my applicaton needs to inform EMS about the alias and when? Or can EMS itself make a call to my app and I would send the alias?
——
Additionallu if I make an api call for the addStreamAlias I am getting a fail status even though I can see the stream and it also shows up in the EMS_Web_UI.
Going to this url:
http://127.0.0.1:7777/addStreamAlias?lo … Name=Paul2
Returns this json:
{"data":null,"description":"Syntax error. Parameter localStreamName is invalid","status":"FAIL"}
Why is this? (I have changed hasStreamAliases to true in config.lua by the way).
I am on Windows 7 64 bit EMS 64bit