Questions tagged [vlckit]
17 questions
5
votes
2 answers
VLCKit with SwiftUI
I would like to use VLCKit with SwiftUI.
why not AVPlayer ? because a some video formats are not supported.
Here is my code:
import SwiftUI
import UIKit
struct ContentView: View {
var body: some View {
NavigationView
{
…

Guillermo Mendoza
- 119
- 1
- 4
3
votes
0 answers
How do you record RTSP Stream using MobileVLCKit IOS?
So I currently have a RTSP Stream that is ran with the MobileVLCKit library's. I am able to receive the video stream with no problem, what I need to do now is record that RTSP stream onto the iPhone its being streamed to. Essentially I need to save…

Fosterdn007
- 49
- 6
2
votes
2 answers
Swift VLCKit VLCMediaPlayer frame not laying out correctly
I am trying to play an RTSP live stream using VLCKit. Everything works except when the video starts playing, it's not bounding to the entire view's frame. If I resize my window, then it does update, but I am not sure what I am doing wrong on the…

DevelUpGames
- 139
- 1
- 14
1
vote
3 answers
How to observe more precise player time in VLCKit?
I'm trying to incorporate MobileVLCKit into my app but the default time observer isn't precise enough for me and makes the progress bar jump between times. Is there a way to get more precise time updates (for example, every 1/60th second)?
Here's my…

ADB
- 591
- 7
- 21
1
vote
1 answer
How to decode self-delimited opus in iOS
I was able to record and play opus using AVFoundation. The problem is I got a custom opus audio file as follows:
| header 1 (1 byte) | opus data 1 (1~255 bytes) | header 2 (1 byte) | opus data 2 (1~255 bytes) | ... | ... |
Each header indicates…

MD TAREQ HASSAN
- 1,188
- 20
- 46
1
vote
2 answers
swift @objc and selector : compiler error with type returned from selector
on MacOS 10.14.6, Swift and XCode 11.0, VLCKit 3.3.0,
I try to create callbacks with @objc functions, within a class.
But using #selector to point to my @objc func, the compiler generates an error
these are the 2 functions I declare within my…

phlasserre
- 13
- 3
1
vote
2 answers
Cant set VLCKit for IOS
The last days I'm trying to make an app for IOS including VLCKit. I tried to follow all the methods and tutorials that I found, but I can not get the application to compile correctly.
I've tried using cocoapods pod 'MobileVLCKit', '~> 2.2'. But it…

Maialen
- 31
- 1
- 6
0
votes
0 answers
When the VLCMediaPlayer is set to play a different remote media, how to clear the last displayed frame
I have an iOS app that plays a few remote media. When the user switches to a different video, I set the VLCMediaPlayer.media to a new remote media. The problem I have is the last video still has a frame in the video player paused. How do I clear…

Charlie Wu
- 7,657
- 5
- 33
- 40
0
votes
0 answers
How to use VLCMediaPlayer from MobileVLCKit in SwiftUi
I'm new to IOS development , please i need guidelines or code example on how i can play video using VLCMediaPlayer in SwiftUI
my current code :
import SwiftUI
import MobileVLCKit
import UIKit
struct PlayerView: View {
var videoURL :…
0
votes
0 answers
VLCMediaPlayer initWithLibrary not working
I try to load a m3u file with an user agent, I use the VLCMediaPlayer initWithLibrary
but that not work
there is my code
NSString *filePath = [documentsDirectory stringByAppendingPathComponent:@"tStream.m3u"];
VLCLibrary *myLib = [VLCLibrary…

user1887842
- 83
- 6
0
votes
1 answer
libvlcsharp - iOS transcode not accepting media option parameters
I've been using the Xamarin libVLCSharp player for a while on iOS and Android and it works well. I've added a transcoding feature, but for some reason my libVLCSharp code works fine to transcode on Android (change codec, bitrate, fps), but the same…

voidsstr
- 133
- 1
- 10
0
votes
1 answer
VLCKit (iOS) mediaPlayer suddenly stops playing
I'm first-time user of MobileVLCKit-iOS (3.3.15) and have added VLCMediaPlayer() in a swift app to play audio urls. Randomly the mediaplayer receives a mediaPlayerStateChanged(.stopped) event, after buffering or immediately when executing play(). In…

Frank van Vliet
- 640
- 2
- 8
- 18
0
votes
0 answers
MobileVLCKit always stop when Playing FB Live Video
Im using MobileVlcKit and I tried to play live videos from fb live_videos api.
When i tried it to play using vlc software on my mac, it play smoothly.
But when I play it using MobileVlcKit, it always stops.
you can try it by making live on FB using…

joshua pogi 28
- 521
- 1
- 6
- 15
0
votes
1 answer
When using VLCKit in a macOS Cocoa Application, is it possible, by updating the code of the framework, to add a gotoPreviousFrame() method?
I am using VLCKit in a mixed Swift / Objective-C application. VLCMediaPlayer has a convenient method:
gotoNextFrame()
that precisely jumps to the next frame of the video. Would it be possible to create an opposite gotoPreviousFrame() method, by…

Alfonso Tesauro
- 1,730
- 13
- 21
0
votes
1 answer
How to stream video using AirPlay from VLCKit player
I have implemented player using VLCKit to play the live streaming video and now I want to play it on Apple TV through AirPlay. But everything that I found on Internet was about using AVPlayer for streaming to Apple TV. But AVPlayer doesn’t suit for…

Roma
- 26
- 2