Extracting ID3 tags from MP3 over HTTP Live Streaming

后端 未结 3 1993
长情又很酷
长情又很酷 2020-12-29 10:47

I\'ve been having quite a difficult time extracting ID3 information from an MP3 being streamed over Live HTTP Streaming (using the Wowza media server, if anyone is curious).

相关标签:
3条回答
  • 2020-12-29 11:11

    You need to register a subclass of NSURLProtocol in Appdelegate didFinishLaunchingWithOptions method.

    then you can see the response of the request made by your video player

    0 讨论(0)
  • 2020-12-29 11:13

    Just an idea: using fiddler/othersniffer to sniff the http request content to see if metadata is present ?

    0 讨论(0)
  • 2020-12-29 11:31

    Instead of using commonMetadata you might want to try using timedMetadata on the AVPlayerItem:

    [playerItem addObserver:self forKeyPath:@"timedMetadata" options:NSKeyValueObservingOptionNew context:NULL];
    
    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题