- Benefits
- Overview
- Installation guide
- Developers guide
- Quick start
- Ozeki PBX Architecture
- .Net API
- HTTP API
- JavaScript API
- Examples
- Documentations
- Call class
- Extension class
- Helper class
- OzCamera class
- getCameraByIndex
- getCameraByName
- getFps
- getHeight
- getId
- getName
- getNames
- getWidth
- setDisplay
- setMode
- setQuality
- OzWebClient class
- Session class
- User class
- Interceptor classes reference
- SQL API
- OZML
- Install API extension
- SMS API
- Database servers
- Video tutorials
- Appendix
- Featured articles
- Technology
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android
C# SMS API
Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code
PHP SMS API
The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website
SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
setDisplay(displayId) method
If an OzCamera object is added to the program, this method can run on it. It is used to display the stream of the camera represented by the object. So it will show the stream from the client's own camera. It gets a displayId parameter as an input which is ID of the HTML object where the video should be displayed. As an example you could display the video in a div element (Code example 1).
<div id="local"> <!-- The video will be displayed in this div --> </div>
Parameters
displayId: Type: string|null. The ID of the HTML element or null. If the displayId is empty, the existing camera display will be removed. e.g. "myHtmlId"
Method usage example
In this example we will register our camera to the myCam object, then we will change the width to 360, the height to 240 and the fps to 30. Finally we will send the camera picture to the "local" id in the html code, so it will be shown on the website (Code example 2).
//constructor of the myCam object, the default camera is used var myCam = OzCamera.getCameraByName(); myCam.setMode(360,240,30); //sets the camera properties myCam.setDisplay("local"); //displays the camera stream
More information
- OzCamera.getCameraByIndex(index) method
- OzCamera.getCameraByName(cameraName) method
- GetFps() method
- GetHeight() method
- GetId() method
- GetName() method
- OzCamera.getNames() method
- GetWidth() method
- SetMode(width,height,fps) method
- SetQuality(bandwidth, quality) method