-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
Video is absent (H.264), Ionic 2 #193
Comments
This is not a specific bug report but a usage problem. Please use the mailing list, but don't expect others to check your whole code and thirdy party libraries. |
@saghul I use latest version: 3.1.0 I also suspect that is can be some encoding related problem.. I have described my case here more detailed: http://stackoverflow.com/questions/38447053/embed-h264-stream-using-html5-video-tag-on-ios I have updated this topic as well. |
@saghul I just tested 2.2.4 with the same result.. |
@ibc So, I suspect that |
Honestly I've no idea. This is something related to |
Since H264 works in Chrome I guess there is something we are not doing right somewhere. So far nobody has found the cause though :-( |
Chrome uses Cisco h264 encoder while libwebrtc should use Apple h264
hardware codecs on iOS, not sure if it is ready for prime time.
|
Good point! It did work at some point, albeit with a very low FPS, IIRC. |
El 20/7/2016 21:04, "Saúl Ibarra Corretgé" notifications@github.com
|
Looks like we're not alone! |
any news? |
Any news ? ;) |
I'm afraid not. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks for the heads up, I'll add a note to #170, hopefully I can give it a shot in the upcoming weeks. |
any news? |
Alas, no. |
Any Solution? Facing black video problem even in Android too!! |
I'm trying to get work Ionic 2 application on iOS. Stream comes from Raspberry pi (gStreamer + Janus WebRTC gateway)
Application is a streaming application with the following logic:
URL.createObjectURL(stream)
I'm getting WebRTC support by the following plugin: https://github.com/eface2face/cordova-plugin-iosrtc
Streaming works great in FireFox browser by
ionic serve --platform=ios
command.Streaming is NOT works inside iOS emulator and on a real device. I just got a green rectangle instead of stream, like on the picture below:
gStreamer command:
raspivid --verbose --nopreview --width 640 --height 480 --framerate 15 --bitrate 1000000 --profile main --timeout 0 -o - | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=127.0.0.1 port=8004
Janus config:
I have googled a similar problem (http://stackoverflow.com/questions/21120717/h-264-video-wont-play-on-ios).
They say iOS safari support Main profile with AVC level 3.1. I'm tried this proposal but it doesn't help me too..
I'm also tried the following "pairs" (profile-level-id + profile) without success:
No any errors in console. Traffic for the app is also OK (~100kbps). But I see green square instead of image..
The text was updated successfully, but these errors were encountered: