Electra Media Player - HLS Streaming - Could Not Find Stream MIME Type

Hello all!

So I am trying to get a livestream into my project using Electra Media Player and I am getting this error:

LogElectraPlayer: Error: [000001B5FE404800][000001B612F9A650] ReportError: “error=0 in Player: code 2, “Could not determine stream MIME type””

I have a MediaStream pointing to a rudimentary master playlist m3u file:

#EXTM3U
#EXT-X-STREAM-INF:BANDWIDTH=640000,RESOLUTION=256x144,CODECS=“avc1.42c00b,mp4a.40.5”
https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1628747236/ei/hGEUYbrfLun-2_gPzuWRqAY/ip/24.154.123.186/id/21X5lGlDOfg.4/itag/91/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D139/sgovp/gir%3Dyes%3Bitag%3D160/hls_chunk_host/rr1---sn-5ghnugvob-2pus.googlevideo.com/playlist_duration/30/manifest_duration/30/vprv/1/playlist_type/DVR/initcwndbps/14080/mh/N8/mm/44/mn/sn-5ghnugvob-2pus/ms/lva/mv/m/mvi/1/pl/19/dover/11/keepalive/yes/fexp/24001373,24007246/mt/1628725465/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,vprv,playlist_type/sig/AOq0QJ8wRQIhAMfLKJwVsRYLwB4BbIL4AzwNmCrdNdOS5QPC_lSo5B1pAiBm5dOr0CIinp8vmwiMkfTv6hNyiudTDmRLFeyui4ORig%3D%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIhAOBerOKw8gfIuuKsaDS69SbSWYevC061C93meLHN1mcWAiBCRxWLoKer96NDt7e4cspTanPPA5zAxYmRMS79pBdHHQ%3D%3D/playlist/index.m3u8

Could someone please tell me what I’m doing wrong. I feel stupid since I think it’s just under my nose , I just can’t figure out what it is.

Update: so it might not be an issue with the MIME type as it is that the Electra player is not finding a stream URL to play (in the Electra Player Statistics the URL line is blank).
Still need help: why is the electra player not picking up the stream URL?

1 Like

Same issue here. I think electra needs the video format to be mp4… HLS accepts formated mp4.
But I am guessing… didnt make it work either

I am in the same situation. I hope someone will come along and answer this question.

I had the same problem, but in my case I had the above error message because I had taken the wrong steps to convert the file format to MP4.

I tried converting to mp4 again and it solved the problem.
My mistake before was just converting the mov format manually.

So I converted it to MP4 again from the original data with the free Adobe tool and it worked fine.

My environment is UE5, so I also adapted the Electra plugin.

Hope this helps you.

1 Like