multiple WOWZPlayerView issue!

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);

.....

I don’t have any documentation on this unfortunately, so you’ll have to submit a support ticket under Engine and see if it is a config issue or SDK issue. You can also ask in our dev Slack channel where we have quite a few developers willing to help. Here is where you can join:

https://www.wowza.com/slack

Hi, I already sent a support ticket to wowza team. they answer I post this problem on this blog.

I’v just required to join into the Slack channel. I need to wait for 24 hours.

I hope this issue can be resolved in that channel.

It turns out you are placing one view over the other @Wang jigun:

android:layout_width=“fill_parent”

android:layout_height=“fill_parent”

I just checked and modified my layout xml.

But it is not the reason of my problem.

it seems the problem of GoCoderSDK.

@Rose, Can you ask this issue to SDK developers?

Hello! I asked for you and they tested with 2 streams with two playerViews on one instance and had no issues. It must be a config problem, it’s not the SDK. The best I can advise is to sign up for a support plan where you can get some assistance. You’ll need to reach out to sales and they’ll explain your support level options. We also have Professional Services where you can work with our engineers to help you build a live-streaming solution.

sales@wowza.com is the email address.

Support plans:

https://www.wowza.com/support/plans-and-services