def _get_resolution_from_param_value(self, value):
    'Return a :py:class:`VideoResolution` object corresponding to the given video resolution param string.\n\n        :param value: Value of the resolution parameter to parse (of form `width`x`height`).\n        :type value: basestring\n        :return: The :py:class:`VideoResolution` corresponding to the given resolution param string.\n        :rtype: :py:class:`VideoResolution`\n        :raises: :py:exc:`ValueError` if the resolution is unknown/unsupported.\n        '
    for resolution in self._allowed_resolutions:
        if (resolution.get_vapix_representation() == value):
            return resolution
    raise ValueError(('%s is not a valid valid resolution.' % value))
Return a :py:class:`VideoResolution` object corresponding to the given video resolution param string.

:param value: Value of the resolution parameter to parse (of form `width`x`height`).
:type value: basestring
:return: The :py:class:`VideoResolution` corresponding to the given resolution param string.
:rtype: :py:class:`VideoResolution`
:raises: :py:exc:`ValueError` if the resolution is unknown/unsupported.
def _get_resolution_from_param_value(self, value):
    'Return a :py:class:`VideoResolution` object corresponding to the given video resolution param string.\n\n        :param value: Value of the resolution parameter to parse (of form `width`x`height`).\n        :type value: basestring\n        :return: The :py:class:`VideoResolution` corresponding to the given resolution param string.\n        :rtype: :py:class:`VideoResolution`\n        :raises: :py:exc:`ValueError` if the resolution is unknown/unsupported.\n        '
    for resolution in self._allowed_resolutions:
        if (resolution.get_vapix_representation() == value):
            return resolution
    raise ValueError(('%s is not a valid valid resolution.' % value))