libmediasoupclient
libmediasoupclient copied to clipboard
Client cannot be built on an M1 chip Mac.
Link: https://mediasoup.org/documentation/v3/libmediasoupclient/installation/#Build-Examples
OSX Version: 11.6
After checking out the m84 branch and then running "gclient sync" command the following error occurs:
________ running 'cipd ensure -log-level error -root /Users/ethan/Documents/webrtc/webrtc-ios -ensure-file /var/folders/1v/xptt3zf91yg30qhgbrhbg6f80000gn/T/tmpclwu94za.ensure' in '.'
Errors:
failed to resolve infra/tools/luci/isolate/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 10): no such tag
failed to resolve infra/tools/luci/isolated/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 11): no such tag
failed to resolve infra/tools/luci/swarming/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 12): no such tag
Error: Command 'cipd ensure -log-level error -root /Users/ethan/Documents/webrtc/webrtc-ios -ensure-file /var/folders/1v/xptt3zf91yg30qhgbrhbg6f80000gn/T/tmpclwu94za.ensure' returned non-zero exit status 1
Errors:
failed to resolve infra/tools/luci/isolate/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 10): no such tag
failed to resolve infra/tools/luci/isolated/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 11): no such tag
failed to resolve infra/tools/luci/swarming/mac-arm64@git_revision:56ae79476e3caf14da59d75118408aa778637936 (line 12): no such tag
I know this is not fully related to mediasoup but it makes it not possible to build the libmediasoupclient on a mac with an M1 chip.
Anyone know a workaround or will the library need to be built with a newer branch of webrtc? (no issues when syncing with the laster branch).
Have you tried using webrtc m94? libmediasoupclient was just updated to support it
I was able to build using master on m1.
m94 fails with:
FAILED: WebRTC.framework/Info.plist
rm -rf WebRTC.framework/Info.plist && /bin/cp -Rc gen/sdk/framework_objc_info_plist.plist WebRTC.framework/Info.plist
cp: WebRTC.framework/Info.plist: clonefile failed: Operation not supported
(non mediasoup issue)
If this issue persists please ask in the forum.