Reference10:Concept myPBX Video

From innovaphone wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
There are also other versions of this article available: Reference10 (this version) | Reference11r1 | Reference12r2

In version 10 the myPBX launcher can add a video codec to innovaphone hardware and software phones.

How it works

  • myPBX video adds an H.264 video codec to innovaphone hardware and software phones.
  • The video codec is part of the myPBX launcher and uses the webcam, windows for H.264 encoding and graphic card of the computer for H.264 decoding. If the graphic does not support H.264, which would be uncommon, windows will be used for the decoding process. Windows is not used by default because its decoder introduces a long delay (1-2 sec.), unacceptable for a video call. This delay is not present in Windows 8.
  • Default resolutiuon is 352x288
    • myPBX checks the resolution supported by the webcam. If available, 352x288 is used. Otherwise, 320x240
    • likewise is done for the frame rate: if available, 30 fps is used, if not 15 fps
  • The windows h264 encoder is configured to deliver an average data rate of 250 kbps.
  • The video codec communicates with the phone using SOAP over Websocket. Once it is connected the phone negotiates video calls.
  • The endpoint for video streams is the video codec on the computer. The endpoint for audio streams is still the audio codec on the phone.

MyPBX video.png

Requirements

PBX

  • Recent version 10 firmware
  • myPBX license (enabled at the user object)
  • Video license (enabled at the user object)

Note: The video license information must be available in the PBX at the time of the registration of the phone.

Phone

  • innovaphone hardware phone with recent version 10 firmware (not for IP61, IP62, IP63)
  • innovaphone software phone version 10

Computer

  • myPBX launcher version 10
  • Windows 7
  • .NET 4
  • Graphics card with H.264 hardware support (otherwise video will be shown with delay)
  • Webcam.

The video codec uses UDP ports starting form 50000.

Configuration

In the following, it is assumed that the user already has a phone configured and myPBX running.

PBX

  • Enable the video license on the user object.

Launcher

  • Enable video telephony
  • Configure a default call type (e.g. Audio-video)
  • If needed, configure a proxy server for connecting to the phone. Otherwise leave the field empty.

MyPBX video config.png

Usage

Activation

If the launcher is connected to the selected phone, a camera button shows up in the web application next to the selected phone.

MyPBX video activation.png

Clicking the button activates or deactivates video for the next call. When the call is terminated, the button is reset to the default setting, given by the default call type configured in the launcher.

Video telephony

When there is a video call, the launcher activates the webcam of the PC and opens a window showing your own image and the image of the remote party. If you hang up the window is closed and the webcam is deactivated.

MyPBX video window.png

Three-party video conference

myPBX supports three-party video conferences without an external MCU. The mixing of video streams is done at the computer starting the conference. Since the video rate is not very high and the maximum resolution used by myPBX is 352x288 any computer should handle this operation properly.

MyPBX video window 3pty.png

Known issues

Antivirus

Some antivirus are blocking websocket connection and therefore it is necessary to add an exception for myPBX application. If you are having this problem myPBX gets the loopback address as local address. You should see local address 127.0.0.1 in myPBX trace log.

  • Avast! you should add myPBX under "Web Shield/Expert Settings/Exclusions/Processes to exclude"
  • Kapsersky-Antivirus. You should add myPBX under "Einstellungen/Vertrauenswürdige Zone/Vertrauenswürdige Anwendungen/ hinzufügen"

Integrated Webcam in Dell Vostro Laptops

MyPbx/Pc crashes when using the integrated webcam. External ones are ok.

  • The problem at our side was caused by the software Dell Webcam Central, apparently installed by default in this laptop model. Please uninstall this software if you encounter any problem with the integrated webcam.

Webcam support under Media Foundation from Microsoft

According to Microsoft ( http://msdn.microsoft.com/en-us/library/windows/desktop/bb970511(v=vs.85).aspx ) only webcams that support UVC1.1 (USB Video Class) will work under Media Foundation.

So far we only found problems with a Wireless Webcam from Logilink/Technaxx.

http://www.logilink.eu/showproduct/UA0098.htm

Media relay

Media relay is currently not supported for video calls. Only in v11r1/v11r2

Interoperability

Third party video phones must be registered using SIP. Video is not supported for non-innovaphone devices that are registered using H.323.

Microsoft Update for the Windows 7 h264 decoder

The video card is used for h264 decoding because the Windows h264 decoder in Windows 7 introduces a delay of about 1 sec.
Microsoft released in February a platform update for Windows 7 which includes a fix for this issue.
http://support.microsoft.com/kb/2670838/en-us
In this document it is mentioned that the update "improves the features and performance of the following components" and one of them is the "H.264 Video Decoder".
The only problem is that there maybe some incompatibilities with some systems. So please, read the document carefully before installing it.
This update would only be necessary for those whose video card does not support h264 decoding and therefore experience the delay in the incoming video stream.

CISCO Adaptive Security Appliance

Enabled IP-Compression (ip-comp) can cause problems related to video transmission. If you don't have remote users which connected with modem, this feature can be normaly disabled.

PBX RTP Proxy

RTP Proxy is currently not supported for Video calls. http://wiki.innovaphone.com/index.php?title=Reference10:PBX/Config/General