Hi
I’m using WOWZPlayerView of GoCoderSDK on Android.
I just placed two WOWZPlayerView on one activity and play each different stream.
But the stream’s are mixed on both views.
Can anyone resolve it? Is this the problem of GoCoderSDK?
Here is my layout xml.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"xmlns:wowza="http://schemas.android.com/apk/res-auto"xmlns:sampleui="http://schemas.android.com/apk/res-auto"android:layout_width="fill_parent"android:layout_height="fill_parent"android:background="#ff000000"tools:context=".PlayerActivity">
<com.wowza.gocoder.sdk.api.player.WOWZPlayerView
android:layout_width="fill_parent"
android:layout_height="900px"
android:id="@+id/vwStreamPlayer"
android:layout_alignParentStart="false"
/>
<com.wowza.gocoder.sdk.api.player.WOWZPlayerView
android:layout_below="@+id/vwStreamPlayer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/vwStreamPlayer1"
android:layout_alignParentStart="false"
android:layout_centerInParent="true" />
</RelativeLayout>
....//play 1 stream
mStreamPlayerView.play(mStreamPlayerConfig, this);
//play 2 stream
WOWZPlayerConfig mStreamPlayerConfig1 = new WOWZPlayerConfig(mStreamPlayerConfig);
//change only stream name
mStreamPlayerConfig1.setStreamName("ddddd");
mStreamPlayerView1.play(mStreamPlayerConfig, null);
.....