Comments (11)
I got it, but it's not an issue related to this library. Something is wrong with absolute layout
from opentok-xamarin.forms.
ok. Thanks. Its really a great work what you have done.
from opentok-xamarin.forms.
@mthirukavi did you manage to get around it? I know it is not an issue with this lib but I am having the same issue..
from opentok-xamarin.forms.
How did you change it? And what is your issue? provide xaml / video.
I cannot reproduce it on my sample
from opentok-xamarin.forms.
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:tok="clr-namespace:Xamarin.Forms.OpenTok;assembly=Xamarin.Forms.OpenTok"
xmlns:tokService="clr-namespace:Xamarin.Forms.OpenTok.Service;assembly=Xamarin.Forms.OpenTok" x:Class="247.Views.VideoCall"
xmlns:ios = "clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core" >
<ContentPage.Content>
<AbsoluteLayout BackgroundColor="#ffffff">
<StackLayout AbsoluteLayout.LayoutBounds="0,0.1,1,1"
AbsoluteLayout.LayoutFlags="All"
BindableLayout.ItemsSource="{Binding Path=StreamIdCollection, Source={x:Static tokService:CrossOpenTok.Current}}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<StackLayout>
<tok:OpenTokSubscriberView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
StreamId="{Binding .}"/>
</StackLayout>
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout>
<tok:OpenTokPublisherView AbsoluteLayout.LayoutBounds="0,0.9,0.2,0.2" BackgroundColor="Aquamarine" AbsoluteLayout.LayoutFlags="All" x:Name="publisherVideo" />
<Image Source="end.png" AbsoluteLayout.LayoutBounds="1,1,1,0.4" HeightRequest="150" AbsoluteLayout.LayoutFlags="All" HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" >
<Image.GestureRecognizers>
<TapGestureRecognizer Tapped="OnEndCall" NumberOfTapsRequired="1">
</TapGestureRecognizer>
</Image.GestureRecognizers>
</Image>
</AbsoluteLayout>
</ContentPage.Content>
</ContentPage>
from opentok-xamarin.forms.
why did you add it twice?
<StackLayout AbsoluteLayout.LayoutBounds="0,0.1,1,1"
AbsoluteLayout.LayoutFlags="All"
BindableLayout.ItemsSource="{Binding Path=StreamIdCollection, Source={x:Static tokService:CrossOpenTok.Current}}">
<BindableLayout.ItemTemplate>
<DataTemplate>
<StackLayout>
<tok:OpenTokSubscriberView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
StreamId="{Binding .}"/>
</StackLayout>
</DataTemplate>
</BindableLayout.ItemTemplate>
</StackLayout>
from opentok-xamarin.forms.
Anyway, it's not an issue of this library (if it works on my sample). Fix your layout.
from opentok-xamarin.forms.
why did you add it twice?
<StackLayout AbsoluteLayout.LayoutBounds="0,0.1,1,1" AbsoluteLayout.LayoutFlags="All" BindableLayout.ItemsSource="{Binding Path=StreamIdCollection, Source={x:Static tokService:CrossOpenTok.Current}}"> <BindableLayout.ItemTemplate> <DataTemplate> <StackLayout> <tok:OpenTokSubscriberView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" StreamId="{Binding .}"/> </StackLayout> </DataTemplate> </BindableLayout.ItemTemplate> </StackLayout>
It was there one time only in my code, i pasted twice here.
The publisherview in overlayed by subscriberview. I mean the publisherview is under subscriberview. so i cant view the publisher profile.
from opentok-xamarin.forms.
@rgustavsson Nope... But it's working fine in iOS devices, the problem is only with Android devices. Working on it. Once got it, will update here.
from opentok-xamarin.forms.
Hi guys.... I have the same problem: Publisher view hides when subscriber video is loaded.
from opentok-xamarin.forms.
v 1.2.1 !!!
from opentok-xamarin.forms.
Related Issues (20)
- Remove_popup HOT 3
- Opentok Pre-Call test HOT 2
- Subscriber video paused- show message to publisher. HOT 1
- Remove binding to StreamIdCollection() from one Page and bind it again on another Page automatically on Android HOT 4
- Is there any way to get Audio Levels Information in Xamarin Forms ? HOT 2
- publishing to multiple sessions HOT 2
- Add event for new stream subscriptions HOT 4
- OpenTokSubscriberView not working HOT 6
- [Xamarin.iOS] Exception with CrossOpenTok.Current.EndSession() HOT 3
- Screen sharing - not being picked up HOT 5
- About Permissions HOT 19
- Screen share - is this possible in this package HOT 2
- I can't end session in android even if I call "CrossOpenTok.Current.EndSession()". The stream is still running. HOT 7
- Is it possible to use with UWP? HOT 1
- Can I force video call to use "Media volume button control" instead of "Call volume button" in Android? HOT 6
- Xamarin.Vonage.Android is not compiling for Andriod-10 and above HOT 2
- Attempt to read from field 'android.os.MessageQueue android.os.Looper.mQueue' on a null object reference HOT 1
- Session Ended Event HOT 1
- Error in Camera HOT 7
- Switch to Vonage nuget packages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentok-xamarin.forms.