Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

How to stream video call through man-in-the-middle proxy?

%3CLINGO-SUB%20id%3D%22lingo-sub-2101961%22%20slang%3D%22en-US%22%3EHow%20to%20stream%20video%20call%20through%20man-in-the-middle%20proxy%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2101961%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20route%20my%20Teams%20video%20chat%20connection%20through%20a%20proxy%2C%20wherein%20instead%20of%20communicating%20directly%20between%20my%20computer%20and%20Teams%2C%20I%20send%20my%20camera%2Fsound%20data%20to%20a%20local%20proxy%2C%20which%20sends%20the%20data%20in%20turn%20to%20a%20cloud-based%20server%2C%20which%20then%20in%20turn%20I%20would%20like%20to%20forward%20the%20data%20received%20to%20Teams%20as%20though%20my%20original%20computer%20was%20the%20client.%20See%20the%20diagram%20below%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22teams_graph.png%22%20style%3D%22width%3A%20800px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F249807iEA4398C35AC30636%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22teams_graph.png%22%20alt%3D%22teams_graph.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20you%20can%20see%20in%20the%20image%2C%20I%20would%20like%20to%20somehow%20intercept%2Fextract%20the%20frames%20of%20the%20video%20in%20order%20to%20perform%20custom%20processing%20on%20them%2C%20and%20I%20would%20like%20them%20to%20be%20sent%20as%20such%20between%20the%20local%20network%20and%20the%20Azure%20server.%20However%2C%20I%20then%20need%20to%20trick%20MS%20Teams%20into%20thinking%20that%20the%20Azure%20server%20sending%20the%20data%20is%20actually%20on%20my%20local%20network%20in%20order%20to%20direct%20the%20response%20back%20appropriately.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20achieve%20this%3F%20Are%20there%20any%20existing%20implementations%2Fdocumentation%20for%20extracting%2Fprocessing%20frames%20of%20a%20video%20call%20before%20sending%20them%20on%20to%20Teams%20as%20though%20nothing%20ever%20happened%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2101961%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECalling%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Frequent Visitor

Hi,

 

I would like to route my Teams video chat connection through a proxy, wherein instead of communicating directly between my computer and Teams, I send my camera/sound data to a local proxy, which sends the data in turn to a cloud-based server, which then in turn I would like to forward the data received to Teams as though my original computer was the client. See the diagram below:

 

teams_graph.png

 

As you can see in the image, I would like to somehow intercept/extract the frames of the video in order to perform custom processing on them, and I would like them to be sent as such between the local network and the Azure server. However, I then need to trick MS Teams into thinking that the Azure server sending the data is actually on my local network in order to direct the response back appropriately.

 

Is there any way to achieve this? Are there any existing implementations/documentation for extracting/processing frames of a video call before sending them on to Teams as though nothing ever happened?

0 Replies