URL parsing issues

Hey guys, I’m new here and not sure if this is the right place to post it.

I have found this project and liked it a lot, so I tried to replicate it at home:

Problem is that I want to use FaceTime from Apple, because family are using Apple devices so it is easier for us to build a FaceTime call. Also since the last iOS version, we are able to generate a link to access from external devices, so I thought I could join from the Chromium browser on the RPi.

Problem I am facing is that Apple gives me a link like this one:

ttps://facetime.apple.com/join#v=1&p=5LCcNXFzEiyz0EFXC6m96A&k=1bbaqF66QDIv_JJ1gJ5fIxHFQ4BN-rHBBsXoXCeJvLe

When I put this value into the “KIOSK” Device value, when the OS parses the URL, it ended shorten it on every ‘&’ character, so I am not able to join the call.

This is an example of the log I am getting:

kiosk 2022/02/08 09:54:57 Launch page with desiredURL = ‘FaceTime’. Slack: false

As you can see, the URL was cut after v=1 and next character will be an ‘&’.

I have tried to modify the link and remove the v=1 section, so I put this link into the variable

ttps://facetime.apple.com/join#p=5LCcNXFzPeyz0EHXC6g96A&k=1bbaqF66QDIv_JJ1gJ5fIxHFQ4BN-rHBBsAaXCeJvLe

And again the URL gets cut, in this case after the first ‘&’ character.

kiosk 2022/02/08 09:56:39 Running ‘/home/chromium/launch.sh FaceTime

It is there any way to avoid this behavior or to ‘escape’ the & character to get it set into the URL correctly?

Thanks! And many thanks for this project, if I get this to work, it would be amazing :slight_smile:

Hi! I answer myself to this…

I tried setting a %26 on the URL instead of & and now everything seems to be OK at the logs, but even with this, FaceTime is not working.

I suppose it is a limitation from Apple. The screen becomes completely black and nothing shown. If I try to use Jitsi or to configure another webpage, everything works, so I assume this is not going to work :slight_smile:

Thank you anyway!

Hi @spam

Good work on the URL decoding - that can be a nightmare.

I’m not familiar with facetime, but my guess is that Apple are using a video encoding that the browser can’t decode natively. One of the reasons for using jitsi in the original project, apart from the URL per meeting and no join button, was because Jitsi was using H.264 encoding which Chromium can decode itself.

Phil