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
ofAVFoundationPlayer doesn't work with network stream #5679
Comments
I have delved a bit in the ofAVFoundationPlayer code, comparing the code with the WWDC slides: For a stream, the AVAsset shouldn't be used but it's exposed by an AVPlayerItem instantiated with if someone will confirm that issue exists, I can work on this. |
If you want to view mjpg streams you might check out ofxIpVideoGrabber https://github.com/bakercp/ofxIpVideoGrabber |
Also, what version of oF are you using? I believe Streaming was added in the master branch recently. |
Thanks for that, unfortunately I have already tried ofxIpVideoGrabber but doesn't work with the RTSP h264 streams that is what I actually need... http mjpg was just an extra test I did to open this issue. |
for future reference, I gave up with the RTSP stream using AVFoundation, it only seem to support HTTP Live Streaming (HLS) |
I have tested with http (JPEG) and RTSP (h264), and I always get the error:
error loading asset tracks: The operation could not be completed
Did anybody manage to get video from an IP camera or an HTTP stream?
The text was updated successfully, but these errors were encountered: