播放AdsMediaSource后未调用Player.STATE_ENDED

时间:2018-10-16 16:51:09

标签: android exoplayer

我想每隔Traceback (most recent call last): File "C:/PycharmProjects/eskunemkeylogger/eskunemlogger.pyw", line 33, in <module> server = smtplib.SMTP('smtp.gmail.com', 587) File "C:\AppData\Local\Programs\Python\Python36-32\lib\smtplib.py", line 261, in __init__ fqdn = socket.getfqdn() File "C:\AppData\Local\Programs\Python\Python36-32\lib\socket.py", line 673, in getfqdn hostname, aliases, ipaddrs = gethostbyaddr(name) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 1: invalid continuation byte 后再玩一次AdsMediaSource。但是exoplayer不支持AdsMediaSource和ConcatenatingMediaSource。所以我想手动做。因此,我使用HlsMediaSource来捕捉Player.EventListener,以便在媒体源播放完毕后可以播放下一个媒体源。但是,正在为STATE_ENDED调用STATE_BUFFERING而不是Player.STATE_ENDED。对于AdsMediaSource,它工作正常。我已将重复模式设置为HlsMediaSource

0 个答案:

没有答案