摘要:
Embodiments of the present invention provide a processing method for multiple services and a browser. One method includes: receiving, by a browser, Intent data transmitted by an Intent client, and receiving Intent service identifiers of more than one Intent service processing the Intent data; successively making, by the browser, according to an execution sequence of the Intent services which is determined by the received Intent service identifiers, all the Intent services corresponding to the received Intent service identifiers process the Intent data transmitted by the browser, and transmitting, to a next Intent service, Intent data returned by a current Intent service until a last Intent service ends processing; and returning, by the browser, a processing result of the last Intent service to the Intent client. The embodiments of the present invention can enable a user to continuously use multiple Intent services at one time.
摘要:
Embodiments of the present invention provide a web real-time communication WebRTC call transferring method and apparatus. The WebRTC call transferring method includes: receiving a first identifier used for identifying a to-be-transferred call, where the to-be-transferred call is a WebRTC call having been established between a source terminal and a remote terminal; sending, according to the first identifier, a first request message used for requesting page information corresponding to the to-be-transferred call to a WebRTC server; and establishing, according to identification information of the remote terminal in the page information sent by the WebRTC server, a call connection used for bearing the to-be-transferred call with the remote terminal, so as to implement transferring of the to-be-transferred call from between the source terminal and the remote terminal to between a destination terminal and the remote terminal. By means of the embodiments of the present invention, the WebRTC call between the source terminal and the remote terminal may be transferred to between the source terminal and the remote terminal, thereby implementing transferring of a WebRTC call between terminals.
摘要:
Embodiments of the present invention provide a method and an apparatus for acquiring a network resource. The method includes: extracting language configuration information of a browser, and placing the language configuration information into a language list; sending an HTTP request to a Web server; locating a position of a media element; matching a value of a language attribute of a specified resource element in the media element with the language information in the language list; selecting a media resource address; and finally according to the media resource address, requesting a media resource from the Web server and loading the media resource. In this way, the browser can automatically select a media file of a specified language version according to a language preference of a user, thereby reducing a workload of a website developer. In addition, the user does not need to perform manual selection, thereby enhancing user experience.
摘要:
The present invention provides a method for transferring a media stream and a user equipment, where the method for transferring a media stream includes: acquiring, by a browser of a first device, information about at least one second device that may be configured to present a media stream; temporarily saving each media stream acquired by the browser of the first device from a website page or a web application; marking each temporarily saved media stream; and when it is determined that a media stream selected from the marked media streams is transferred to a selected second device for presentation, parsing the selected media stream, and sending a media stream obtained by parsing to the foregoing selected second device for presentation, where the foregoing selected second device is selected according to the information about the at least one second device.
摘要:
Embodiments of the present invention disclose a method and a system for web real-time communication and a terminal. The method includes: performing, by a first terminal, web real-time communication with a second terminal, where the first terminal and the second terminal separately save property information of a current media channel; when a network connection is restored within a preset time threshold after network disconnection occurs to the first terminal, automatically initiating, according to the property information, a process of restoring or establishing a media channel; and continuing, by the first terminal, web real-time communication with the second terminal through the restored or established media channel. In the embodiments of the present invention, when a network connection is restored after short network disconnection, a disconnected terminal can automatically initiate a process of restoring or establishing a media channel so that web real-time communication is reconnected automatically, which avoids impacting use experience of a user.
摘要:
The present invention provides a method for transferring a media stream and a user equipment, where the method for transferring a media stream includes: acquiring, by a browser of a first device, information about at least one second device that may be configured to present a media stream; temporarily saving each media stream acquired by the browser of the first device from a website page or a web application; marking each temporarily saved media stream; and when it is determined that a media stream selected from the marked media streams is transferred to a selected second device for presentation, parsing the selected media stream, and sending a media stream obtained by parsing to the foregoing selected second device for presentation, where the foregoing selected second device is selected according to the information about the at least one second device.
摘要:
Embodiments of the present invention relate to a method for transmitting a media stream in a video conference. The method includes: receiving a first media stream sent by a conference server, where the first media stream includes video and audio information of all conference participants in the video conference; receiving a select instruction, where the select instruction is specifically selecting, from the video and audio information of all the conference participants, a conference participant corresponding to required video and audio information; sending a transmission request message to the conference server according to the select instruction by using a WebRTC application, where the transmission request message includes identification information of the selected conference participant; and receiving a second media stream that is sent by the conference server according to the identification information, where the second media stream includes the video and audio information of the selected conference participant.
摘要:
Embodiments of the present invention provide a web page processing method, including: receiving an operation instruction on a first page, where the operation instruction may include a page replacing instruction; and controlling a first resource included in the first page to remain in a connected state, where the first resource is specified in advance as a resource to be retained. Correspondingly, the embodiments of the present invention further provide a communications device. The embodiments of the present invention can improve robustness of page browsing.
摘要:
The present invention discloses a method and an apparatus for sharing media content, where the method includes: extracting, by a first client, source address information of a first page and property information of media content displayed on the first page; and publishing, by the first client on a second page, the source address information of the first page and the property information of the media content, so that a second client can determine, on the second page based on the property information of the media content, the media content on the first page corresponding to the source address information of the first page, and display the media content. Meanwhile, the present invention further discloses a method and an apparatus for displaying media content.
摘要:
An embodiment of the present invention discloses a web application security access method, including: periodically detecting, by an application store server, whether locally stored backup source code is consistent with source code that is corresponding to a web application and that is in a web server, and if the locally stored backup source code is inconsistent with the source code that is corresponding to the web application and that is in the web server, adding an exception identifier to a version parameter stored on the application store server; receiving, by the application store server, an access request that is for accessing the web application and that is sent by a user by using a client, where the access request includes a user version parameter of source code corresponding to the web application installed on the client; and if detecting that the exception identifier exists in the version parameter that is stored on the application store server and associated with the user version parameter, returning, by the application store server to the client, prompt information used to indicate to the user that there is a security risk in the access request. Embodiments of the present invention further disclose a server and a client. By using the present invention, security of accessing a web application can be improved.