H.264/MPEG-4 Part 10 or AVC (Advanced Video Coding) is a standard for video compression,
and is currently one of the most commonly used formats for the recording, compression,
and distribution of high definition video.
Outgoing stream resolution
Flashphoner supports low-latency H.264 profile Baseline level 3.0 for the current release.
Max resolution is 640x480
You can configure video resolution In the flashphoner.xml
(176x144 by default)
<video_width>320</video_width> //176 by default
<video_height>240</video_height>
These parameters will be used as maximum possible outgoing resolution for the video calls.
That mean real outgoing resolution can be less by these reasons
- SIP endpoint does not support profile with specified resolution
Example:
You have specified 640x480, but SIP endpoint supports baseline 1.0 profile with max resolution 176x144.
In this case, the resolution will be decreased to maximum value, wich supported by both parties. - Client camera does not support specified resolution
Example:
You have specified 352x288, but your hardware camera does not support this ratio.
Flashphoner client will select first supported resolution, which less than specified.
Rules 1 and 2 may be applied together or separately, but each of them impacts on resulting resolution.
Thus, don't worry if you specified 640x480 and SIP endpoint receives 320x240 or 176x144 in some cases,
and this is a normal behavior.
Incoming stream resolution
This resolution is defined by the far-end SIP endpoint(e.g. softphone).
Flashphoner does not transcode incoming stream.
Flashphoner does depacketization of incoming RTP/H.264 stream
and transmit the stream to the Adobe Flash Player.
Priority
Flashphoner uses such priorities: H.264, H.263
So, H.264 codec has higher priority by default.
If you need to change this order, use codecs option described in Configuring page
Profiles
Preconfigured H.264 profiles: 42001e,42801e,42000d,42000a
Every profile used with packetization-mode=1 and packetization-mode=0
You can change these profiles up to 42001e for compatibility with other softphones.
So, we have 8 preconfigured profiles and payload types in SDP when create a call.