Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25891] Windows: Use of deprecated methods in Ti.Media

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2018-08-22T00:24:37.000+0000
Affected Version/sRelease 7.1.0
Fix Version/sRelease 7.5.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2018-03-21T05:57:30.000+0000
Updated2018-08-22T00:24:49.000+0000

Description

Ti.Media uses some deprecated methods that causes compile time warning C4973.
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::CurrentState::get': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	107	
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::CurrentStateChanged::add': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	105	
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::Position::set': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	155	
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::Position::get': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	159	
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::SetUriSource': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	181	
Warning	C4973	'Windows::Media::Playback::IMediaPlayer::Position::set': marked as deprecated	TitaniumWindows_Media	D:\workspace\titanium_mobile_windows\Source\Media\src\Media\AudioPlayer.cpp	233	

Comments

  1. Kota Iguchi 2018-03-27

    https://github.com/appcelerator/titanium_mobile_windows/pull/1215
  2. Kota Iguchi 2018-07-16

    Merged.
  3. Kota Iguchi 2018-08-22

    Reopening this, just to update fixVersion.

JSON Source