主权项 |
1. A method for providing a real-time interactive broadcast session for a plurality of client devices by a computing device comprising a central controller, comprising:
(a) configuring, by the central controller, one or more ports for a first upstream video and a first upstream audio for a first device of the plurality of client devices as a first broadcaster device in the real-time interactive broadcast session; (b) determining, by the central controller, that a second device of the plurality of client devices is to be configured as a second broadcaster device in the real-time interactive broadcast session; (c) configuring, by the central controller, one or more ports for a second upstream video and a second upstream audio for the second device; (d) configuring, by the central controller, one or more ports for a downstream video and a downstream audio for one or more client devices of the plurality of client devices in the real-time interactive broadcast session; (e) receiving, by the central controller, a first video stream and a first audio stream from the first device using the one or more ports for the first upstream video and the first upstream audio, and receiving a second video stream and a second audio stream from the second device using the one or more ports for the second upstream video and audio; and (f) sending, by the central controller, the second video stream and the second audio stream of the second device, and the first video stream and the first audio stream of the first device, to the one or more client devices using the one or more ports for the downstream video and audio for the one or more client devices. |