Skip to main content
August 8, 2012
Question

FMG does not work (for video) with Mobile devices.

  • August 8, 2012
  • 1 reply
  • 1394 views

It seems that the FMG does not want to work with mobile devices like Android tablets or phones.

We developed a desktop app and a mobile app. Desktop runs fine but running mobile the FMG complains (in the logs) about not supporting H264 type 2

Actual message:

" FMG cannot handle video type 2, received from FMS "

Any suggestions?

This topic has been closed for replies.

1 reply

Participating Frequently
August 9, 2012

FMG works with H.264 video codec only. Could you please check if video is encoded using a different codec in mobile app?

Please provide more logs and details about your usecase. Is there a SIP endpoint involved in the call? Mobile app is flash endpoint, is it correct?

August 13, 2012

Yes the mobile app does not work because I assume is not encoding H264 but rather sorensen.

Correct the flashendpoint is a the mobile app and the other endpoint a SIP device.

Like I mentioned previously, the desktop app works fine when running on a Desktop or laptop

The Mobile app is identical but we created it as a mobile AIR project.

If the FMG only works with H264 then this is the reason why it wont work.

Is there a way to force the mobile devices to use H264 encoding?

I tried:

code snip...





_h264Settings = new H264VideoStreamSettings();




_h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_3_1);
















cam.setKeyFrameInterval(15);




outStream.attachCamera(cam);




outStream.videoStreamSettings = _h264Settings;

but the output videoStreamSettings show "null" even after assigning it _h264Settings.

but if we debug on desktop as opposed to on device, it shows the H264 profile correctly.

Any suggestions, greatly appreciated.