reference :
How do I get current playing time, CMTime in milliseconds in AVPlayer?
I am getting current playing value in seconds but i need in milliseconds. I tried to currentTime.value/currentTime.scale. But it didn't get exact value. CMTime currentTime = vPlayer.currentItem.
stackoverflow.com
https://stackoverflow.com/questions/7894979/how-to-show-avplayer-current-play-duration-in-uislider
How to show AVplayer current play duration in UISlider
I am using a custom UISlider to implement the scrubbing while playing a video in AVPlayer. Trying to figure out the best way to show the current play time and the remaining duration on the respective
stackoverflow.com
AVPlayer Progress slider change with user dragging it
I am using AVPlayer, and its working good. I put slider and it is progression according to player duration. But i want if user drags slider then play time changes accordingly. i.e. Song forwards...
stackoverflow.com
https://rhammer.tistory.com/332
[AVFoundation] Observing the Playback Time (๋์์์ ์ฌ์์๊ฐ Observeํ๊ธฐ)
Observing the Playback Time https://developer.apple.com/documentation/avfoundation/media_assets_playback_and_editing/observing_the_playback_time Overview ๋ฏธ๋์ด์ ์ฌ์์๊ฐ์ ํ๋ฆ์ ์๊ณ ์ถ๋ค. ํ์ฌ..
rhammer.tistory.com
'Computer Science > swift ๋ฝ๊ฐ๊ธฐ - ์ฐธ๊ณ ์ฌ์ดํธ ์ ์ฅ์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[swift] hit test (0) | 2021.08.13 |
---|---|
[swift] uikit - UIView corner radius (0) | 2021.08.12 |
[swift] Rxswift ๋ก timer (0) | 2021.08.04 |
[swift] xcode์คํ์ command line์ผ๋ก ํ ์ ์์๊น.. (0) | 2021.08.04 |
[swift] ios calendar ๊ด๋ จ (๋ด๊ฐ ๋ณด๋ ค๊ณ ๋ง๋ ) (0) | 2021.08.04 |
[swift] timer๊ด๋ จ ์ฌ๋ฌ ๊ธ (0) | 2021.08.04 |
[swift] swiftui Button (+onTapGesture) (0) | 2021.07.31 |
[swift] NavigationView with NavigationLink (0) | 2021.07.31 |