Rtsp Gstreamer server with external opengl textures context problem

I am trying to create an rtsp server with gstreamer that stream opengl textures, where these texture are created and updated outside of gstreamer context and thread. I am currently having issues sharing this texture with the gstreamer opengl context and thread. Does anyone know any resources that might help me get further along?
This current and latest error is, when I try to use a shared context between my external context and gstreamer context i setup.
<glcolorconvert0> input memory OpenGL context is different. we have <glcontextglx1> memory has <glcontextglx0>
If I just try to use the wrapped context of the external one for gstreamer i get the same problem but with that its a wrapped context in glcolorconvert. Any help on how to set up the rtsp gstreamer server that streams an external opengl texture would be appreciated.