Coder Social home page Coder Social logo

Comments (25)

saghul avatar saghul commented on May 28, 2024

Here: https://github.com/jitsi/jitsi-meet-sdk-samples/blob/master/ios/swift-pip/JitsiSDKTest/src/ViewController.swift#L50

Add:

builder.serverURL = URL("https://your.server.tld")

I think that should do.

from jitsi-meet-sdk-samples.

BlakeEram avatar BlakeEram commented on May 28, 2024

Thank you very much!

from jitsi-meet-sdk-samples.

BlakeEram avatar BlakeEram commented on May 28, 2024

Hey Saghul,

it did not work. if I modify the room name with
builder.room = 'string

it will go directly into the room name 'string'

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

Well, that's what it's supposed to do :-) What are you trying to accomplish?

from jitsi-meet-sdk-samples.

BlakeEram avatar BlakeEram commented on May 28, 2024

Sorry, I mean that when I try builder.serverURL = URL("https://your.server.tld") it will not set the default url to the one I set it to.

When I try builder.room = 'string' it wil set the default room to string

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

Ah I think I know what you mean, When they are both set it will go to the specified room in your server, but won't store the server in the settings. We'll fix that.

from jitsi-meet-sdk-samples.

BlakeEram avatar BlakeEram commented on May 28, 2024

builder.serverURL = URL("https://your.server.tld") by itself, without setting the default room, it does not set the default URL

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

Yes, that's a bug.

from jitsi-meet-sdk-samples.

BlakeEram avatar BlakeEram commented on May 28, 2024

Ahh okay, thanks again for the help

from jitsi-meet-sdk-samples.

gaurishsharma avatar gaurishsharma commented on May 28, 2024

Hi @saghul,

I am also facing a similar issue when connecting Android and iOS apps to my custom Jitsi url.

When I do the following,

JitsiMeetConferenceOptions.Builder()
            .setServerURL("https://mydomain.com")
            .setWelcomePageEnabled(false)
            .setUserInfo(userInfo)
            .setRoom("1")
            .build()

        JitsiMeetActivity.launch(activity, options)

The custom server url is not getting picked. Instead of going to the url defined above, it is going to http://meet.jit.si/1

I have captured the problem at community forum : https://community.jitsi.org/t/use-my-own-server-for-jitsi-meet-conference/20973

I was looking for solutions to the problem and found this thread.

Would be really helpful if you could throw some light on why the custom url is not getting picked

Thanks,
Gaurish

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

I'll take a look.

from jitsi-meet-sdk-samples.

florencesuller avatar florencesuller commented on May 28, 2024

hello regarding on this does it fix now, what's the update?, i tried to change into custom url, still not working

JitsiMeetConferenceOptions *defaultOptions
= [JitsiMeetConferenceOptions fromBuilder:^(JitsiMeetConferenceOptionsBuilder *builder) {
builder.serverURL = [NSURL URLWithString:@"https://www.example.com/cobrowsing/v2/s?"];
builder.welcomePageEnabled = NO;
builder.videoMuted = YES;
}];

from jitsi-meet-sdk-samples.

SandsHellCreations avatar SandsHellCreations commented on May 28, 2024

is it not a possible way to start ios app with pre settled custom url of server

from jitsi-meet-sdk-samples.

ch-muhammad-adil avatar ch-muhammad-adil commented on May 28, 2024

Hello, I am facing issue, SDK is not starting/creating room,

Here is the link I am using
https://meet.jit.si/123DummySt

        let options = JitsiMeetConferenceOptions.fromBuilder { (builder) in
            builder.welcomePageEnabled = true
            builder.serverURL = url
        }
        jitsiMeetView.join(options)

        pipViewCoordinator = PiPViewCoordinator(withView: jitsiMeetView)
        pipViewCoordinator?.configureAsStickyView(withParentView: view)

        // animate in
        jitsiMeetView.alpha = 0
        pipViewCoordinator?.show()

The end result looks like this, just want to make sure is it correct end results? If i hit same URL in browser it starts a meeting.

Screenshot 2020-05-04 at 8 54 07 PM

Here you can see it works fine in browser

Screenshot 2020-05-04 at 8 58 11 PM

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

is it not a possible way to start ios app with pre settled custom url of server

I need to double check, I thought I had fixed it and forgot to close this.

from jitsi-meet-sdk-samples.

ch-muhammad-adil avatar ch-muhammad-adil commented on May 28, 2024

Hy sorry I figured out the problem, I was not setting the room name.

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

Yep, this shoul've been fixed by now.

from jitsi-meet-sdk-samples.

mayanksinghh avatar mayanksinghh commented on May 28, 2024

I am facing the similar issue with JitsiMeetSDK 2.3.0 in Xcode 10.2. I am not able to load custom jitsi server URL and it is opening the default Jitsi server.
Is there any sample code which works fine for custom URL on XCode 10.2 and JitsiMeetSDK 2.3.0?

from jitsi-meet-sdk-samples.

crisper91 avatar crisper91 commented on May 28, 2024

@saghul It still not working on version 2.9.0
I can not change default Jitsi server when use welcome page = true

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

How are you setting the default server?

from jitsi-meet-sdk-samples.

crisper91 avatar crisper91 commented on May 28, 2024

@saghul
JitsiMeetConferenceOptions *defaultOptions
= [JitsiMeetConferenceOptions fromBuilder:^(JitsiMeetConferenceOptionsBuilder *builder) {
builder.serverURL = [NSURL URLWithString: serverUrl];
builder.welcomePageEnabled = NO;
}];
[JitsiMeet sharedInstance].defaultConferenceOptions = defaultOptions;

and call join with welcomePageEnabled = YES . When i type room name on input field and enter, it not use custom my server URL to connect, it use https://meet.jit.si
It only working when i type my room jitsi url (my server url + room name) to input field.

from jitsi-meet-sdk-samples.

saghul avatar saghul commented on May 28, 2024

Hum, I'll take a look, thanks!

from jitsi-meet-sdk-samples.

crisper91 avatar crisper91 commented on May 28, 2024

But i can change user properties (display name,...) on defaultConferenceOptions and it is working, other properties not working.

from jitsi-meet-sdk-samples.

rajani9288 avatar rajani9288 commented on May 28, 2024

@saghul

hello regarding custom URL, I tried to change into custom URL, But it's not working. it does not use custom my server URL to connect, it uses https://meet.jit.si. please let me know if any solution. if the issue was still there so please fix this issue.

from jitsi-meet-sdk-samples.

rajani9288 avatar rajani9288 commented on May 28, 2024

// create and configure jitsimeet view
let jitsiMeetView = JitsiMeetView()
jitsiMeetView.delegate = self
self.jitsiMeetView = jitsiMeetView
let options = JitsiMeetConferenceOptions.fromBuilder { (builder) in
builder.serverURL = URL(string: "https://mycustomurl.com")
builder.welcomePageEnabled = true
}
jitsiMeetView.join(options)

I am using this code for my custom URL. please let me know if any error in code.

from jitsi-meet-sdk-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.