![]() |
PortSIP VoIP SDK Manual for Windows
16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
|
Functions | |
Int32 | PortSIP.PortSIPLib.enableSendPcmStreamToRemote (Int32 sessionId, Boolean state, Int32 streamSamplesPerSec) |
Enable the SDK to send PCM stream data to remote side from another source instead of microphone. More... | |
Int32 | PortSIP.PortSIPLib.sendPcmStreamToRemote (Int32 sessionId, byte[] data, Int32 dataLength) |
Send the audio stream in PCM format from another source instead of audio device capturing (microphone). More... | |
Int32 | PortSIP.PortSIPLib.enableSendVideoStreamToRemote (Int32 sessionId, Boolean state) |
Enable the SDK send video stream data to remote side from another source instead of camera. More... | |
Int32 | PortSIP.PortSIPLib.sendVideoStreamToRemote (Int32 sessionId, byte[] data, Int32 dataLength, Int32 width, Int32 height) |
Send the video stream to remote side. More... | |
Int32 PortSIP.PortSIPLib.enableSendPcmStreamToRemote | ( | Int32 | sessionId, |
Boolean | state, | ||
Int32 | streamSamplesPerSec | ||
) |
Enable the SDK to send PCM stream data to remote side from another source instead of microphone.
sessionId | The session ID of call. |
state | Set to true to enable the send stream, or false to disable. |
streamSamplesPerSec | The PCM stream data sample in seconds. For example: 8000 or 16000. |
Int32 PortSIP.PortSIPLib.sendPcmStreamToRemote | ( | Int32 | sessionId, |
byte [] | data, | ||
Int32 | dataLength | ||
) |
Send the audio stream in PCM format from another source instead of audio device capturing (microphone).
sessionId | Session ID of the call conversation. |
data | The PCM audio stream data. It must be 16bit, mono. |
dataLength | The size of data. |
Int32 PortSIP.PortSIPLib.enableSendVideoStreamToRemote | ( | Int32 | sessionId, |
Boolean | state | ||
) |
Enable the SDK send video stream data to remote side from another source instead of camera.
sessionId | The session ID of call. |
state | Set to true to enable the sending stream, or false to disable. |
Int32 PortSIP.PortSIPLib.sendVideoStreamToRemote | ( | Int32 | sessionId, |
byte [] | data, | ||
Int32 | dataLength, | ||
Int32 | width, | ||
Int32 | height | ||
) |
Send the video stream to remote side.
sessionId | Session ID of the call conversation. |
data | The video stream data. It must be in i420 format. |
dataLength | The size of data. |
width | The video image width. |
height | The video image height. |