[telepathy-spec/master] Add more StreamError errors

Olivier Crête olivier.crete at collabora.co.uk
Wed Jul 29 08:58:21 PDT 2009


---
 spec/Media_Stream_Handler.xml |   51 +++++++++++++++++++++++++++++++++++++++-
 1 files changed, 49 insertions(+), 2 deletions(-)

diff --git a/spec/Media_Stream_Handler.xml b/spec/Media_Stream_Handler.xml
index d335e38..f252d87 100644
--- a/spec/Media_Stream_Handler.xml
+++ b/spec/Media_Stream_Handler.xml
@@ -265,12 +265,59 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
     <tp:enum name="Media_Stream_Error" type="u">
       <tp:enumvalue suffix="Unknown" value="0">
         <tp:docstring>
-        An unknown error occured.
+          An unknown error occured.
         </tp:docstring>
       </tp:enumvalue>
       <tp:enumvalue suffix="EOS" value="1">
         <tp:docstring>
-        The end of the stream was reached.
+          The end of the stream was reached.
+        </tp:docstring>
+	<tp:deprecated version="0.17.UNRELEASED">
+          This error has no use anywhere. In Farsight 1 times, it was used to
+          indicate a GStreamer EOS (when the end of a file is reached). But
+          since this is for live calls, it makes no sense.
+        </tp:deprecated>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Codec_Negotiation_Failed" value="2">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          There are no common codecs between the local side
+          and the other particpants in the call. The possible codecs are not
+          signalled here: the streaming implementation is assumed to report
+          them in an implementation-dependent way, e.g. Farsight should use
+          GstMissingElement.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Connection_Failed" value="3">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          A network connection for the Media could not be established or was
+          lost.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Network_Error" value="4">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          There was an error in the networking stack
+          (other than the connection failure).
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="No_Codecs" value="5">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          There are no installed codecs for this media type.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Invalid_CM_Behavior" value="6">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          The CM is doing something wrong.
+        </tp:docstring>
+      </tp:enumvalue>
+      <tp:enumvalue suffix="Media_Error" value="7">
+        <tp:added version="0.17.UNRELEASED"/>
+        <tp:docstring>
+          There was an error in the media processing stack.
         </tp:docstring>
       </tp:enumvalue>
     </tp:enum>
-- 
1.5.6.5




More information about the telepathy-commits mailing list