MediaHelper
Coding Style wiki
Methods
using OxGFrame.MediaFrame.Editor;
ExportMediaUrlConfig
Exports the URL configuration file for media resources (Audio/Video) to the specified path, typically used for built-in StreamingAssets. This configuration file allows the client to dynamically determine the source addresses for audio and video.
Params
string audioUrlset: Audio resource server path (Default:http://127.0.0.1/audio/)string videoUrlset: Video resource server path (Default:http://127.0.0.1/video/)string outputPath: Configuration file output target path
Reminder The output file will contain explanatory comments (#) and be written in UTF-8 encoding to ensure compatibility across different platforms.