How to publish the feed of HLS for existing Application

Dear Adobe community,

I am currently working on an application webstream Dynamics where several people can start their own stream. They connect to our custom AMS Application (lets say "camchat").

Now, I want to publish the flow of mobile loans as well as for each stream. I had this works while Streaming on the OUT directly to the 'livepkgr' Application, but not to my own "camchat.

I'm not sure, how do I have to get my custom application ("camchat") published ready streams of HLS as well?

Is that possible or I always use the default "livepkgr" app? If so, what is necessary to combine my application to provide water on the application of livepkgr courses.

I hope you got my point.

Thanks in advance,

Patrick

So finally I managed to do the work by myself, but I want to spread the 'solution' because as I said there is not a lot of topics about this special needs. So maybe it will help someone else:

1. my main.asc was indeed correct:

  1. application.onPublish = function (client, streamObj)
  2. {
  3. var s = Stream.Publish ("f4f:" + streamObj.name)
  4. var s = Stream.get (streamObj.name)
  5. if(client.ID == 221) {}
  6. application.mobilenc = new NetConnection();
  7. application.mobilenc.Connect ("rtmp://xxxxxxxxx/livepkgr/");
  8. application.mobilenc.onStatus = {function (info)}
  9. trace (info.code + "livepkgr");
  10. If (info.code == "NetConnection.Connect.Success") {}
  11. application.mobilens = new NetStream (application.mobilenc);
  12. application.mobilens.setBufferTime (3);
  13. application.mobilens.Attach (streamObj);
  14. application.mobilens.Publish ("livestream2? (ADBE-Live-Event = myliveevent","Live");
  15. }
  16. }
  17. }
  18. }

2. the server side I had to remove my generated previous to Liveevent records. However, after the removal of these materials, the flow worked as expected.

3. I think that the problem is that my custom application does not care about the cancellation of liveevent livepkgr as it should. So I'm going to come and some do not clean ups and take care of the correct publication cancelled.

4. also, I have to set up a way to give names of single stream - maybe this will help so instead of using the same eventname all the time during the test. Never the less, thanks to Joseph for your help!

Best, patrick

Tags: Adobe Media Server

Similar Questions

Maybe you are looking for