You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry for my english.
In your code, absl::optionalwebrtc::SpsParser::SpsState sps = webrtc::SpsParser::ParseSps(buffer + index.payload_start_offset, index.payload_size); buffer + index.payload_start_offset includes nalu type, but webrtc::SpsParser::ParseSps will read first byte as profile_idc, so sps.width and sps.height was never right, may you can fix it, that was confused.
The text was updated successfully, but these errors were encountered:
howardhuang666
changed the title
When parse h264 sps, its weight and height was never right
When parse h264 sps, its width and height was never right
May 16, 2024
sorry for my english.
In your code, absl::optionalwebrtc::SpsParser::SpsState sps = webrtc::SpsParser::ParseSps(buffer + index.payload_start_offset, index.payload_size); buffer + index.payload_start_offset includes nalu type, but webrtc::SpsParser::ParseSps will read first byte as profile_idc, so sps.width and sps.height was never right, may you can fix it, that was confused.
The text was updated successfully, but these errors were encountered: