# US 10,958,722 B2 · WebRTC API redirection with network connectivity steering fallback

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,958,722 B2
- Document ID: US10958722B2
- Status: Granted
- Kind: B2
- Application number: 16/402,882
- Filed: 2019-05-03
- Published: 2019-11-07
- Granted: 2021-03-23
- Earliest claimed: 2018-05-04
- Assignees: Citrix Systems, Inc.
- Applicants: Citrix Systems, Inc.
- Inventors: Vladimir Vysotsky; Todd Giebler; Georgy Momchilov; James Page
- Web page: https://patentgrep.com/patent/US10958722B2

## CPC

- H04L 61/2589: over a relay server, e.g. traversal using relay for network address translation [TURN]
- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F 3/1454: {involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay}
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45545: {Guest-host, i.e. hypervisor is an application program itself, e.g. VirtualBox}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06K 19/06028: {using bar codes}
- G06T 7/90: Determination of colour characteristics
- H04L 43/12: Network monitoring probes
- H04L 61/256: NAT traversal
- H04L 61/2575: using address mapping retrieval, e.g. simple traversal of user datagram protocol through session traversal utilities for NAT [STUN]
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 65/1059: End-user terminal functionalities specially adapted for real-time communication
- H04L 65/1069: Session establishment or de-establishment
- H04L 65/4015: {where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference}
- H04L 65/403: Arrangements for multi-party communication, e.g. for conferences (data switching systems for conference H04L12/18; arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities H04M3/56; television conferencing systems H04N7/15)
- H04L 65/60: Network streaming of media packets
- H04L 65/61: for supporting one-way streaming services, e.g. Internet radio
- H04L 65/65: Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
- H04L 65/765: {intermediate}
- H04L 65/80: Responding to QoS
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/08: specially adapted for terminal emulation, e.g. Telnet
- H04L 67/104: Peer-to-peer [P2P] networks
- H04L 67/1091: {Interfacing with client-server systems or between P2P systems}
- H04L 67/34: {involving the movement of software or configuration parameters (network booting or remote initial program loading [RIPL] G06F9/4416)}
- H04L 67/561: Adding application-functional data or data for application control, e.g. adding metadata
- H04L 67/563: Data redirection of data network streams
- H04L 67/564: Enhancement of application control based on intercepted application data
- H04L 67/59: Providing operational support to end devices by off-loading in the network or by emulation, e.g. when they are unavailable
- H04N 5/272: Means for inserting a foreground image in a background image, i.e. inlay, outlay
- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F 2203/04804: Transparency, e.g. transparent or translucent windows
- G06F 2209/509: Offload
- H04L 61/2514: between local and global IP addresses
- H04L 61/2564: {for a higher-layer protocol, e.g. for session initiation protocol [SIP]}
- H04L 65/1063: Application servers providing network services (systems providing special services to telephonic subscribers H04M3/42)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A computing system includes a virtual desktop server and a client computing device. The virtual desktop server includes a real-time media application to provide real-time communications (RTC) for peer-to-peer networking, and a native RTC engine to execute a portion of the real-time media application when received by the native RTC engine. An API code redirection module redirects intercepted APIs of the real-time media application so that the portion of the real-time media application is redirected away from the native RTC engine to a client RTC engine in the client computing device. The client RTC engine executes the redirected portion of the real-time media application, performs network connectivity probing to determine reachability to a peer computing device, and performs fallback network connectivity probing via the virtual desktop server to determine reachability to the peer computing device.

## Claims

### Claim 1

A computing system comprising:
a virtual desktop server comprising:
an application framework comprising a real-time media application to provide real-time communications (RTC) for peer-to-peer networking, and a native RTC engine to execute a portion of the real-time media application when received by the native RTC engine, and
an application programming interface (API) code redirection module to redirect original APIs of the real-time media application intended for the native RTC engine so that the portion of the real-time media application is to be redirected away from the native RTC engine; and
a client computing device comprising a client RTC API engine communicating with the API code redirection module to:
execute the redirected portion of the real-time media application,
perform network connectivity probing to determine reachability to a peer computing device,
perform fallback network connectivity probing via said virtual desktop server to determine reachability to the peer computing device, and
establish at least one media stream with the peer computing device via said virtual desktop server based on the fallback network connectivity probing if network connectivity is impaired with the network connectivity probing.

### Claim 2 (depends on 1)

The computing system according to claim 1 wherein the client RTC API engine performs the network connectivity probing and the fallback network connectivity probing in parallel.

### Claim 3 (depends on 1)

The computing system according to claim 1 wherein said virtual desktop server comprises a media relay module to relay the fallback network connectivity probing and the at least one media stream.

### Claim 4 (depends on 3)

The computing system according to claim 3 wherein the client RTC API engine exchanges media packets with the media relay module over a virtual channel as either in-band or off-band independent streams over TCP or UDP transports.

### Claim 5 (depends on 3)

The computing system according to claim 3 wherein the media relay module is configured to open network input and output ports to be used as candidates for the fallback network connectivity probing.

