Skip to content

Commit

Permalink
m129 対応
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Sep 9, 2024
1 parent c5ae810 commit 3bf2e9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hwenc_nvcodec/nvcodec_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ int32_t NvCodecVideoEncoderImpl::Encode(
? webrtc::VideoContentType::SCREENSHARE
: webrtc::VideoContentType::UNSPECIFIED;
encoded_image_.timing_.flags = webrtc::VideoSendTiming::kInvalid;
encoded_image_.SetRtpTimestamp(frame.timestamp());
encoded_image_.SetRtpTimestamp(frame.rtp_timestamp());
encoded_image_.ntp_time_ms_ = frame.ntp_time_ms();
encoded_image_.capture_time_ms_ = frame.render_time_ms();
encoded_image_.rotation_ = frame.rotation();
Expand Down
2 changes: 1 addition & 1 deletion src/hwenc_vpl/vpl_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ int32_t VplVideoEncoderImpl::Encode(
? webrtc::VideoContentType::SCREENSHARE
: webrtc::VideoContentType::UNSPECIFIED;
encoded_image_.timing_.flags = webrtc::VideoSendTiming::kInvalid;
encoded_image_.SetRtpTimestamp(frame.timestamp());
encoded_image_.SetRtpTimestamp(frame.rtp_timestamp());
encoded_image_.ntp_time_ms_ = frame.ntp_time_ms();
encoded_image_.capture_time_ms_ = frame.render_time_ms();
encoded_image_.rotation_ = frame.rotation();
Expand Down

0 comments on commit 3bf2e9e

Please sign in to comment.