主权项 |
1. A method, comprising:
establishing a first channel of communications between a web browser executing on a user terminal and an application programming interface (API) on a mobile device, wherein:
the user terminal is unable to independently generate signaling messages without using the mobile device;the user terminal and the mobile device are both connected to a particular local area network;the first channel of communications is established via the particular local area network;the web browser executing on the user terminal accesses a web application; andthe web application utilizes the API on the mobile device to generate a signaling message directed to an intended recipient device related to the web application; receiving a request, by the mobile device from the web browser executing on the user terminal and via the established first channel of communications, to generate the signaling message directed to the intended recipient device related to the web application via the API on the mobile device; generating, by the mobile device and in response to the received request, the requested signaling message related to the web application via the API on the mobile device; and transmitting, by the mobile device, the generated signaling message directed to the intended recipient device, wherein:
the generated signaling message relates to control of media content related to the web application; andreceipt, by the intended recipient device, of the generated signaling message causes a second channel of communications to be established between the intended recipient device and the user terminal, wherein, when the second channel of communications is established, the media content related to the web application is communicated at least to or from the web browser executing on the user terminal without passing via the established first channel of communications between the web browser executing on the user terminal and the mobile device. |