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".
Question
Ray Jender
Link to comment
Share on other sites
Top Posters For This Question
1
1
Popular Days
Jul 12
1
Oct 29
1
Top Posters For This Question
Ray Jender 1 post
Moritz Bastian1648581703 1 post
Popular Days
Jul 12 2019
1 post
Oct 29 2020
1 post
Posted Images
1 answer to this question
Recommended Posts