Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url to pull video stream in the background? #96

Open
BoltAlot2 opened this issue Jun 23, 2021 · 1 comment
Open

Url to pull video stream in the background? #96

BoltAlot2 opened this issue Jun 23, 2021 · 1 comment

Comments

@BoltAlot2
Copy link

let url = URL(string: "https://viewer.millicast.com/v2?streamId=w9dvKs/kkmy5gxc")!
VideoBackground.shared.play(view: view, url: url)

So i have the above code in my viewDidLoad(), and for the videos it works great.
However, I want to pull from a live stream and display it, but it always is a blank screen even though the stream is working.
Would you have any ideas on how to resolve that issue or is it maybe on the streams end?

Kind regards,
Andrew Bolt

@dingwilson
Copy link
Owner

Hey @BoltAlot2 - I tried to look at that stream url you have listed and it seems like nothing is playing. I am not too familiar with handling live streams - do you have the same issue with native AVPlayer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants