locked
How to trigger RTSP commands in a MFT RRS feed

  • Question

  • Dear all,

    Is it possible to send a specific RTSP command in a MFT within a topology? 

    The scenario of my application is as follows: A Client encodes video data and pushes it to a server running WMS. From there, the video data is being streamed to other clients using RTSP. A (bidirectional) communication should be realized between the sender and the recipient...

    Is there any way to manually access the RTSP communication of a media session? Is the session from the source Client to the server even using RTSP?

    Thanks for any response!
    Regards
    Stefan 

    Thursday, September 22, 2011 2:52 PM

Answers

  • Topology elements do not have access to other elements within the pipeline.  This was an explicit design decision in media foundation, as all sorts of nasty bugs can result from modifying the state of individual components without the knowledge of any higher layer. 

    RTSP streaming is handled by the MF network source.  The media session only sees that it is dealing with yet another source, and has no idea what kind of communication is going on.  Whether or not RTSP communication happens depends on the configuration of the server.  MF RTSP support only includes windows media and MP3 in RTP payloads.  The network source does not allow external components to send arbitrary commands in the RTSP stream.  It will convert source actions (like Start, or Pause) to the appropriate RTSP commands.

    There is no component in MF for serving RTSP streams.  Only being an RTSP client is supported.

    Nothing prevents you from implementing your own source that does RTSP and supports a private communication channel with your MFT, though this would be a lot more work than just using the MF network source.

    Monday, October 10, 2011 10:55 PM