GetStreamDescription() public méthode

public GetStreamDescription ( string url ) : string
url string
Résultat string
Exemple #1
0
        public void Start(string commandData)
        {
            try
            {
                m_rtspAppStruct = new RTSPAppStruct(commandData, false);

                RTSPClient rtspClient = new RTSPClient();
                string sdp = rtspClient.GetStreamDescription(m_rtspAppStruct.URL);

                SIPResponse sipResponse = GetOkResponse(m_clientTransaction.TransactionRequest, sdp);

                m_clientTransaction.SendFinalResponse(sipResponse);

                //rtspClient.Start(m_rtspAppStruct.URL, m_clientTransaction.RemoteEndPoint.Address, m_rtpPort);
            }
            catch (Exception excp)
            {
                logger.Error("Exception RTSPCall StartCall. " + excp.Message);
            }
        }