bigbluebutton/bigbluebutton — pull request #24 by fcecagno (2012-02-16 16:08:07+00:00)
Title: Resolution from streamname

This pull request is related to a bug that affects the interaction with the Android client.
The Android client streams video with the lowest resolution possible accordingly to the device. The stream name is well formatted indicating the video resolution, the user ID and the timestamp.

A problem occurs when the Android client streams a video with a resolution that is not in the BBB config.xml. The "old" method of extracting the video resolution from the stream name compares the beginning of the stream name with the configured resolutions. If the stream name contains a resolution that has not been predefined, the function to get the video resolutions returns null and as a result the BBB client presents a blank video.

This new implementation parses the stream name not considering the predefined resolutions. It will enable any external client to stream video with arbitrary resolutions.