Skip to content

Commit ddc69b8

Browse files
arrufatqiaodev
andauthored
fix: use correct mimetype for image content (#301)
Co-authored-by: qiaodev <[email protected]>
1 parent 7b6bdd2 commit ddc69b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/live/live_streaming.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
}
145145

146146
function createImageContent(msg) {
147-
data = { 'media': { 'data': msg, 'mimeType': 'audio/pcm' } };
147+
data = { 'media': { 'data': msg, 'mimeType': 'image/jpeg' } };
148148
return JSON.stringify(data);
149149
}
150150

@@ -451,4 +451,4 @@ <h3>Audio and video in; Audio out</h3>
451451

452452
</body>
453453

454-
</html>
454+
</html>

0 commit comments

Comments
 (0)