Skip to content

(WIP) feature/CPC-12213-update-pod-to-spm#28

Draft
brianinatinyhome wants to merge 1 commit into
masterfrom
feature/CPC-12213-update-pod-to-spm
Draft

(WIP) feature/CPC-12213-update-pod-to-spm#28
brianinatinyhome wants to merge 1 commit into
masterfrom
feature/CPC-12213-update-pod-to-spm

Conversation

@brianinatinyhome
Copy link
Copy Markdown

Item Tracking

Jira link: https://combinedpublic.atlassian.net/browse/CPC-12213

Description

This PR changes the WKWebViewRTC Library to be compatible with SPM

Test Plan

Further Comments

None.

@brianinatinyhome brianinatinyhome changed the title feature/CPC-12213-update-pod-to-spm (WIP) feature/CPC-12213-update-pod-to-spm May 28, 2026
@hthetiot
Copy link
Copy Markdown
Contributor

Hello @brianinatinyhome check out this PR from the source forked repo i made for RTCMTLVideoView, it use RTC_SUPPORTS_METAL to support also non Metal devices.

https://github.com/cordova-rtc/cordova-plugin-iosrtc/pull/427/changes

let sdpSemanticsConfig = pcConfig?.object(forKey: "sdpSemantics") as? String;
let sdpSemantics = (sdpSemanticsConfig != nil && allowedSdpSemantics[sdpSemanticsConfig!] != nil) ?
allowedSdpSemantics[sdpSemanticsConfig!] : RTCSdpSemantics.planB
allowedSdpSemantics[sdpSemanticsConfig!] : RTCSdpSemantics.unifiedPlan
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class iRTCPeerConnectionConfig {

fileprivate let allowedSdpSemantics = [
"plan-b": RTCSdpSemantics.planB,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would still allow it to support old webrtc api usage. We kept it in iosrtc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants