問題タブ [cmtime]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - AVQueuePlayer は currentTime が期間から 'n' 秒のときにアクションを実行します
an が終了から 1 秒のときにaCABasicAnimation
を anに追加する必要があります(playerItem の期間 - 1)。基本的なクロスフェードです。適切な時間に到着したかどうかを判断する方法がわかりません。以下のコードを使用して、定期的な時間オブザーバーを追加しました。playerItem が終了から 1 秒になったことを知る方法はありますか?AVPlayerLayer
AVQueuePlayer
playerItem
ios - CMTimeMakeWithSeconds の preferredTimescale
カスタムカメラを実装しているため、露出時間を設定したいと考えています。
スライダーのプロパティを設定するための私のコードは-
スライダーが変更されるたびに露出時間を設定しているときに問題が発生します。
そのための私のコードは次のようになります-
しかし、
と混同しておりpreferredTimescale
、その値はどうあるべきか、600 で正常に動作していますが、理想的な値は何ですか。