WebRTC video chat not working on iOS Safari or iOS Chrome - Is it possible? - ios

I am not technical but have my engineer working on putting together a web-based video chat application with the goal of using it on the iOS web browser(s). The service appears to be functioning correctly on a desktop browser. However, we cannot get it to work on iOS browsers.
on Safari (using iPhone 11 - iOS 13) the video freezes immediately and shows still frame. On Chrome there is never a connection made, nor does Chrome prompt to access camera/mic.
I've read conflicting work that says WebRTC is supported in iOS Safari/Chrome and other work that says it is not.
Would appreciate anyone's help here! Is it possible to create a URL-based video conferencing platform that can correctly function on iPhone?

Try adding 'muted', 'autoplay', 'playsinline' attributes to the Video Element as shown below.
<video muted autoplay playsinline></video>
If you can play it back, it's ok.
From the perspective of the user experience, the browser can autoplay audio or video with audio only on some sites such as Youtube and sites that the user has allowed. It cannot be done on other sites.
To play on sites that can't autoplay, modify it to play with user gestures such as clicks.
video.onclick = _ => video.play();

Here's an example that works from Raspberry Pi to iPhone iOS 13.4
Haven't been able to make it work from Chrome on windows to iPhone
https://apprtc.tc
source code:
https://github.com/webrtc/apprtc
GetUserMedia is not supported in Chrome for iPhone
It is supported in Safari for iPhone
It is supported in Chrome for Windows

Related

Video is not supported in iOS version

I made applications in react native, Application like Tik-Tok (Users can upload short videos and other users can view these videos all functionality is working well in the android version)
The video is not showing in the iOS version only audio is available,
I notice this video is open in chrome and other browsers except safari browsers,
When I try to play video in the default player of the Mac OS it's not working and when I try with VLC it's working well

Flutter Web playing audio not working on iOS 14.6 on both Chrome and Safari

I tried to use both audioplayers and just_audio to play audio from URL and it works on Windows browsers, Android browsers, and iOS 15+ browsers, but not working on iPhone of iOS 14.6.
The used code to play audios with audioplayers:
await audioPlayer.release();
audioPlayer.play(UrlSource(audioURL));
audioPlayer.onPlayerComplete.listen((event) {
audioPlayer.release();
});
Apparently I have read that iPhones used to prevent automatic audio playing and it works only with user interaction but doesn't work if I played the audios automatically without user interaction, I have tried this and this seems to be correct, but I want to play it without user interaction.
so is there a way to prevent this problem in Flutter?

HTML 5 Video's Audio Muted in iOS 10 Web Apps

Audio in HMTL5 video works fine in Safari on iOS 10.3.1 on iPhone, though it doesn't in standalone web apps (same html code & video file). Video play is fine. Just no sound.
There are a few other related discussions in the past, eg, Why HTML5 video doesn't play in IOS 8 WebApp(webview)?. I tested on iOS 10 using the html provided by that post.
Not sure whether it is a new bug introduced in iOS 10, or a bug that has never been fixed by Apple since earlier versions. Does anyone experience this issue? Are there any workarounds? Thanks in advance.
I had the same question. I googled all over the place. Then I realized what was causing the problem: I had the physical "soft mute" switch (next to the volume buttons) on my iPad turned on. Infuriatingly, this muted the volume on web apps, but not Safari web pages.

AirPlay, Chromecast, Miracast SDK

I would like to realize an Android application that would be able to display an AirPlay, Miracast or Chromecast stream.
This application will be a basic Viewer of these 3 technologies.
I would like that when you launch it, you can see it on your iPhone, Android or Windows Phone or even from computers (PC or Mac). So you can project your screen on an Android.
I've seen some apps on the Play Store that were able to show AirPlay or Google Cast streams but I have not found them for Miracast.
Do you have links to send me SDK of these 3 technologies ?
Thank you all !

Does Windows Phone 7 have a YouTube player similar to iPhone?

I want to allow my phone app users to be able to click a YouTube video and be sent to the phone's YouTube player. Does Windows Phone 7 have that option?
Nothing has yet been announced but I know someone at Google who was talking with Microsoft about developing a YouTube app for Windows Phone 7.
Even if such an app did exist, based on the sandboxed nature of apps and their inability to launch other apps, your only options is likely to be to open the video in the browser.
First of all, I'm quite sure that there will be a Youtube App for Windows Phone. Beside that, since Youtube is going HTML5 anyway, I think it is trivial to include a playback of a Youtube video directly in your app:
http://msdn.microsoft.com/en-us/library/ff769551%28v=VS.92%29.aspx
The current version of IE mobile that runs on the Windows Phone 7 device emulator CANNOT play YouTube videos. So far from all the evidence that I've seen, you cannot use the Silverlight "MediaElement" control to play YouTube videos, nor can you use the iPhone "trick" of embedding a YouTube video in a bunch of HTML and have Safari handle it for you because IE mobile won't play YouTube videos.
This isn't to say that they won't be adding this feature in the future, but I'm pretty disappointed that as of Beta 1, it doesn't appear that WP7 has any YouTube support.

Resources