P
P
Pavel K2016-12-07 04:01:19
Qt
Pavel K, 2016-12-07 04:01:19

Qt, QML How to output multiple VideoOutput?

Greetings!
There is a need to output several VideoOuput together in QML,
the output code is something like this:

GridLayout {
        anchors.fill: parent
        columns: 3

        Rectangle {
            color: "red"
            Layout.fillHeight: true
            Layout.fillWidth: true
            VideoOutput {
                id: videoOutput
                clip: true
                anchors.fill: parent
                source: client1;
            }
        }
        Rectangle {
            color: "blue"
            Layout.fillHeight: true
            Layout.fillWidth: true
            VideoOutput {
                id: videoOutput2
                clip: true
                anchors.fill: parent
                source: client2;
            }
        }
        Rectangle {
            color: "green"
            Layout.fillHeight: true
            Layout.fillWidth: true

        }


    }

But both of them don't want to work at the same time.
I thought just from one source, not though, but they don’t want the same from several sources.
Question - how to fix?
PS Qt 5.6

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2016-12-07
@PavelK

This looks like a bug . Actual for Qt 5.7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question