mmmw_plat/telephony_multimedia_service_api/inc/tmsstream.h
branchRCL_3
changeset 12 2eb3b066cc7d
parent 0 71ca22bcf22a
child 13 bea5e7625e42
equal deleted inserted replaced
11:3570217d8c21 12:2eb3b066cc7d
   252      *
   252      *
   253      * After sink is removed from the stream successfully, ownership of the
   253      * After sink is removed from the stream successfully, ownership of the
   254      * sink is re-claimed by the client.
   254      * sink is re-claimed by the client.
   255      *
   255      *
   256      * @param  sink
   256      * @param  sink
   257      *      Dink to removed from the stream.
   257      *      Sink to removed from the stream.
   258      *
   258      *
   259      * @return
   259      * @return
   260      *      TMS_RESULT_SUCCESS if sink is removed successfully from the stream.
   260      *      TMS_RESULT_SUCCESS if sink is removed successfully from the stream.
   261      *      TMS_RESULT_NULL_ARGUMENT if sink is a NULL.
   261      *      TMS_RESULT_NULL_ARGUMENT if sink is a NULL.
   262      *      TMS_RESULT_DOES_NOT_EXIST if trying to remove sink that has not
   262      *      TMS_RESULT_DOES_NOT_EXIST if trying to remove sink that has not
   383      *
   383      *
   384      */
   384      */
   385     IMPORT_C gint GetState();
   385     IMPORT_C gint GetState();
   386 
   386 
   387     /**
   387     /**
       
   388      * Get stream ID.
       
   389      *
       
   390      * This function can be called at any time.
       
   391      *
       
   392      * @return
       
   393      *      Unique ID of the stream.
       
   394      *
       
   395      */
       
   396     IMPORT_C gint GetStreamId();
       
   397 
       
   398     /**
   388      * Get stream type.
   399      * Get stream type.
   389      *
   400      *
   390      * This function can be called at any time.
   401      * This function can be called at any time.
   391      *
   402      *
   392      * The possible types are:
   403      * The possible types are:
   393      *  TMS_STREAM_UPLINK
   404      *  TMS_STREAM_UPLINK
   394      *  TMS_STREAM_DOWNLINK
   405      *  TMS_STREAM_DOWNLINK
   395      *
   406      *
   396      * @return
   407      * @return
   397      *      Stream type indicating whether it is an uplink or downlink.
   408      *      Stream type indicating whether it is an uplink or downlink.
   398      *
       
   399      */
       
   400     IMPORT_C gint GetStreamId();
       
   401 
       
   402     /**
       
   403      * Get stream ID.
       
   404      *
       
   405      * This function can be called at any time.
       
   406      *
       
   407      * @return
       
   408      *      Unique ID of the stream.
       
   409      *
   409      *
   410      */
   410      */
   411     IMPORT_C gint GetStreamType();
   411     IMPORT_C gint GetStreamType();
   412 
   412 
   413     /**
   413     /**