Jump to content
  • 0

antmedia html/php?

Ray Jender


Antmedia is runing on port 5443

I have php/mysql installed and apache webserver running on port 80.
How can I access the php/mysql from the antmedia index.html file?

Since antmedia was using jQuery I have tried this in the index.html file :  $.post('/var/www/html/poststreamID.php', { stream: + streamId });

But I get this response in the console:

I am hiding my url for now.  I don't want people browsing it at this time.

Note that the broadcast side works at this point.  Now I need to get the viewer side  to work.

What I am doing is changing the default streamID to a 11 character random value (green arrow). I may expand this to a larger random value. Maybe 20 characters.
I need to store it so a viewer can retrieve it and watch the live stream.  So basically changing from a default or manual process to automatic.  When a viewer
browses to the site, the video will play the streamID that was stored by the broadcaster rather then the default value in "streamName".

Any ideas?


Link to comment
Share on other sites

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts


  • Create New...