大佬教程收集整理的这篇文章主要介绍了QuickBlox WebRtc VideoChat Android,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
它工作正常,但是当我保持像skype这样的视图时: – 对手视图在全屏幕上,我的视图位于对手视图的右上角,它只渲染一个最终渲染的视图.
我在quickblox网站上看了quickblox webrtc示例.我看到了该示例中的代码,但它包含了一些会议对话,其中包含一些复杂的循环视图编码,对我来说,单个一对一的谈话是必需的,任何人都可以告诉我将一个webrtc视图保持在另一个上面的最佳方式,以完美的方式工作任何人都可以告诉我如何将一个webrtc放在另一个上面.
<RelativeLayout xmlns:android="http://scheR_239_11845@as.android.com/apk/res/android" xmlns:tools="http://scheR_239_11845@as.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity"> <RelativeLayout android:id="@+id/rl_video_container" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/iv_hang_up_icon" android:layout_width="@dimen/app_video_screen_icon_width_height" android:layout_height="@dimen/app_video_screen_icon_width_height" android:layout_alignParentright="true" android:layout_alignParentTop="true" android:layout_marginRight="@dimen/activity_horizontal_margin" android:layout_marginTop="@dimen/activity_horizontal_margin" android:BACkground="@mipmap/hung_up" /> <android.support.v4.view.ViewPager android:id="@+id/pager" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone" android:layout_gravity="top"> <android.support.v4.view.PagertitleStrip android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="top" android:BACkground="@color/app_text_icon_color" /> </android.support.v4.view.ViewPager> <RelativeLayout android:id="@+id/preview" android:layout_width="100dp" android:layout_height="100dp" android:layout_alignParentBottom="true" android:layout_alignParentright="true" android:layout_margin="@dimen/app_common_five_dp_padding" /> </RelativeLayout> <RelativeLayout android:id="@+id/rl_patient_info_container" android:layout_width="match_parent" android:layout_height="match_parent" android:BACkground="@android:color/transparent" android:gravity="bottom"> <LinearLayout android:id="@+id/ll_patient_details_container" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/app_common_five_dp_padding" android:orientation="vertical"> <com.adoctortalk.android.utilities.CustomTxtViewBold android:id="@+id/tv_patient_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/app_common_five_dp_padding" android:layout_marginLeft="@dimen/app_common_ten_dp_padding" android:layout_marginTop="@dimen/app_common_five_dp_padding" android:text="New Text" android:textColor="@color/app_text_icon_color" android:textSize="@dimen/application_font_size_very_large" /> <com.adoctortalk.android.utilities.CustomTxtViewBold android:id="@+id/tv_patient_sub_info" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/app_common_five_dp_padding" android:layout_marginLeft="@dimen/app_common_ten_dp_padding" android:layout_marginTop="@dimen/app_common_five_dp_padding" android:text="New Text" android:textColor="@color/app_text_icon_color" android:textSize="@dimen/application_font_size_large" /> <LinearLayout android:id="@+id/ll_patient_action_cotainer" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="@dimen/app_common_five_dp_padding" android:layout_margin="@dimen/app_common_five_dp_padding" android:orientation="horizontal" android:visibility="visible"> <ImageView android:id="@+id/iv_profile_icon" android:layout_width="@dimen/app_video_screen_icon_width_height" android:layout_height="@dimen/app_video_screen_icon_width_height" android:layout_marginRight="@dimen/app_common_five_dp_padding" android:BACkground="@mipmap/profile" /> <ImageView android:id="@+id/iv_meDical_notes_icon" android:layout_width="@dimen/app_video_screen_icon_width_height" android:layout_height="@dimen/app_video_screen_icon_width_height" android:layout_marginLeft="@dimen/app_common_five_dp_padding" android:layout_marginRight="@dimen/app_common_five_dp_padding" android:BACkground="@mipmap/meDical_notes" /> <ImageView android:id="@+id/iv_prescription_icon" android:layout_width="@dimen/app_video_screen_icon_width_height" android:layout_height="@dimen/app_video_screen_icon_width_height" android:layout_marginLeft="@dimen/app_common_five_dp_padding" android:layout_marginRight="@dimen/app_common_five_dp_padding" android:BACkground="@mipmap/prescription" /> <ImageView android:id="@+id/iv_attachment_icon" android:layout_width="@dimen/app_video_screen_icon_width_height" android:layout_height="@dimen/app_video_screen_icon_width_height" android:layout_marginLeft="@dimen/app_common_five_dp_padding" android:layout_marginRight="@dimen/app_common_five_dp_padding" android:BACkground="@mipmap/attachments" /> </LinearLayout> </LinearLayout> <RelativeLayout android:id="@+id/rl_video_fragmnet_container" android:layout_width="match_parent" android:layout_height="match_parent" android:layouT_Below="@+id/ll_patient_details_container" android:visibility="gone"></RelativeLayout> </RelativeLayout> </RelativeLayout>
以上是大佬教程为你收集整理的QuickBlox WebRtc VideoChat Android全部内容,希望文章能够帮你解决QuickBlox WebRtc VideoChat Android所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。