twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 178 forks source link

make video view to float over app [HELP] #483

Closed parvbhaskar closed 4 years ago

parvbhaskar commented 4 years ago

I was trying to add the MultiPartyViewController as a child view on the appdelegate's window object to make it visible all over the app to make it similar like the whats'app video call feature.

But at that time the only message getting printed is "Attempting to connect to room:" after that nothing happen.

Is there any other way I can achieve this, so that user should feels same like the whatsapp.

parvbhaskar commented 4 years ago

for the code reference I'm using exectly the same viewcontroller "MultiPartyViewController" by passing roomID and accesstoken

ceaglest commented 4 years ago

Hey @parvbhaskar,

This is a good question. I'm sure a floating video view could be achieved with custom parent / child view controllers but there may be a simpler way to do it.

I should mention that the MultiPartyExample has been removed in favor of twilio-video-app-ios which is a more fully featured multi-party collaboration app. Unfortunately, a floating video view UI isn't implemented there either.

Let me see if there is anyone who could help you further with this question.

Best, Chris

timrozum commented 4 years ago

Hi @parvbhaskar,

I think you're probably on the right track using UIWindow to add a global view. Can you confirm that you have gotten video to work correctly inside a simple view controller? And also that you have a simple global view working without video? Want to make sure those are working independently before combining concepts.

Tim

parvbhaskar commented 4 years ago

@ceaglest thanks for the update about MultiPartyExample, is the new video view has support video 8-10 urs connected to video call ??, thanks for the help by providing the parent child concept, but currently I have been using the uiwindow option to continue my functionality.

@timmydoza yes I have successfully manage to add the video view on UIWindow and change its size to support other app features to worked parallel and also able to use move it around the screen using panGesture. Still working on adding some more features and UI changes.

timrozum commented 4 years ago

@parvbhaskar is your video update issue fixed or is it still a problem?

timrozum commented 4 years ago

@parvbhaskar yes the video product can support up to 50 participants.

I'm going to close this issue but if you have any other questions just let me know and we can reopen.

parvbhaskar commented 4 years ago

@timrozum thanks yes it is fixed