### Claim 6 (depends on 1)

The computing system according to claim 1 wherein the portion of the real-time media application being redirected includes information directed to at least one of a session traversal utilities for NAT (STUN) server, a traversal using relay NAT (TURN) server, and a combination of a STUN and TURN server; and wherein the client RTC API engine communicates with the API code redirection module through a virtual channel, and wherein the information directed to STUN and TURN servers to be used in the network connectivity probing and fallback connectivity probing is provided over the virtual channel.

### Claim 7 (depends on 1)

The computing system according to claim 1 wherein the network connectivity probing and the fallback connectivity probing is based on interactive connectivity establishment (ICE).

### Claim 8 (depends on 1)

The computing system according to claim 1 wherein the network connectivity probing and the fallback connectivity probing is based on communications with at least one session traversal utilities for NAT (STUN) server implementing a STUN protocol.

### Claim 9 (depends on 8)

The computing system according to claim 8 wherein the network connectivity probing and the fallback connectivity probing is further based on communications with at least one traversal using relay NAT (TURN) server implementing a TURN protocol.

### Claim 10 (depends on 1)

The computing system according to claim 1 wherein the API code redirection module redirects the intercepted APIs based on redirection code injected into the real-time media application.

### Claim 11 (depends on 1)

The computing system according to claim 1 wherein the redirected APIs correspond to real-time media processing.

### Claim 12 (depends on 1)

The computing system according to claim 1 wherein the peer computing device is configured as another client computing device.

### Claim 13 (depends on 1)

The computing system according to claim 1 wherein the peer computing device is configured as a conference bridge.

### Claim 14 (depends on 1)

The computing system according to claim 1 wherein said client RTC API engine exchanges media packets with said media relay module over a virtual channel.

### Claim 15

A method for providing real-time communications (RTC) for peer-to-peer networking comprising:
receiving, by a virtual desktop server, a portion of a real-time media application to be executed by a native RTC engine of the virtual desktop server;
intercepting and redirecting, by an application programming interface (API) code redirection module of the virtual desktop server, APIs of the real-time media application intended for the native RTC engine so that the portion of the real-time media application is redirected away from the native RTC engine; and
instructing, by the virtual desktop server, a client computing device comprising a client RTC API engine communicating with the API code redirection module to:
execute the redirected portion of the real-time media application,
perform network connectivity probing to determine reachability to a peer computing device,
perform fallback network connectivity probing via the virtual desktop server to determine reachability to the peer computing device, and
establish at least one media stream with the peer computing device via the virtual desktop server based on the fallback network connectivity probing if network connectivity is impaired with the network connectivity probing.

### Claim 16 (depends on 15)

The method according to claim 15 wherein the client RTC API engine performs the network connectivity probing and the fallback network connectivity probing in parallel.

### Claim 17 (depends on 15)

The method according to claim 15 wherein the virtual desktop server comprises a media relay module to relay the fallback network connectivity probing and the at least one media stream.

### Claim 18 (depends on 17)

The method according to claim 17 wherein the media relay module is configured to open network input and output ports to be used as candidates for the fallback network connectivity probing.

### Claim 19 (depends on 15)

The method according to claim 15 wherein the redirected portion of the real-time media application includes information directed to at least one of a session traversal utilities for NAT (STUN) server, a traversal using relay NAT (TURN) server, and a combination of a STUN and TURN server.

### Claim 20

A non-transitory computer readable medium for operating a client computing device within a computing system comprising a virtual desktop server, with the virtual desktop server comprising an application framework comprising a real-time media application to provide real-time communications (RTC) for peer-to-peer networking, and a native RTC engine to execute a portion of the real-time media application when received by the native RTC engine, and an application programming interface (API) code redirection module to redirect intercepted APIs of the real-time media application intended for the native RTC engine so that the portion of the real-time media application is redirected away from the native RTC engine, and with the non-transitory computer readable medium having a plurality of computer executable instructions for causing the client computing device to perform steps comprising:
executing the redirected portion of the real-time media application;
performing network connectivity probing to determine reachability to a peer computing device;
performing fallback network connectivity probing via the virtual desktop server to determine reachability to the peer computing device; and
establishing at least one media stream with the peer computing device via the virtual desktop server based on the fallback network connectivity probing if network connectivity is impaired with the network connectivity probing.

### Claim 21

A method for providing real-time communications (RTC) for peer-to-peer networking comprising:
receiving, by a client computing device in communication with a virtual desktop server, intercepted and redirected application programming interface (API) from the virtual desktop server, the API related to a portion of a real-time media application to be executed by the virtual desktop server, wherein the portion of the real-time media application is redirected to the client computing device;
executing, by the client computing device, the redirected portion of the real-time media application;
performing, by the client computing device, network connectivity probing to determine reachability to a peer computing device;
performing, by the client computing device, fallback network connectivity probing to determine reachability to the peer computing device; and
establishing, by the client computing device, at least one media stream with the peer computing device via the virtual desktop server based on the fallback network connectivity probing if network connectivity is impaired with the network connectivity probing.
