# Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::VideoFormat (v2.7.0)

2.7.0 (latest) 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.0 1.1.1 1.0.0 0.9.0 0.8.2 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::VideoFormat.

Properties of the video format.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #codec

    def codec() -> ::String

**Returns**

- (::String) --- Video codec used in this video stream.

### #codec=

    def codec=(value) -> ::String

**Parameter**

- **value** (::String) --- Video codec used in this video stream.
**Returns**

- (::String) --- Video codec used in this video stream.

### #frame_rate

    def frame_rate() -> ::Float

**Returns**

- (::Float) --- The frame rate of the input video stream.

### #frame_rate=

    def frame_rate=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The frame rate of the input video stream.
**Returns**

- (::Float) --- The frame rate of the input video stream.

### #height_pixels

    def height_pixels() -> ::Integer

**Returns**

- (::Integer) --- The height of the video stream in pixels.

### #height_pixels=

    def height_pixels=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The height of the video stream in pixels.
**Returns**

- (::Integer) --- The height of the video stream in pixels.

### #width_pixels

    def width_pixels() -> ::Integer

**Returns**

- (::Integer) --- The width of the video stream in pixels.

### #width_pixels=

    def width_pixels=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The width of the video stream in pixels.
**Returns**

- (::Integer) --- The width of the video stream in pixels.