diff --git a/assets/html/h264.html b/assets/html/h264.html
index 63303e3c..0995b612 100644
--- a/assets/html/h264.html
+++ b/assets/html/h264.html
@@ -1,86 +1,87 @@
+
-
+
play
+
-
-
-
+
+ // Function to return to Flutter page
+ function returnToFlutter() {
+ notifyFlutter("Returning to Flutter page");
+ }
+
+ // 添加清理方法
+ function cleanupJMuxer() {
+ if (jmuxer) {
+ try {
+ jmuxer.destroy();
+ jmuxer = null;
+ console.log('JMuxer cleaned up successfully');
+ window.Flutter.postMessage('cleanup_complete');
+ } catch (e) {
+ console.error('Error cleaning up JMuxer:', e);
+ window.Flutter.postMessage('cleanup_error');
+ }
+ }
+ }
+
-
+
+