[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::VideoFormat (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.1.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.0.1/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [1.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.3.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.2.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [1.1.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.1.1/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [1.0.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.0.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.9.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.8.2/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.7.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.6.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.5.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.5.1/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.4.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.3.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.2.0/Google-Cloud-Video-LiveStream-V1-VideoFormat)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.1.0/Google-Cloud-Video-LiveStream-V1-VideoFormat) \nReference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::VideoFormat.\n\nProperties of the video format. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #codec\n\n def codec() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Video codec used in this video stream.\n\n### #codec=\n\n def codec=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Video codec used in this video stream. \n**Returns**\n\n- (::String) --- Video codec used in this video stream.\n\n### #frame_rate\n\n def frame_rate() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The frame rate of the input video stream.\n\n### #frame_rate=\n\n def frame_rate=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The frame rate of the input video stream. \n**Returns**\n\n- (::Float) --- The frame rate of the input video stream.\n\n### #height_pixels\n\n def height_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The height of the video stream in pixels.\n\n### #height_pixels=\n\n def height_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The height of the video stream in pixels. \n**Returns**\n\n- (::Integer) --- The height of the video stream in pixels.\n\n### #width_pixels\n\n def width_pixels() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- The width of the video stream in pixels.\n\n### #width_pixels=\n\n def width_pixels=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- The width of the video stream in pixels. \n**Returns**\n\n- (::Integer) --- The width of the video stream in pixels."]]