Skip to content

Commit

Permalink
Frame Cryptor Support.
Browse files Browse the repository at this point in the history
feat: Frame Cryptor (aes gcm/cbc). (webrtc-sdk#54)
feat: key ratchet/derive. (webrtc-sdk#66)
fix: skip invalid key when decryption failed. (webrtc-sdk#81)

Co-authored-by: Théo Monnom <[email protected]>
  • Loading branch information
2 people authored and npazkevich committed Jun 24, 2024
1 parent e473d78 commit f4d37c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ class TransformableVideoReceiverFrame
return frame_->GetRtpVideoHeader();
}

const RTPVideoHeader& header () const override {
return frame_->GetRtpVideoHeader();
}

std::unique_ptr<RtpFrameObject> ExtractFrame() && {
return std::move(frame_);
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/objc/native/src/objc_video_track_source.mm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (void)capturer:(RTC_OBJC_TYPE(RTCVideoCapturer) *)capturer
ObjCVideoTrackSource::ObjCVideoTrackSource() : ObjCVideoTrackSource(false) {}

ObjCVideoTrackSource::ObjCVideoTrackSource(bool is_screencast)
: AdaptedVideoTrackSource(/* required resolution alignment */ is_screencast? 16 : 2),
: AdaptedVideoTrackSource(/* required resolution alignment */ 2),
is_screencast_(is_screencast) {}

ObjCVideoTrackSource::ObjCVideoTrackSource(RTC_OBJC_TYPE(RTCObjCVideoSourceAdapter) *adapter) : adapter_(adapter) {
Expand Down

0 comments on commit f4d37c7

Please sign in to comment.