MediaHelper
Coding Style wiki
Methods
using OxGFrame.MediaFrame.Editor;
ExportMediaUrlConfig
輸出媒體資源(Audio/Video)的 URL 配置文件至指定路徑,通常用於內置的 StreamingAssets。此設定檔讓客戶端能動態決定音訊與影片的來源位址。
Params
string audioUrlset:音訊資源伺服器路徑 (預設為http://127.0.0.1/audio/)string videoUrlset:影片資源伺服器路徑 (預設為http://127.0.0.1/video/)string outputPath:配置文件輸出目標路徑
提醒 輸出的檔案將包含 說明的註解(#),並以 UTF-8 編碼寫入,確保在不同平台上讀取的兼容性。