This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <body> | |
| <div id="pubStat"></div> | |
| <input type="button" value="GetImage" id ="getImage" onClick="javascript: getImageOfVideo()" /> | |
| <!-- OpenTok.js library --> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <!-- OpenTok.js library --> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> | |
| // credentials | |
| var apiKey = ''; | |
| var sessionId = ''; | |
| var token = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <!-- OpenTok.js library --> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> | |
| // credentials | |
| var apiKey = ''; | |
| var sessionId = ''; | |
| var token = ''; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <div id='myPublisherDiv'></div> | |
| <div id ="subsDiv"></div> | |
| <input type="button" value="Connect" id ="connectLink" onClick="javascript:connect()" /> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <!-- OpenTok.js library --> | |
| <div id='myPublisherDiv'></div> | |
| <div id ="subsDiv" style= "display:none; border:1px solid black;width:400;height:300"></div> | |
| <input type="button" value="Disconnect" id ="disconnectLink" onClick="javascript:disconnect()"/> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <!-- OpenTok.js library --> | |
| <div id='myPublisherDiv' ></div> | |
| <button onclick="publish()">Publish Video</button> | |
| <button onclick="unpublish()">Unpublish</button> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> | |
| // credentials |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <button onclick="javascript:publishCamera1();" >Publish Camera 1</button> | |
| <button onclick="javascript:publishCamera2();" >Publish Camera 2</button> | |
| <p id = "device_id"> </p> | |
| <div id="camera-publisher"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <input type="button" value="Disconnect" id ="disconnectLink" onClick="javascript:disconnect()"/> | |
| <!-- OpenTok.js library --> | |
| <script src="https://static.opentok.com/v2/js/opentok.js"></script> | |
| <script> | |
| // credentials | |
| var apiKey = 'YOUR API KEY'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <body> | |
| <div> | |
| <input type="button" value="Connect" id ="connectLink" onClick="javascript:connect()" /> | |
| <input type="button" value="Disconnect" id ="disconnectLink" onClick="javascript:disconnect()"/> | |
| <input type="button" value="Publish" id ="publishLink" onClick="javascript:startPublishing()" /> | |
| <input type="button" value="Unpublish" id ="unpublishLink" onClick="javascript:stopPublishing()"/> | |
| <input type="button" value="Signal" id ="signalLink" onClick="javascript:sendSignal()"/> | |
| <div id="publisherContainer"></div> |
NewerOlder