Skip to content

Instantly share code, notes, and snippets.

@command-tab
command-tab / OvenPlayer.vue
Created January 8, 2022 04:58
An example Vue component that wraps OvenPlayer 0.10.15
<template>
<div class="ovenplayer">
<div ref="player" />
</div>
</template>
<script>
import OvenPlayer from 'ovenplayer'
export default {
@command-tab
command-tab / webrtc-build.md
Created September 1, 2020 21:23
Building WebRTC.framework from master on macOS
cd webrtc_build
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=`pwd`/depot_tools:"$PATH"
fetch --nohooks webrtc_ios
gclient sync
git new-branch master-build

gn gen out/ios_sim --args='target_os="ios" target_cpu="x64" is_debug=false ios_enable_code_signing=false'
gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64" is_debug=false ios_enable_code_signing=false'