Skip to content

IC.Video.Record client js

Minusclock edited this page Jun 9, 2015 · 3 revisions

Record

start(i_vid, i_callBack) -- 開始錄影

stop(i_vid, i_callback) -- 結束錄影

listRecord() -- 取得錄影檔案列表

getRecordById(i_vid) -- 取得特定錄影檔案資料

---------------------------------------------------------------

###start(i_vid, i_callback);

功能說明:開始錄影

變數說明:

  • 傳入(input)

變數名稱: i_vid

變數類型: string

變數說明: 影片ID

  • 傳出(output)

變數名稱: callback( type, res )

變數類型:

變數說明: type : (封包名稱),res : (串流資料)

  • 回傳(return)

  • 範例:

IC.Video.Record.start( document.getElementById('vid').value, procees_REST );

---------------------------------------------------------------

###stop(i_vid, i_callback);

功能說明:結束錄影

變數說明:

  • 傳入(input)

變數名稱: i_vid

變數類型: string

變數說明: 影片ID

  • 傳出(output)

變數名稱: callback( type, res )

變數類型:

變數說明: type : (封包名稱),res : (串流資料)

  • 回傳(return)

  • 範例:

IC.Video.Record.stop( document.getElementById('vid').value, procees_REST );

---------------------------------------------------------------

###listRecord();

功能說明:取得錄影檔案列表

變數說明:

  • 傳入(input)

  • 傳出(output)

變數名稱: callback( type, res )

變數類型:

變數說明: type : (封包名稱),res : (串流資料)

  • 回傳(return)

  • 範例:

IC.Video.Record.listRecord( procees_REST );

---------------------------------------------------------------

###getRecordById(i_vid);

功能說明:取得特定錄影檔案資料

變數說明:

  • 傳入(input)

變數名稱: i_vid

變數類型: string

變數說明: 影像ID

  • 傳出(output)

變數名稱: callback( type, res )

變數類型:

變數說明: type : (封包名稱),res : (串流資料)

  • 回傳(return)

  • 範例:

IC.Video.Record.getRecordById( document.getElementById('vid').value, procees_REST );

---------------------------------------------------------------

Coding Convention

IC 功能列表

內容包函 IC 提供的 API 清單

IC.XXX API列表

內容:所有屬於該項API清單

內容:API 說明

###IC 功能列表

Clone this wiki locally